#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all # gobject-introspection on package build fails again # without active X-session (we had a bug before: #839397) export WEBKIT_DISABLE_COMPOSITING_MODE=1 include /usr/share/dpkg/architecture.mk ifeq (i386, $(DEB_HOST_ARCH)) export DEB_CFLAGS_MAINT_APPEND=-Wno-error=incompatible-pointer-types endif %: dh $@ --with gir,python3 override_dh_autoreconf: dh_autoreconf test -f resources/js/vendor/handlebars.min.js || cp /usr/share/javascript/handlebars/handlebars.js resources/js/vendor/handlebars.min.js test -f resources/js/vendor/purify.min.js || cp /usr/share/nodejs/dompurify/dist/purify.min.js resources/js/vendor/purify.min.js override_dh_auto_build-indep: dh_auto_build # The picture isn't perfect, but it'll do mkdir -p data/pixmaps/64x64/apps rsvg-convert --width 64 --height 64 \ --output data/pixmaps/64x64/apps/net.sourceforge.liferea.png \ data/pixmaps/scalable/apps/net.sourceforge.liferea.svg override_dh_installdocs: dh_installdocs -pliferea-data override_dh_girepository: dh_girepository -v -ldebian/tmp/usr/share/liferea/gir-1.0 \ /usr/lib/$(DEB_BUILD_MULTIARCH)/liferea/girepository-1.0 override_dh_python3: dh_python3 /usr/lib override_dh_auto_test: # Upstream fixed riscv64, but commented it isn't worth optimizing # https://github.com/lwindolf/liferea/issues/1529 # I'm therefor hesitent to file an issue again. ifeq (riscv64,$(DEB_HOST_ARCH)) dh_auto_test || true else dh_auto_test endif