yolobs-studio/debian/rules

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.3 KiB
Text
Raw Normal View History

#!/usr/bin/make -f
2016-05-21 12:47:45 +00:00
include /usr/share/dpkg/architecture.mk
2016-08-28 13:52:00 +00:00
include /usr/share/dpkg/pkg-info.mk
2016-05-21 12:47:45 +00:00
export DEB_CPPFLAGS_MAINT_APPEND=-DFFMPEG_MUX_FIXED=\"/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg/obs-ffmpeg-mux\"
export DEB_CFLAGS_MAINT_APPEND+=-DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3
export DEB_CXXFLAGS_MAINT_APPEND+=-DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3
2016-02-24 00:11:49 +00:00
%:
2019-11-18 21:14:56 +00:00
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
2016-02-23 23:30:24 +00:00
-DOBS_MULTIARCH_SUFFIX=/$(DEB_HOST_MULTIARCH) \
2020-10-01 20:27:46 +00:00
-DUNIX_STRUCTURE=TRUE \
2018-12-16 16:30:56 +00:00
-DDISABLE_UPDATE_MODULE=TRUE \
2020-10-01 20:53:16 +00:00
-DBUILD_CAPTIONS=ON \
2019-11-18 19:19:04 +00:00
-DOBS_VERSION_OVERRIDE=${DEB_VERSION}
2020-10-01 20:57:25 +00:00
execute_after_dh_auto_build:
2016-08-28 14:04:54 +00:00
rst2man debian/obs.rst > debian/obs.1
override_dh_install:
2016-02-24 00:11:49 +00:00
mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg
mv debian/tmp/usr/bin/obs-ffmpeg-mux \
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg/obs-ffmpeg-mux
dh_install
2016-02-24 00:11:49 +00:00
rm -rf debian/obs-studio/usr/share/obs/obs-studio/license
2016-08-28 13:52:00 +00:00
2020-10-01 20:57:25 +00:00
execute_before_dh_shlibdeps:
2016-08-28 13:52:00 +00:00
echo "libobs 0 libobs0 (= ${DEB_VERSION})" > debian/shlibs.local
2019-11-18 19:35:07 +00:00
override_dh_python3:
2020-10-01 21:28:43 +00:00
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:
dh_gencontrol -- -Vsimde:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W "libsimde-dev")"