Name libwacom
Description
Version
Package Base
Homepage
Maintainers ['Timo Aaltonen <tjaalton@debian.org>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/libwacom/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libwacom/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libwacom/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libwacom/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'meson', 'libevdev-dev', 'libglib2.0-dev', 'libgudev-1.0-dev', 'libxml2-dev <!nocheck>', 'pkgconf', 'python3-libevdev <!nocheck>', 'python3-pytest <!nocheck>', 'python3-pyudev <!nocheck>', 'systemd-dev', 'udev <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto
export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dudev-dir=/$(deb_udevdir) \
		-Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),dis,en)abled

override_dh_auto_test:
	dh_auto_test -- --timeout-multiplier=10

override_dh_install:
	find debian/tmp -name '*.la' -delete
	rm -rf debian/tmp/usr/share/libwacom/__pycache__
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_strip:
	dh_strip --dbgsym-migration='libwacom2-dbg (<< 1.1-2~)'
	dh_strip -plibwacom-bin

%:
	dh $@ \
		--builddirectory=build/ \
		--buildsystem=meson