diff options
author | Melvin Vermeeren | 2016-04-07 17:30:47 +0200 |
---|---|---|
committer | Melvin Vermeeren | 2016-04-07 17:30:47 +0200 |
commit | c05a90eca14df2fb0372acbdef0756e4903a1fd5 (patch) | |
tree | 10a322dfbc589d4274b9f19ef27a04cd42f9381a | |
parent | 6d334f01c085d23e6202df1499b18ca882cc0623 (diff) | |
download | aur-c05a90eca14df2fb0372acbdef0756e4903a1fd5.tar.gz |
Fix compilation for latest git version by patching makefile.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 13 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Feb 8 18:54:53 UTC 2016 +# Thu Apr 7 15:30:25 UTC 2016 pkgbase = mpd-sacd pkgdesc = MPD with patches for SACD and DVDA ISO playback. pkgver = 0.20 - pkgrel = 2 + pkgrel = 3 url = http://git.musicpd.org/cgit/manisiutkin/mpd.git/ install = install arch = i686 @@ -2,7 +2,7 @@ pkgname=mpd-sacd pkgver=0.20 -pkgrel=2 +pkgrel=3 pkgdesc='MPD with patches for SACD and DVDA ISO playback.' url='http://git.musicpd.org/cgit/manisiutkin/mpd.git/' license=('GPL') @@ -23,6 +23,12 @@ sha1sums=('SKIP' backup=('etc/mpd.conf') install=install +prepare() { + # Temporary; see FS#48372 + install -d "${srcdir}"/pkg-config + ln -s /usr/lib/pkgconfig/libsystemd.pc "${srcdir}"/pkg-config/libsystemd-daemon.pc +} + build() { cd "${srcdir}/mpd" ./autogen.sh @@ -38,6 +44,10 @@ build() { --enable-dvdaiso \ --disable-sidplay \ --with-systemdsystemunitdir=/usr/lib/systemd/system + + # Quick fix for missing glib-2.0 include. + sed -i 's/DSD_CFLAGS = \\/DSD_CFLAGS = $(MMS_CFLAGS) \\/' "${srcdir}"/mpd/Makefile + make } |