summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-19 17:19:04 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-19 17:19:04 (GMT)
commit889ea4b744b2df176c4c03dfc660cb7511f95124 (patch)
treec482e3a32f94b033bdd672cf9d477b545e97a977
parentde880fb907d4b037ba0ae6ca5e1cd243e6eb6402 (diff)
downloadlinhes_pkgbuild-889ea4b744b2df176c4c03dfc660cb7511f95124.zip
linhes_pkgbuild-889ea4b744b2df176c4c03dfc660cb7511f95124.tar.gz
linhes_pkgbuild-889ea4b744b2df176c4c03dfc660cb7511f95124.tar.bz2
menafen: update to 0.9.36.5
-rw-r--r--abs/extra/mednafen/ChangeLog9
-rw-r--r--abs/extra/mednafen/PKGBUILD40
-rw-r--r--abs/extra/mednafen/mednafen-0.8.13.3-zlib-1.2.6.patch29
3 files changed, 24 insertions, 54 deletions
diff --git a/abs/extra/mednafen/ChangeLog b/abs/extra/mednafen/ChangeLog
deleted file mode 100644
index 54b01d5..0000000
--- a/abs/extra/mednafen/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-2012-02-23 Allan McRae <allan@archlinux.org>
- * Rebuild for libcdio soname bumps
-
-2011-05-17 Angel Velasquez <angvp@archlinux.org>
- * Updated to 0.8.D.3
- * Removed fix_build patch
- * Cleaned PKGBUILD
- * Adding ChangeLog
-
diff --git a/abs/extra/mednafen/PKGBUILD b/abs/extra/mednafen/PKGBUILD
index 802249f..11948c9 100644
--- a/abs/extra/mednafen/PKGBUILD
+++ b/abs/extra/mednafen/PKGBUILD
@@ -1,30 +1,38 @@
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: megadriver <megadriver at gmx dot com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: kagan <juanynie@mi.madritel.es>
+# Contributor: Hans-Kristian Arntzen <maister@archlinux.us>
pkgname=mednafen
-pkgver=0.8.D.3
+pkgver=0.9.36.5
pkgrel=2
-pkgdesc="A command-line multi-system gaming emulator"
-url="http://mednafen.sourceforge.net/"
-license=('GPL')
+pkgdesc="Command-line multi-system gaming emulator"
+url="http://mednafen.sourceforge.net"
+license=('GPL2')
arch=('i686' 'x86_64')
-depends=('libcdio' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib')
-makedepends=('pkgconfig' 'mesa')
-changelog=ChangeLog
-source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2
- mednafen-0.8.13.3-zlib-1.2.6.patch)
-md5sums=('57d22805071becd81858b0c088a275e5'
- '450bb5aa7552db5b8f6d6713bdb725ce')
+depends=('libcdio' 'libsndfile' 'sdl' 'zlib')
+makedepends=('mesa' 'glu')
+source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2)
+md5sums=('a0841f0073322414858c22e247344502')
build() {
- cd $srcdir/$pkgname
- patch -Np1 -i $srcdir/mednafen-0.8.13.3-zlib-1.2.6.patch
+ cd $pkgname
+
./configure --prefix=/usr
+
make
}
package() {
- cd $srcdir/$pkgname
- make DESTDIR=$pkgdir install
+ cd $pkgname
+
+ make DESTDIR="$pkgdir" install
+
+ for i in ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS \
+ README{,.DOS,.PORTING} TODO; do
+ install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i
+ done
}
diff --git a/abs/extra/mednafen/mednafen-0.8.13.3-zlib-1.2.6.patch b/abs/extra/mednafen/mednafen-0.8.13.3-zlib-1.2.6.patch
deleted file mode 100644
index 9437f76..0000000
--- a/abs/extra/mednafen/mednafen-0.8.13.3-zlib-1.2.6.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- mednafen.orig/src/file.cpp
-+++ mednafen/src/file.cpp
-@@ -229,7 +229,7 @@
- goto doret;
- }
-
-- while((howmany = gzread(tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0)
-+ while((howmany = gzread((gzFile)tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0)
- {
- cur_size += howmany;
- cur_alloced <<= 1;
-@@ -282,7 +282,7 @@
- }
- else if(type == MDFN_FILETYPE_GZIP)
- {
-- gzclose(tz);
-+ gzclose((gzFile)tz);
- }
- else if(type == MDFN_FILETYPE_ZIP)
- {
-@@ -444,7 +444,7 @@
-
- if(!(fceufp = MakeMemWrap(t, 1)))
- {
-- gzclose(t);
-+ gzclose((gzFile)t);
- return(0);
- }
-