[SCM] snd/master: added explanations...
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Mon Jan 25 19:58:05 UTC 2016
The following commit has been merged in the master branch:
commit 3913dd5cedea7ef766c957e7564c05c346e9406e
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Mon Jan 25 19:51:42 2016 +0100
added explanations...
diff --git a/debian/rules b/debian/rules
index 48ceee3..370fca4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,22 +33,32 @@ DEB_CONFIGURE_EXTRA_FLAGS = \
--with-gmp \
--prefix=/usr
-# per flavor configure options
+## per flavor configure options
+
+# nox, use ALSA on linux and OSS non non-linux
DEB_CONFIGURE_EXTRA_FLAGS_nox = --without-gui
ifneq (,$(findstring linux,$(DEB_HOST_ARCH_OS)))
DEB_CONFIGURE_EXTRA_FLAGS_nox += --with-alsa
else
DEB_CONFIGURE_EXTRA_FLAGS_nox += --with-oss
endif
-DEB_CONFIGURE_EXTRA_FLAGS_gtk-jack = --with-gtk --with-jack
-DEB_CONFIGURE_EXTRA_FLAGS_gtk-pulse = --with-gtk --with-pulseaudio
-DEB_CONFIGURE_EXTRA_FLAGS += $(DEB_CONFIGURE_EXTRA_FLAGS_$(cdbs_make_curflavor))
+# jack
+DEB_CONFIGURE_EXTRA_FLAGS_gtk-jack = --with-gtk
+# the code includes inline-asm for atomic ops, but only for i386/amd64/powerpc
+# see https://bugs.debian.org/#555538
+ifneq (,$(findstring :$(DEB_HOST_ARCH_CPU):,:i386:powerpc:amd64:))
+DEB_CONFIGURE_EXTRA_FLAGS_gtk-jack += --with-jack
+endif
## pulse
-#$(MAKE) AUDIO_LIB="$(shell pkg-config --libs libpulse-simple)"
+DEB_CONFIGURE_EXTRA_FLAGS_gtk-pulse = --with-gtk --with-pulseaudio
+DEB_CONFIGURE_EXTRA_FLAGS += $(DEB_CONFIGURE_EXTRA_FLAGS_$(cdbs_make_curflavor))
+
+# upstream naively (and worngly) assumes
+# that they only need to link against "-lpulse-simple"
DEB_MAKE_EXTRA_ARGS_gtk-pulse=AUDIO_LIB="$(shell pkg-config --libs libpulse-simple)"
DEB_MAKE_EXTRA_ARGS += $(DEB_MAKE_EXTRA_ARGS_$(cdbs_make_curflavor))
-
+## right; everybody their own changelog filename!
DEB_INSTALL_CHANGELOGS_ALL=HISTORY.Snd
--
snd packaging
More information about the pkg-multimedia-commits
mailing list