#!/usr/bin/make -f

# Disable Alsa on non-Linux architectures
ifneq (linux,$(DEB_HOST_ARCH_OS))
	DEB_CONFIGURE_ALSA = -DSOUNDSYSTEM_USE_ALSA=OFF
else
	DEB_CONFIGURE_ALSA = -DSOUNDSYSTEM_USE_ALSA=ON
endif

export QTDIR=/usr/share/qt5
export QT_SELECT=qt5

%:
	dh $@

override_dh_auto_configure:
	qmake PREFIX=/usr "CONFIG+=acs_qt acs_alsa acs_jack" fmit.pro
	make lrelease
