Hi, attached there is a patch providing only the multiarch changes on top of current opus 1.1~alpha+20130512-1: change the libdir to a multiarch location, and add the control headers for libopus0.
Thanks, -- Pino Toscano
--- a/debian/libopus-dev.install
+++ b/debian/libopus-dev.install
@@ -1,4 +1,4 @@
usr/include/*
-usr/lib/lib*.a
-usr/lib/lib*.so
-usr/lib/pkgconfig/opus.pc
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/opus.pc
--- a/debian/libopus0.install
+++ b/debian/libopus0.install
@@ -1 +1 @@
-usr/lib/lib*.so.*
+usr/lib/*/lib*.so.*
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,7 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# -fstack-protector-all is added by the default autoconf tests.
@@ -75,6 +76,7 @@
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
+ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
$(EXTRA_CONFIG_FLAGS) \
CPPFLAGS="$(CPPFLAGS)" \
CFLAGS="$(CFLAGS)" \
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,8 @@
Package: libopus0
Section: libs
Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}
Suggests: opus-tools
Description: Opus codec runtime library
signature.asc
Description: This is a digitally signed message part.

