summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Niemenmaa2017-05-03 14:50:44 +0300
committerMatti Niemenmaa2017-05-03 14:50:44 +0300
commit83ee823e1ebd0c6b365be1369673f9a4679596c7 (patch)
treed081947f3399e7cf8115d8bd0df948d6d1f6dac3
parent8fb9d6a4b5953dcebac314cafb73055a828a7c51 (diff)
downloadaur-83ee823e1ebd0c6b365be1369673f9a4679596c7.tar.gz
Link to zlib, it's required
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 005475c797b5..7b1e78471a14 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = game_music_emu-kode54-git
pkgdesc = Multi-purpose console music emulator and player library (a.k.a. libgme) (kode54's fork)
pkgver = r191.b757c4a
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.kode54.net/kode54/Game_Music_Emu
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2a8196c1737b..062c4ae84c3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=game_music_emu-kode54-git
pkgver=r191.b757c4a
-pkgrel=1
+pkgrel=2
pkgdesc="Multi-purpose console music emulator and player library (a.k.a. libgme) (kode54's fork)"
arch=(i686 x86_64)
url='https://gitlab.kode54.net/kode54/Game_Music_Emu'
@@ -37,12 +37,12 @@ prepare() {
# Don't request a static lib, it prevents a dynamic one from being built.
sed -i '/^CONFIG /s/staticlib //' Game_Music_Emu.pro
- # Install the header file too.
+ # Install the header file too, and fix linking.
cat >> Game_Music_Emu.pro <<EOF
headers.path = /usr/include/gme
headers.files += ../../gme/gme.h
INSTALLS += headers
-QMAKE_LFLAGS += -Wl,--allow-multiple-definition
+QMAKE_LFLAGS += -Wl,--allow-multiple-definition -lz
EOF
}