#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DWITH_PIPER_TTS=OFF -DBUILD_TESTING=ON

override_dh_auto_test:
	QT_QPA_PLATFORM=offscreen HOME=$(CURDIR)/debian/tmp-home dh_auto_test --no-parallel -- ARGS+="--output-on-failure"
