summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 13 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b74582e2cd9e..1a823bbb441f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 75a4eba524d3..83b9b2e3998d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}