[SCM] libva/master: Ensure that binary packages depend on the same libva upstream version

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Sun Jul 24 14:22:55 UTC 2016


The following commit has been merged in the master branch:
commit 9f24cc0513b87785e4508f68b7ce8992c8d16253
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Sun Jul 24 16:15:40 2016 +0200

    Ensure that binary packages depend on the same libva upstream version

diff --git a/debian/clean b/debian/clean
index 18dca38..bc8a102 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1,2 @@
 debian/dh/dh_libva.1
+debian/shlibs.local
diff --git a/debian/rules b/debian/rules
index 9a48341..ee76b91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/pkg-info.mk
+
 DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 confflags = --disable-silent-rules --enable-static
@@ -25,5 +27,11 @@ override_dh_auto_build: debian/dh/dh_libva.1
 override_dh_makeshlibs:
 	dh_makeshlibs -Xdummy_drv_video.so
 
+debian/shlibs.local:
+	echo "libva 1 libva1 (>= $(DEB_VERSION_UPSTREAM)), libva1 (<< $(DEB_VERSION_UPSTREAM).1)" > debian/shlibs.local
+
+override_dh_shlibdeps: debian/shlibs.local
+	dh_shlibdeps
+
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS

-- 
libva packaging



More information about the pkg-multimedia-commits mailing list