[SCM] qmidiarp/master: Try to build on non-linux systems.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sun Dec 17 21:28:25 UTC 2017


The following commit has been merged in the master branch:
commit 8655ea984bdc475be302469f29d083fe84a381ac
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Dec 17 22:15:54 2017 +0100

    Try to build on non-linux systems.

diff --git a/debian/control b/debian/control
index 578dd16..93f5ac6 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 10),
  lv2-dev,
  qtbase5-dev,
  qttools5-dev-tools,
- libasound2-dev,
+ libasound2-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],
  libjack-dev,
  libx11-dev,
  liblo-dev,
diff --git a/debian/rules b/debian/rules
index ee5fbcf..3753182 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,16 @@ export QT_SELECT=qt5
 
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+ifneq ($(findstring $(DEB_HOST_ARCH_OS),kfreebsd hurd),)
+EXTRA_CONFIGURE_ARGS += --enable-alsa=no
+endif
+
 %:
 	dh $@ --with=scour
 
 override_dh_auto_configure:
-	dh_auto_configure -- --with-pic
+	dh_auto_configure -- --with-pic \
+		$(EXTRA_CONFIGURE_ARGS)
 
 override_dh_auto_install:
 	dh_auto_install --destdir=$(CURDIR)/debian/tmp

-- 
qmidiarp packaging



More information about the pkg-multimedia-commits mailing list