#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT=qt5

%:
	dh $@

override_dh_auto_configure::
	dh_auto_configure -- DEFINES+=APP_GOOGLE_API_KEY=AIzaSyAIczxoTHgsF_OC--oXGtM0029Gv3JDRzc

override_dh_auto_install::
	dh_auto_install --destdir=debian/tmp
	chmod a-x debian/tmp/usr/share/minitube/sounds/snapshot.wav

override_dh_missing::
	dh_missing --fail-missing

override_dh_strip:
	dh_strip --no-automatic-dbgsym
