#!/usr/bin/make -f

%:
	dh $@ --with kde --parallel --list-missing

override_dh_auto_configure:
ifneq (,$(filter $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE), armhf arm64 armel))
	dh_auto_configure -- -DCMAKE_INSTALL_LIBEXECDIR=lib/tomahawk/libexec/ -CMAKE_WITH_BREAKPAD=OFF
else
	dh_auto_configure -- -DCMAKE_INSTALL_LIBEXECDIR=lib/tomahawk/libexec/
endif

override_dh_strip:
	dh_strip --dbg-package=tomahawk-dbg
