1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
export DH_VERBOSE = 1
export MAKE = ninja -v
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -fPIC
export DEB_CPPFLAGS_MAINT_APPEND = -fPIC
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
override_dh_auto_configure:
mkdir build && meson --buildtype plain --prefix /usr \
-Ddo-post-install=false \
-Db_lundef=false \
-Dwith-player-mpv-opengl=true \
-Dwith-player-gstreamer-clutter=true \
-Dwith-player-gstreamer-cairo=true \
-Dwith-player-gstreamer-opengl=true . build
override_dh_auto_build:
$(MAKE) -C build all
override_dh_auto_clean:
rm -rf build
override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/tmp $(MAKE) -C build install
|