[SCM] faac/master: Explicitely disable building with MP4V2 in debian/rules unless DEB_BUILD_OPTIONS=mp4v2 is given

fabian at users.alioth.debian.org fabian at users.alioth.debian.org
Mon Nov 30 07:14:06 UTC 2015


The following commit has been merged in the master branch:
commit ae34e8082ba259b8f4a9f067e98c334db7d1aa4b
Author: Fabian Greffrath <fabian at debian.org>
Date:   Mon Nov 30 07:57:21 2015 +0100

    Explicitely disable building with MP4V2 in debian/rules unless DEB_BUILD_OPTIONS=mp4v2 is given

diff --git a/debian/rules b/debian/rules
index 81b3287..2b23839 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,11 @@
 #!/usr/bin/make -f
 
+ifeq (,$(filter mp4v2,$(DEB_BUILD_OPTIONS)))
+	EXT_MP4V2="ac_cv_lib_mp4v2_MP4Create=no"
+endif
+
 %:
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --without-mp4v2
+	dh_auto_configure -- --without-mp4v2 ${EXT_MP4V2}

-- 
faac packaging



More information about the pkg-multimedia-commits mailing list