summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/sdlmame/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/sdlmame/PKGBUILD')
-rw-r--r--abs/extra-testing/sdlmame/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/abs/extra-testing/sdlmame/PKGBUILD b/abs/extra-testing/sdlmame/PKGBUILD
index f59b7f2..2718a57 100644
--- a/abs/extra-testing/sdlmame/PKGBUILD
+++ b/abs/extra-testing/sdlmame/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=sdlmame
pkgver=0.137
_basever=0137
-pkgrel=2
+pkgrel=3
pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
url="http://mamedev.org/"
license=('custom:MAME License')
@@ -21,10 +21,8 @@ source=("http://aarongiles.com/mirror/releases/mame0137s.zip"
# "http://mamedev.org/updates/0136u2_diff.zip"
# "http://mamedev.org/updates/0136u3_diff.zip"
"sdlmame.sh"
- "extras.tar.gz")
-md5sums=('ce9e5359e882d5a8219821e39bd4f27a'
- '3119ccfa1e970eba4467df31208adaf0'
- '420b61240bf5ae11615ba7c6100ee00d')
+ "extras.tar.gz"
+ "mame-0137-wiimote.diff")
build() {
cd $srcdir/
@@ -35,6 +33,7 @@ build() {
# patch -p0 -E <0136u1.diff
# patch -p0 -E <0136u2.diff
# patch -p0 -E <0136u3.diff
+ patch -p1 < ../mame-0137-wiimote.diff || return 1
sed -i 's/-Werror//' makefile || return 1
fi
@@ -84,3 +83,7 @@ build() {
find $pkgdir -type f -exec strip {} \;
}
+md5sums=('ce9e5359e882d5a8219821e39bd4f27a'
+ '3119ccfa1e970eba4467df31208adaf0'
+ '420b61240bf5ae11615ba7c6100ee00d'
+ '07ba30c6054bf864f7c1300bfef03b81')