[Pkg-mpd-commits] [SCM] Git repository for pkg-mpd branch, master, updated. debian/0.17.4-2-1-g2fc95f5
Florian Schlichting
fsfs at debian.org
Thu May 2 07:28:18 UTC 2013
The following commit has been merged in the master branch:
commit 2fc95f5657dd816941d042e1e9e2aa3864190ec3
Author: Florian Schlichting <fsfs at debian.org>
Date: Thu May 2 08:51:16 2013 +0200
two steps forward, one step back: ffado is available on [amd64 armel armhf i386 powerpc] only
diff --git a/debian/changelog b/debian/changelog
index 36fd762..ac892c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mpd (0.17.4-3) unstable; urgency=low
+
+ * Enable ffado plugin on [amd64 armel armhf i386 powerpc] only
+
+ -- Florian Schlichting <fsfs at debian.org> Thu, 02 May 2013 09:18:37 +0200
+
mpd (0.17.4-2) unstable; urgency=low
* Properly fix build failures on kfreebsd and hurd, dropping
diff --git a/debian/control b/debian/control
index c428a0a..4a304a9 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Build-Depends: debhelper (>= 9),
libiso9660-dev,
libcurl4-gnutls-dev | libcurl-dev,
libfaad-dev,
- libffado-dev,
+ libffado-dev [amd64 armel armhf i386 powerpc],
libflac-dev (>= 1.1.4),
libgme-dev,
libid3tag0-dev,
diff --git a/debian/rules b/debian/rules
index 70a61a5..bc0a8e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,23 @@ ifeq ($(DEB_HOST_ARCH), armeb)
WITH_TREMOR=--with-tremor
endif
+ENABLE_FFADO=
+ifeq ($(DEB_HOST_ARCH), amd64)
+ENABLE_FFADO=--enable-ffado
+endif
+ifeq ($(DEB_HOST_ARCH), armel)
+ENABLE_FFADO=--enable-ffado
+endif
+ifeq ($(DEB_HOST_ARCH), armhf)
+ENABLE_FFADO=--enable-ffado
+endif
+ifeq ($(DEB_HOST_ARCH), i386)
+ENABLE_FFADO=--enable-ffado
+endif
+ifeq ($(DEB_HOST_ARCH), powerpc)
+ENABLE_FFADO=--enable-ffado
+endif
+
# no systemd and no alsa on non-linux arches
ifeq ($(DEB_HOST_ARCH_OS), linux)
WITH_SYSTEMD=--enable-systemd-daemon --with-systemdsystemunitdir=/lib/systemd/system
@@ -27,7 +44,8 @@ LDFLAGS += -Wl,--as-needed
dh $@ --with autoreconf
override_dh_auto_configure:
- ./configure $(WITH_TREMOR) $(WITH_SYSTEMD) --enable-sqlite \
+ ./configure $(WITH_TREMOR) $(WITH_SYSTEMD) $(ENABLE_FFADO) \
+ --enable-sqlite \
--enable-un \
--enable-ao \
--enable-lastfm \
@@ -38,7 +56,6 @@ override_dh_auto_configure:
--enable-iso9660 \
--enable-modplug \
--enable-curl \
- --enable-ffado \
--enable-fluidsynth \
--enable-wildmidi \
--prefix=/usr \
--
Git repository for pkg-mpd
More information about the Pkg-mpd-commits
mailing list