[SCM] vdpau-video/master: Bump debhelper compat to 9. This gives us automatic hardened compiler flags and multiarch.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Tue Mar 20 06:06:46 UTC 2012


The following commit has been merged in the master branch:
commit 7a2e0569b73f159ba0a15396a8f7bfb8ca19a44c
Author: Andres Mejia <amejia004 at gmail.com>
Date:   Tue Mar 20 01:32:40 2012 -0400

    Bump debhelper compat to 9.
    This gives us automatic hardened compiler flags and multiarch.

diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 5fcfee4..c7c4e9d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: x11
 Priority: optional
 Maintainer: Debian multimedia packages maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Andres Mejia <amejia at debian.org>
-Build-Depends: debhelper (>= 7.0.50),
+Build-Depends: debhelper (>= 9),
                dh-autoreconf,
                pkg-config,
                libva-dev (>= 1.0.4),
diff --git a/debian/rules b/debian/rules
index ab4e10e..5488fd5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,9 @@
 #!/usr/bin/make -f
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 %:
-	dh --with autoreconf $@
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	dh_testdir
@@ -10,7 +12,7 @@ override_dh_auto_configure:
 override_dh_auto_install:
 	dh_testdir
 	dh_auto_install
-	rm $(CURDIR)/debian/vdpau-va-driver/usr/lib/dri/*.la
+	rm $(CURDIR)/debian/vdpau-va-driver/usr/lib/$(DEB_HOST_MULTIARCH)/dri/*.la
 
 get-orig-source:
 	$(dir $_)vdpau-video-get-orig-source

-- 
vdpau-video packaging



More information about the pkg-multimedia-commits mailing list