[SCM] gmidimonitor/master: Disable alsa on non-linux architectures.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Jun 9 14:22:42 UTC 2011


The following commit has been merged in the master branch:
commit 4307a615ee1f3fe550fbbf7d17263cd5a3a2c9d9
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Jun 9 16:22:45 2011 +0200

    Disable alsa on non-linux architectures.

diff --git a/debian/rules b/debian/rules
index 2af8622..a445680 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,13 +9,18 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+EXTRA_CONFIGURE_ARGS += --alsa=no
+endif
+
 WAF = ./waf
 
 %:
 	dh $@ 
 
 override_dh_auto_configure:
-	$(WAF) configure --prefix=/usr
+	$(WAF) configure --prefix=/usr \
+		$(EXTRA_CONFIGURE_ARGS)
 
 override_dh_auto_build:
 	$(WAF)

-- 
gmidimonitor packaging



More information about the pkg-multimedia-commits mailing list