[SCM] ardour3/master: configure: set --dist-target parameter

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Tue Sep 24 21:29:53 UTC 2013


The following commit has been merged in the master branch:
commit b0817c15b5b050b80275733d59462e09bfbb613e
Author: Felipe Sateler <fsateler at debian.org>
Date:   Tue Sep 24 18:29:43 2013 -0300

    configure: set --dist-target parameter

diff --git a/debian/rules b/debian/rules
index eb1eceb..523726f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,14 @@ endif
 
 LD_LIBRARY_PATH += :$(DEB_DESTDIR)/usr/lib/ardour3/
 
+DIST_TARGET = none
+ifneq (,$(findstring i386,$(DEB_BUILD_ARCH)))
+	DIST_TARGET = i386
+endif
+ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH)))
+	DIST_TARGET = x86_64
+endif
+
 waf-configure-options = --lv2 \
 	--lxvst \
 	--freedesktop \
@@ -44,6 +52,7 @@ waf-configure-options = --lv2 \
 	--noconfirm \
 	--prefix=/usr/ \
 	--no-phone-home \
+	--dist-target=$(DIST_TARGET)
 
 
 DEB_MAKE_EXTRA_ARGS = -v --destdir=$(CURDIR)/debian/tmp

-- 
ardour3 packaging



More information about the pkg-multimedia-commits mailing list