yolobs-studio/debian/rules

22 lines
685 B
Text
Raw Normal View History

#!/usr/bin/make -f
2016-02-23 23:30:24 +00:00
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
2016-02-24 00:11:49 +00:00
export DEB_CPPFLAGS_MAINT_APPEND=-DFFMPEG_MUX_FIXED=\"/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg/ffmpeg-mux\"
include /usr/share/dpkg/architecture.mk
%:
2016-02-23 23:30:24 +00:00
dh $@ --parallel
override_dh_auto_configure:
dh_auto_configure -- \
2016-02-23 23:30:24 +00:00
-DOBS_MULTIARCH_SUFFIX=/$(DEB_HOST_MULTIARCH) \
-DUNIX_STRUCTURE=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/share/obs/obs-plugins/obs-ffmpeg/ffmpeg-mux \
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/obs-plugins/obs-ffmpeg/ffmpeg-mux
dh_install
2016-02-24 00:11:49 +00:00
rm -rf debian/obs-studio/usr/share/obs/obs-studio/license