summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-10-01 12:13:57 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-10-01 18:23:01 +0300
commit63bf3cd2c08d56c25f40a0dcb68c1651bc192f06 (patch)
tree65660f8425f9d959e6ab84fcb9f6fac3c78a99b2
parent24a2c0a30ca830b98b4b6cfc877a3aae2859713e (diff)
downloadgst-plugins-base1.0-63bf3cd2c08d56c25f40a0dcb68c1651bc192f06.tar.gz
Excplicitly disable ALSA
-rwxr-xr-xdebian/rules24
1 files changed, 13 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules
index 84425d3..9af9791 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,6 +43,17 @@ DEB_DH_STRIP_ARGS += --dbg-package=$(gst_pkgname)-plugins-base-dbg
DEB_COMPRESS_EXCLUDE = .sgml .devhelp .ps .pdf
+DEB_CONFIGURE_EXTRA_FLAGS += \
+ --disable-failing-tests \
+ --disable-examples \
+ --enable-DEBUG \
+ --enable-debug \
+ --enable-experimental \
+ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
+ --with-package-name=$(GST_PACKAGE_NAME) \
+ --with-package-origin=$(GST_PACKAGE_ORIGIN) \
+ --with-install-plugins-helper="/usr/bin/gstreamer-codec-install"
+
# disable all CPU specific optimizations in commands launched by this Makefile
# using liboil; this is to work around liboil related build failures which
# are not specially interesting to catch on buildds as these might run very
@@ -57,6 +68,8 @@ export OIL_CPU_FLAGS
PLUGINS += plugins-base x
ifeq ($(DEB_HOST_ARCH_OS),linux)
PLUGINS += alsa
+else
+DEB_CONFIGURE_EXTRA_FLAGS += --disable-alsa
endif
VERSIONIZE += \
plugins-base-apps.install \
@@ -131,17 +144,6 @@ debian/control:: debian/control.in debian/build-deps debian/mk.control debian/ru
-e 's/@GST_EXTRA_BUILD_DEPENDS@/$(gst_extra_build_depends)/g' \
>$@
-DEB_CONFIGURE_EXTRA_FLAGS += \
- --disable-failing-tests \
- --disable-examples \
- --enable-DEBUG \
- --enable-debug \
- --enable-experimental \
- --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
- --with-package-name=$(GST_PACKAGE_NAME) \
- --with-package-origin=$(GST_PACKAGE_ORIGIN) \
- --with-install-plugins-helper="/usr/bin/gstreamer-codec-install"
-
# only build the docs if gtk-doc-tools is installed, i.e. binary-indep is called
ifeq ($(shell test "`dpkg -l gtk-doc-tools | grep ^ii`" && echo binary-indep),binary-indep)
DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc