Tighten inter-package dependencies

This commit is contained in:
Sebastian Ramacher 2016-08-28 15:52:00 +02:00
parent c05fa1c04e
commit a07fe0647b
2 changed files with 6 additions and 0 deletions

1
debian/clean vendored Normal file
View file

@ -0,0 +1 @@
debian/shlibs.local

5
debian/rules vendored
View file

@ -1,6 +1,7 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed 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\" 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 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg/ffmpeg-mux
dh_install dh_install
rm -rf debian/obs-studio/usr/share/obs/obs-studio/license 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