Name libglvnd0
Description Vendor neutral GL dispatch library
Version 1.7.0-1build1
Package Base libglvnd
Homepage https://gitlab.freedesktop.org/glvnd/libglvnd
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Timo Aaltonen <tjaalton@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/libglvnd/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libglvnd/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libglvnd/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libglvnd0/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'meson', 'pkg-config', 'libx11-dev', 'libxext-dev', 'python3-setuptools', 'x11proto-dev', 'xauth', 'xvfb <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 33f5e07c74f73c2bfb44086ae0f9e6da52acd6c104d30ffe8fd768d8253d5e82
#!/usr/bin/make -f
#
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYTHON=/usr/bin/python3

override_dh_auto_install:
	dh_auto_install
	find debian/tmp -name '*.la' -delete

override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
	xvfb-run -a ninja -C build test
endif

override_dh_makeshlibs:
	dh_makeshlibs -a -- -c4

override_dh_bugfiles:
	dh_bugfiles -A

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

# For maintainer use only, generate a tarball:
gentarball: SOURCE=libglvnd
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball: ORIG = ../$(SOURCE)_$(UV).orig.tar.gz
gentarball:
	if [ -f $(ORIG) ]; then \
	  echo "$(ORIG) already exists, stopping"; exit 1; \
	fi
	git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ \
	  | gzip -9 > $(ORIG)
	pristine-tar commit $(ORIG) upstream-unstable