#!/usr/bin/make -f

ifneq ($(findstring $(DEB_HOST_ARCH_OS),kfreebsd hurd),)
EXTRA_CONFIGURE_ARGS += --disable-alsa-midi
endif

export QT_SELECT=qt5

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-debug \
		$(EXTRA_CONFIGURE_ARGS)

override_dh_strip:
	dh_strip --dbg-package=qmidinet-dbg
