Source: libhdhomerun Version: 20170930-1 Severity: wishlist Tags: patch Dear Maintainer,
Please move the libraries to /usr/lib/${DEB_HOST_MULTIARCH} and mark the package as Multi-Arch: same to allow coinstallation of libhdhomerun4:i386 and libhdhomerun4:amd64 (for example). I've tested the attached and it works for me. Note that I _removed_ the Multi-Arch: same annotation from libhdhomerun-dev, since this installs files in /usr/include (rather than /usr/include/${DEB_HOST_MULTIARCH}) I don't think libhdhomerun-dev:amd64 and libhdhomerun-dev:i386 would be coinstallable as required. I don't need to coinstall those though so feel free to ignore that change. Thanks, Ian. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf, armel, arm64 Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff --git a/debian/control b/debian/control index a2e8aee..56b81e4 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: libs Priority: optional Homepage: https://www.silicondust.com/support/linux/ Maintainer: Francois Marier <franc...@debian.org> -Build-Depends: debhelper (>= 10), po-debconf +Build-Depends: debhelper (>= 10), dh-exec (>=0.3), po-debconf Standards-Version: 4.1.1 Vcs-Git: https://anonscm.debian.org/git/collab-maint/libhdhomerun.git Vcs-Browser: https://anonscm.debian.org/git/collab-maint/libhdhomerun.git @@ -27,6 +27,7 @@ Description: Configuration utility for Silicon Dust HD HomeRun Package: libhdhomerun4 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} +Multi-Arch: same Description: Library for Silicon Dust HD HomeRun This package supports the Silicon Dust HDHomeRun. The HDHomeRun is a networked, two tuner digital TV tuner compatible with @@ -40,7 +41,6 @@ Section: libdevel Depends: libhdhomerun4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} -Multi-Arch: same Description: Development library for Silicon Dust HD HomeRun This package supports the Silicon Dust HDHomeRun. The HDHomeRun is a networked, two tuner digital TV tuner compatible with diff --git a/debian/libhdhomerun4.install b/debian/libhdhomerun4.install old mode 100644 new mode 100755 index 6165713..72318fb --- a/debian/libhdhomerun4.install +++ b/debian/libhdhomerun4.install @@ -1 +1,2 @@ -libhdhomerun.so.* /usr/lib +#! /usr/bin/dh-exec +libhdhomerun.so.* /usr/lib/${DEB_HOST_MULTIARCH}