[debian-edu-commits] debian-edu/pkg-team/ 01/01: Change build rule to only enable ALSA support on Linux (Closes: #754718). Patch from Steven Chamberlain with input from Guillem Jover.
Petter Reinholdtsen
pere at moszumanska.debian.org
Thu Oct 2 04:57:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository lmms.
commit f9d118a2df966c2d9d17338b28ef922230a71990
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Thu Oct 2 06:57:47 2014 +0200
Change build rule to only enable ALSA support on Linux (Closes: #754718). Patch from Steven Chamberlain with input from Guillem Jover.
---
debian/changelog | 7 +++++++
debian/rules | 8 +++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b23a7f4..d9a26c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+lmms (1.0.3-2) UNRELEASED; urgency=low
+
+ * Change build rule to only enable ALSA support on Linux (Closes: #754718).
+ Patch from Steven Chamberlain with input from Guillem Jover.
+
+ -- Petter Reinholdtsen <pere at debian.org> Thu, 02 Oct 2014 06:57:19 +0200
+
lmms (1.0.3-1) unstable; urgency=low
* Move package into Debian Edu git repository and add myself as
diff --git a/debian/rules b/debian/rules
index 8545626..9001a74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,15 @@
DH_CMAKE_BUILD_DIR=obj -${DEB_BUILD_GNU_TYPE}
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+CMAKE_OPTS=
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+CMAKE_OPTS+= -DWANT_ALSA=0
+endif
%:
dh $@ --buildsystem cmake
override_dh_auto_configure:
- dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)
+ dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) $(CMAKE_OPTS)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/lmms.git
More information about the debian-edu-commits
mailing list