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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_TESTING=OFF \
		-DQTWAYLANDSCANNER_KDE_EXECUTABLE=/usr/lib/qt6/libexec/qtwaylandscanner

override_dh_auto_test:
	# Disable auto tests at build time
	:

override_dh_install:
	dh_install
	# The DisplayXR window-geometry plugin ships in its own package.
	rm debian/kwin-common/usr/lib/*/qt6/plugins/kwin/plugins/displayxr.so
