Package: gst-fluendo-mp3
Version: 0.10.15.debian-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hi guys,

Please find attached a patch to gst-fluendo-mp3 to transition it to use of
the multiarch library paths as described at
<http://wiki.debian.org/Multiarch/Implementation>.  This patch has been
tested and included in Ubuntu Precise.

gstreamer is one of the last major bits needed to have a multiarch-friendly
wine package in Ubuntu; I presume it will be useful to Debian for the same
reason.

The changelog entry for this upload to Ubuntu is:

  * Build for multiarch.
  * Bump dependency on libgstreamer0.10-0, and build-dependency on
    libgstreamer0.10-dev, for proper multiarch support.

Note that the build-time dependency in Debian should probably be on
libgstreamer0.10-dev (>= 0.10.35.2-2), not (>= 0.10.35.2-1ubuntu2).

Thanks for considering the patch.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
=== modified file 'debian/compat'
--- debian/compat	2010-05-23 10:02:35 +0000
+++ debian/compat	2011-12-15 20:54:43 +0000
@@ -1 +1 @@
-7
+9

=== modified file 'debian/control'
--- debian/control	2010-05-23 10:02:35 +0000
+++ debian/control	2011-12-15 21:19:53 +0000
@@ -4,11 +4,11 @@
 Maintainer: Maintainers of GStreamer packages <pkg-gstreamer-maintain...@lists.alioth.debian.org>
 Uploaders: Loic Minier <l...@dooz.org>,
            Sebastian Dröge <sl...@debian.org>
-Build-Depends: debhelper (>= 7),
-               cdbs (>= 0.4.8),
+Build-Depends: debhelper (>= 8.1.3~),
+               cdbs (>= 0.4.93~),
                autotools-dev,
                pkg-config (>= 0.11.0),
-               libgstreamer0.10-dev (>= 0.10.14),
+               libgstreamer0.10-dev (>= 0.10.35.2-1ubuntu1),
                gstreamer-tools (>= 0.10.14),
                liboil0.3-dev (>= 0.3.7)
 Standards-Version: 3.8.4
@@ -16,9 +17,10 @@
 
 Package: gstreamer0.10-fluendo-mp3
 Architecture: any
+Multi-Arch: same
 Section: libs
 Depends: ${misc:Depends},
-         ${shlibs:Depends}
+         ${shlibs:Depends}, libgstreamer0.10-0 (>= 0.10.35.2-1)
 XB-GStreamer-Version: ${gstreamer:Version}
 XB-GStreamer-Elements: ${gstreamer:Elements}
 XB-GStreamer-URI-Sources: ${gstreamer:URISources}

=== modified file 'debian/rules'
--- debian/rules	2011-03-12 09:08:45 +0000
+++ debian/rules	2011-12-15 20:55:13 +0000
@@ -4,11 +4,12 @@
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/cdbs/1/rules/utils.mk
 
-DEB_CONFIGURE_EXTRA_FLAGS := --with-liboil
+DEB_CONFIGURE_EXTRA_FLAGS := --with-liboil \
+	--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
 binary-install/gstreamer0.10-fluendo-mp3::
-	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/gstreamer-0.10/libgstflump3dec.la
-	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/gstreamer-0.10/libgstflump3dec.a
+	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/*/gstreamer-0.10/libgstflump3dec.la
+	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/*/gstreamer-0.10/libgstflump3dec.a
 
 common-binary-fixup-arch::
 	mkdir -p $(CURDIR)/fake-home

Reply via email to