Name libxkbcommon0
Description library interface to the XKB compiler - shared library
Version 1.6.0-1build1
Package Base libxkbcommon
Homepage https://www.xkbcommon.org/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Michael Stapelberg <stapelberg@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/libxkbcommon/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libxkbcommon/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libxkbcommon0/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'xkb-data']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'bison', 'dh-exec', 'doxygen', 'flex', 'graphviz', 'meson', 'pkg-config', 'quilt', 'libwayland-dev [linux-any]', 'libxcb-xkb-dev', 'libxml2-dev', 'wayland-protocols [linux-any]', 'x11-xkb-utils <!nocheck>', 'x11proto-dev', 'xkb-data <!nocheck>', 'xvfb <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 2b9caeb423efb540296a1cb20b872cc630c23908407ecb5c1c787a617622d664
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

extra_meson_args =
ifneq ($(DEB_HOST_ARCH_OS),linux)
	extra_meson_args+="-Denable-wayland=false"
endif

# We need to point to xkb-data's files. The default should be OK but
# let's be cautious:
override_dh_auto_configure:
	dh_auto_configure -- -Dxkb-config-root=/usr/share/X11/xkb \
		$(extra_meson_args)

# Kill *.la files, and forget no-one:
override_dh_install:
	find debian/tmp -name '*.la' -delete
	find debian/tmp -name '*.md5' -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

%:
	dh $@


# For maintainer use only, generate a tarball
gentarball: SOURCE=$(shell dpkg-parsechangelog|awk '/^Source:/ {print $$2}')
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball:
	git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz