From a07fe0647b8074bfd68f1332dc592e4db2a2eeac Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 28 Aug 2016 15:52:00 +0200 Subject: [PATCH] Tighten inter-package dependencies --- debian/clean | 1 + debian/rules | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 debian/clean diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..b86b83b --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +debian/shlibs.local diff --git a/debian/rules b/debian/rules index 2395449..37dc27c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/pkg-info.mk export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed export DEB_CPPFLAGS_MAINT_APPEND=-DFFMPEG_MUX_FIXED=\"/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg/ffmpeg-mux\" @@ -19,3 +20,7 @@ override_dh_install: debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg/ffmpeg-mux dh_install rm -rf debian/obs-studio/usr/share/obs/obs-studio/license + +override_dh_shlibdeps: + echo "libobs 0 libobs0 (= ${DEB_VERSION})" > debian/shlibs.local + dh_shlibdeps