From 6d9d674b6fd1d2d23511c567a8fb17c14bd6003f Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 1 Oct 2020 23:28:43 +0200 Subject: [PATCH] Only keep extra plugins in obs-plugins --- debian/control | 9 ++++++--- debian/obs-plugins.install | 12 ++++++++++-- debian/obs-studio.install | 16 ++++++++++++++++ debian/rules | 2 +- 4 files changed, 33 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index 834f485..21c4f23 100644 --- a/debian/control +++ b/debian/control @@ -59,7 +59,10 @@ Rules-Requires-Root: no Package: obs-studio Architecture: any -Depends: obs-plugins (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends} +Recommends: obs-plugins (= ${binary:Version}) +Breaks: obs-plugins (<< 26.0.0+dfsg1-1) +Replaces: obs-plugins (<< 26.0.0+dfsg1-1) Description: recorder and streamer for live video content OBS Studio is designed for efficiently recording and streaming live video content. It supports live RTP streaming to various streaming sites. @@ -76,13 +79,13 @@ Description: recorder and streamer for live video content Package: obs-plugins Architecture: any Built-Using: ${simde:Built-Using} -Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: vlc Description: recorder and streamer for live video content (plugins) OBS is designed for efficiently recording and streaming live video content. It supports live RTP streaming to various streaming sites. . - This package contains the plugins. + This package contains some extra plugins (ALSA, jack, decklink, vlc). Package: libobs0 Multi-Arch: same diff --git a/debian/obs-plugins.install b/debian/obs-plugins.install index e3e6b3e..901d528 100644 --- a/debian/obs-plugins.install +++ b/debian/obs-plugins.install @@ -1,2 +1,10 @@ -usr/lib/*/obs-plugins -usr/share/obs/obs-plugins +usr/lib/*/obs-plugins/decklink-ouput-ui.so +usr/lib/*/obs-plugins/linux-alsa.so +usr/lib/*/obs-plugins/linux-decklink.so +usr/lib/*/obs-plugins/linux-jack.so +usr/lib/*/obs-plugins/vlc-video.so +usr/share/obs/obs-plugins/decklink-ouput-ui +usr/share/obs/obs-plugins/linux-alsa +usr/share/obs/obs-plugins/linux-decklink +usr/share/obs/obs-plugins/linux-jack +usr/share/obs/obs-plugins/vlc-video diff --git a/debian/obs-studio.install b/debian/obs-studio.install index edd112c..3ffcc45 100644 --- a/debian/obs-studio.install +++ b/debian/obs-studio.install @@ -1,6 +1,22 @@ usr/bin/obs +usr/lib/*/obs-plugins/frontend-tools.so +usr/lib/*/obs-plugins/image-source.so +usr/lib/*/obs-plugins/linux-capture.so +usr/lib/*/obs-plugins/linux-pulseaudio.so +usr/lib/*/obs-plugins/linux-v4l2.so +usr/lib/*/obs-plugins/obs-* +usr/lib/*/obs-plugins/rtmp-services.so +usr/lib/*/obs-plugins/text-freetype2.so usr/lib/*/obs-scripting usr/share/applications usr/share/icons usr/share/metainfo +usr/share/obs/obs-plugins/frontend-tools +usr/share/obs/obs-plugins/image-source +usr/share/obs/obs-plugins/linux-capture +usr/share/obs/obs-plugins/linux-pulseaudio +usr/share/obs/obs-plugins/linux-v4l2 +usr/share/obs/obs-plugins/obs-* +usr/share/obs/obs-plugins/rtmp-services +usr/share/obs/obs-plugins/text-freetype2 usr/share/obs/obs-studio diff --git a/debian/rules b/debian/rules index 2deca3c..80a4ae9 100755 --- a/debian/rules +++ b/debian/rules @@ -32,7 +32,7 @@ execute_before_dh_shlibdeps: echo "libobs 0 libobs0 (= ${DEB_VERSION})" > debian/shlibs.local override_dh_python3: - dh_python3 -p obs-plugins usr/share/obs/obs-plugins/frontend-tools/scripts + dh_python3 -p obs-studio usr/share/obs/obs-plugins/frontend-tools/scripts dh_python3 -p obs-studio usr/lib/$(DEB_HOST_MULTIARCH)/obs-scripting override_dh_gencontrol: