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