Hi Sebastian,

Here is updated patch against the new libvpx1 package.

Riku
diff -Nru libvpx-1.0.0/debian/control libvpx-1.0.0/debian/control
--- libvpx-1.0.0/debian/control	2012-02-01 10:50:00.000000000 +0200
+++ libvpx-1.0.0/debian/control	2012-02-20 13:07:16.000000000 +0200
@@ -2,8 +2,7 @@
 Section: video
 Priority: optional
 Maintainer: Sebastian Dröge <sl...@debian.org>
-Build-Depends: debhelper (>= 7),
-               dpkg-dev (>= 1.14.13),
+Build-Depends: debhelper (>= 8.1.3),
                yasm (>= 0.7) [amd64 i386 hurd-i386 kfreebsd-amd64 kfreebsd-i386],
                doxygen,
                php5-cli
@@ -16,6 +15,7 @@
 Depends: libvpx1 (= ${binary:Version}),
          ${shlibs:Depends},
          ${misc:Depends}
+Multi-Arch: same
 Description: VP8 video codec (development files)
  VP8 is an open video codec, originally developed by On2 and released
  as open source by Google Inc. It is the successor of the VP3 codec,
@@ -29,6 +29,8 @@
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends}
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
 Description: VP8 video codec (shared library)
  VP8 is an open video codec, originally developed by On2 and released
  as open source by Google Inc. It is the successor of the VP3 codec,
@@ -69,6 +71,7 @@
 Depends: libvpx1 (= ${binary:Version}),
          ${shlibs:Depends},
          ${misc:Depends}
+Multi-Arch: foreign
 Description: VP8 video codec encoding/decoding tools
  VP8 is an open video codec, originally developed by On2 and released
  as open source by Google Inc. It is the successor of the VP3 codec,
diff -Nru libvpx-1.0.0/debian/libvpx1.install libvpx-1.0.0/debian/libvpx1.install
--- libvpx-1.0.0/debian/libvpx1.install	2012-02-01 10:34:40.000000000 +0200
+++ libvpx-1.0.0/debian/libvpx1.install	1970-01-01 02:00:00.000000000 +0200
@@ -1 +0,0 @@
-builddir/vpx-vp8-*/lib/libvpx.so.* usr/lib
diff -Nru libvpx-1.0.0/debian/libvpx-dev.install libvpx-1.0.0/debian/libvpx-dev.install
--- libvpx-1.0.0/debian/libvpx-dev.install	2012-02-01 10:34:40.000000000 +0200
+++ libvpx-1.0.0/debian/libvpx-dev.install	2012-02-20 13:05:05.000000000 +0200
@@ -1,4 +1,2 @@
-builddir/vpx-vp8-*/lib/libvpx.so usr/lib
-builddir/vpx-vp8-*/lib/libvpx.a usr/lib
 builddir/vpx-vp8-*/include/vpx usr/include
 builddir/vpx-vp8-*/lib/pkgconfig usr/lib
diff -Nru libvpx-1.0.0/debian/rules libvpx-1.0.0/debian/rules
--- libvpx-1.0.0/debian/rules	2012-02-15 23:47:02.000000000 +0200
+++ libvpx-1.0.0/debian/rules	2012-02-20 13:17:07.000000000 +0200
@@ -103,6 +103,10 @@
 	dh_testdir
 	dh_testroot
 	dh_install -s
+	mkdir -p debian/libvpx1/usr/lib/$(DEB_HOST_MULTIARCH)
+	cp -a builddir/vpx-vp8-*/lib/libvpx.so.* debian/libvpx1/usr/lib/$(DEB_HOST_MULTIARCH)
+	mkdir -p debian/libvpx-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+	cp -a builddir/vpx-vp8-*/lib/libvpx.so builddir/vpx-vp8-*/lib/libvpx.a debian/libvpx-dev/usr/lib/$(DEB_HOST_MULTIARCH)
 	dh_installdocs -s -A README AUTHORS
 	dh_installchangelogs -s CHANGELOG
 	dh_link -s

Reply via email to