summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSlashbunny2012-07-09 19:03:46 -0400
committerSlashbunny2012-07-09 19:03:46 -0400
commitb1f965d5451549894b3bca23116d008d5a34b5a6 (patch)
tree2a9a49f894d1e5987f1bf0eb0034c297e54f0b3b /PKGBUILD
parent6daed39254ca934cc2b6aa6f1b501289ad55576f (diff)
downloadaur-b1f965d5451549894b3bca23116d008d5a34b5a6.tar.gz
Additional tweaks to get gmameui to build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5967956a5e6..50bbc27aff5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=gmameui
pkgver=0.2.12
-pkgrel=2
+pkgrel=3
pkgdesc='SDLMAME/XMAME frontend designed to look like MAME32 (fork of GXMAME)'
arch=('i686' 'x86_64')
url='http://gmameui.sourceforge.net/'
@@ -18,6 +18,10 @@ build() {
# archive_read_data_into_buffer() is deprecated in libarchive
/bin/sed -i 's/archive_read_data_into_buffer/archive_read_data/' src/gmameui-zip-utils.c
+ # replace individual glib headers with glib.h
+ /bin/sed -i '34,36d' src/gmameui.c
+ /bin/sed -i '33 a\#include <glib.h>' src/gmameui.c
+
./configure --prefix=/usr --disable-libgnome --enable-joystick --enable-debug
make
}