[SCM] bristol packaging branch, master-unstable, updated. debian/0.40.8-1-2-g18f56ef

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Mon Apr 19 05:49:37 UTC 2010


The following commit has been merged in the master-unstable branch:
commit b4e8ef6d8f9b624db88d4a6d38a24afcd7cdd01e
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Mon Apr 19 07:48:22 2010 +0200

    Disable alsa on hurd,kfreebsd architectures.

diff --git a/debian/rules b/debian/rules
index 83061fc..37c1f03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,21 @@
 #!/usr/bin/make -f
 
+EXTRA_CONFIGURE_ARGS=
+
+ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+EXTRA_CONFIGURE_ARGS=--disable-alsa
+endif
+
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+EXTRA_CONFIGURE_ARGS=--disable-alsa
+endif
+
 %:
 	dh --with quilt $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --prefix=/usr --libdir=\$${prefix}/lib/bristol
+	dh_auto_configure -- --prefix=/usr --libdir=\$${prefix}/lib/bristol \
+		$(EXTRA_CONFIGURE_FLAGS)
 
 override_dh_auto_install:
 	dh_auto_install -- DESTDIR=$(CURDIR)/debian/tmp install

-- 
bristol packaging



More information about the pkg-multimedia-commits mailing list