#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

# taylet is the command-line player without an audio driver of its own
# (raw PCM on the standard output); taylet-sdl and taylet-kde are the two
# players which play the sound.
override_dh_auto_configure:
	dh_auto_configure -- \
		-DTAYLET_BUILD_SDL=ON \
		-DTAYLET_BUILD_KDE=ON \
		-DTAYLET_DRIVER=none

# No screen and no sound card in a build chroot.
override_dh_auto_test:
	QT_QPA_PLATFORM=offscreen dh_auto_test

override_dh_missing:
	dh_missing --fail-missing
