[SCM] amsynth/master: Disable ALSA on non-Linux.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Feb 24 12:16:41 UTC 2014


The following commit has been merged in the master branch:
commit 47e2195e4ad6a24d75bc970a9b2b48a101e650fc
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Feb 24 12:05:44 2014 +0000

    Disable ALSA on non-Linux.

diff --git a/debian/rules b/debian/rules
index c639b37..9147a22 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,11 +9,15 @@ else
 	CFLAGS += -O2
 endif
 
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+EXTRA_CONFIG_FLAGS=--with-alsa=no
+endif
+
 %:
 	dh $@ --parallel --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --with-pic
+	dh_auto_configure -- --with-pic $(EXTRA_CONFIG_FLAGS)
 
 override_dh_autoreconf:
 	dh_autoreconf --as-needed

-- 
amsynth packaging



More information about the pkg-multimedia-commits mailing list