[SCM] gsequencer/master: Enable ALSA-PCM only on linux

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Tue Oct 18 19:28:13 UTC 2016


The following commit has been merged in the master branch:
commit ec43f98e97eef17ae00d3222fb93be6eecd84fee
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Tue Oct 18 21:28:07 2016 +0200

    Enable ALSA-PCM only on linux

diff --git a/debian/rules b/debian/rules
index e046da5..fc2ae40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,20 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 
+archconfflags :=
+
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+  archconfflags += --enable-alsa
+else
+  archconfflags += --disable-alsa
+endif
+archconfflags += --enable-oss
+
+archconfflags += --enable-gtk-doc --enable-gtk-doc-html
+
+
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-alsa --enable-oss --enable-gtk-doc --enable-gtk-doc-html
+	dh_auto_configure -- $(archconfflags)
 
 override_dh_auto_install:
 	dh_auto_install

-- 
gsequencer packaging



More information about the pkg-multimedia-commits mailing list