Compile Python scripts

This commit is contained in:
Sebastian Ramacher 2019-11-18 20:35:07 +01:00
parent b5f6e46383
commit 76c3903586
2 changed files with 6 additions and 3 deletions

4
debian/control vendored
View file

@ -8,6 +8,7 @@ Uploaders:
Build-Depends: Build-Depends:
cmake, cmake,
debhelper-compat (= 12), debhelper-compat (= 12),
dh-sequence-python3,
libasound2-dev, libasound2-dev,
libavcodec-dev, libavcodec-dev,
libavdevice-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. Note that OBS Studio requires an OpenGL 3.2 compatible video card.
Package: obs-plugins Package: obs-plugins
Multi-Arch: same
Architecture: any-amd64 Architecture: any-amd64
Depends: ${misc:Depends}, ${shlibs:Depends} Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}
Recommends: vlc Recommends: vlc
Description: recorder and streamer for live video content (plugins) Description: recorder and streamer for live video content (plugins)
OBS is designed for efficiently recording and streaming live video content. It OBS is designed for efficiently recording and streaming live video content. It

5
debian/rules vendored
View file

@ -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\" 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: override_dh_auto_configure:
dh_auto_configure -- \ dh_auto_configure -- \
@ -31,3 +31,6 @@ override_dh_install:
override_dh_shlibdeps: override_dh_shlibdeps:
echo "libobs 0 libobs0 (= ${DEB_VERSION})" > debian/shlibs.local echo "libobs 0 libobs0 (= ${DEB_VERSION})" > debian/shlibs.local
dh_shlibdeps dh_shlibdeps
override_dh_python3:
dh_python3 -p obs-plugins usr/share/obs/obs-plugins/frontend-tools/scripts