From 76c3903586a3566e281ba69d677975e56e006da9 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Mon, 18 Nov 2019 20:35:07 +0100 Subject: [PATCH] Compile Python scripts --- debian/control | 4 ++-- debian/rules | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index e27cbdd..f3227be 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,7 @@ Uploaders: Build-Depends: cmake, debhelper-compat (= 12), + dh-sequence-python3, libasound2-dev, libavcodec-dev, libavdevice-dev, @@ -66,9 +67,8 @@ Description: recorder and streamer for live video content Note that OBS Studio requires an OpenGL 3.2 compatible video card. Package: obs-plugins -Multi-Arch: same Architecture: any-amd64 -Depends: ${misc:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends} Recommends: vlc Description: recorder and streamer for live video content (plugins) OBS is designed for efficiently recording and streaming live video content. It diff --git a/debian/rules b/debian/rules index 0b63876..13125ca 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ 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/obs-ffmpeg-mux\" %: - dh $@ + dh $@ --with python3 override_dh_auto_configure: dh_auto_configure -- \ @@ -31,3 +31,6 @@ override_dh_install: override_dh_shlibdeps: echo "libobs 0 libobs0 (= ${DEB_VERSION})" > debian/shlibs.local dh_shlibdeps + +override_dh_python3: + dh_python3 -p obs-plugins usr/share/obs/obs-plugins/frontend-tools/scripts