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 /PKGBUILD | |
parent | 6d334f01c085d23e6202df1499b18ca882cc0623 (diff) | |
download | aur-c05a90eca14df2fb0372acbdef0756e4903a1fd5.tar.gz |
Fix compilation for latest git version by patching makefile.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 } |