[SCM] ardour/master: Tightened Linux-only dependencies

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Tue Jan 12 10:41:41 UTC 2016


The following commit has been merged in the master branch:
commit 7a679bed3758fea8eedbabaa2766af6812295cb5
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Tue Jan 12 11:41:26 2016 +0100

    Tightened Linux-only dependencies
    
    Closes: #810765
    Thanks: Steven Chamberlain <steven at pyro.eu.org>

diff --git a/debian/rules b/debian/rules
index 8cc6acc..6d90983 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,12 @@ ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH)))
 	DIST_TARGET = x86_64
 endif
 
+BACKENDS = jack
+ifneq (,$(findstring linux,$(DEB_HOST_ARCH_OS)))
+	# ALSA Backend is only available on Linux
+	BACKENDS = jack,alsa
+endif
+
 LD_LIBRARY_PATH += :$(DEB_DESTDIR)/usr/lib/ardour4/
 
 waf-configure-options = --lv2 \
@@ -52,7 +58,7 @@ waf-configure-options = --lv2 \
 	--configdir=/etc/ \
 	--noconfirm \
 	--prefix=/usr/ \
-	--with-backends=jack,alsa \
+	--with-backends=$(BACKENDS) \
 	--no-phone-home \
 	--use-external-libs \
 	--dist-target=$(DIST_TARGET) \
@@ -129,12 +135,12 @@ CDBS_BUILD_DEPENDS += , libboost-dev (>= 1.49.0),\
 					  libsigc++-2.0-dev (>= 2.2.10),\
 					  uuid-dev,\
 					  libxml2-dev (>= 2.5.7),\
-					  libcwiid-dev
+					  libcwiid-dev [linux-any]
 CDBS_BUILD_DEPENDS += , libcairomm-1.0-dev (>= 1.10.0),\
 					  libgtkmm-2.4-dev (>= 2.24.2),\
 					  libpangomm-1.4-dev (>= 2.28.4)
 CDBS_BUILD_DEPENDS += , ladspa-sdk (>= 1.1-2),\
-					  libasound2-dev (>= 0.9.4),\
+					  libasound2-dev (>= 0.9.4) [linux-any],\
 					  libaubio-dev (>= 0.3.2),\
 					  libjack-dev,\
 					  liblo-dev (>= 0.26~),\

-- 
ardour Debian packaging



More information about the pkg-multimedia-commits mailing list