[SCM] mpv/master: Enable dvbin on linux

jcowgill at users.alioth.debian.org jcowgill at users.alioth.debian.org
Fri Sep 15 09:49:45 UTC 2017


The following commit has been merged in the master branch:
commit 99f6c581fed333f6ccb150805d020ed12bc56263
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Thu Sep 14 21:31:35 2017 +0100

    Enable dvbin on linux

diff --git a/debian/rules b/debian/rules
index a70bb95..84daae6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,10 @@ include /usr/share/dpkg/architecture.mk
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all # #741439, #799738
 
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+  ARCH_CONFIGURE = --enable-dvbin
+endif
+
 %:
 	dh $@
 
@@ -22,7 +26,8 @@ override_dh_auto_configure:
 			--enable-sdl2					\
 			--enable-sndio					\
 			--enable-zsh-comp				\
-			--disable-build-date
+			--disable-build-date				\
+			$(ARCH_CONFIGURE)
 
 override_dh_auto_build:
 	python ./waf -v build

-- 
mpv packaging



More information about the pkg-multimedia-commits mailing list