[SCM] stk packaging branch, master, updated. debian/4.4.2-1-5-gf532412

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Sun Feb 7 14:18:15 UTC 2010


The following commit has been merged in the master branch:
commit efb4ffbb20c8fdb68a83f750025e3324f33bc64e
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Sun Feb 7 15:04:53 2010 +0100

    Disable realtime support on hurd,kfreebsd archs; providing ALSA and OSS support is now unnecessary.

diff --git a/debian/control b/debian/control
index ab2e846..b023730 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Alessio Treglia <quadrispro at ubuntu.com>
 Build-Depends: debhelper (>= 7.0.50~),
- libasound2-dev,
- libjack-dev,
+ libasound2-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],
+ libjack-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],
  libreadline-dev,
  autotools-dev,
  autoconf,
diff --git a/debian/rules b/debian/rules
index c12d228..e2d7b65 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,23 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
+CONFIGURE_FLAGS =
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+CONFIGURE_FLAGS += --with-jack --with-alsa --with-oss
+else
+CONFIGURE_FLAGS += --disable-realtime
+endif
+
+
 %:
 	dh --with quilt $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
 					--with-rawwaves=/usr/share/stk \
-					--with-jack \
-					--with-alsa \
-					--with-oss
+					$(CONFIGURE_FLAGS)
 
 override_dh_installchangelogs:
 	dh_installchangelogs doc/ReleaseNotes.txt

-- 
stk packaging



More information about the pkg-multimedia-commits mailing list