#!/usr/bin/make -f
# -*- makefile -*-

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CMAKE_ARGS = -DPHONON_BUILD_QT6=ON -DPHONON_BUILD_QT5=OFF

%:
	dh $@ --with kf6 --buildsystem kf6

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_ARGS)

override_dh_shlibdeps:
	dh_shlibdeps -a -O--buildsystem=kf6 -l`pwd`/debian/qt6-phonon/usr/kf6/lib/$(DEB_HOST_MULTIARCH)/
