Name glslang
Description
Version
Package Base
Homepage
Maintainers ['Debian X Strike Force <debian-x@lists.debian.org>']
Contributors ['Timo Aaltonen <tjaalton@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/glslang/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/glslang/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glslang/plain/debian/patches/0001-pkg-config-compatibility.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glslang/plain/debian/patches/glslang.pc-Add-missing-libraries.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glslang/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glslang/plain/debian/patches/spirv.pc-Add-dependencies-on-SPIRV-Tools-and-glslang.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/glslang/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'cmake', 'pkgconf', 'python3', 'spirv-headers', 'spirv-tools']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash
#!/usr/bin/make -f

%:
	dh $@ --with quilt --builddirectory=build/

override_dh_auto_configure:
	dh_auto_configure -- \
		-DBUILD_SHARED_LIBS=OFF \
		-DALLOW_EXTERNAL_SPIRV_TOOLS=ON \
		-DCMAKE_BUILD_TYPE=Release

ifneq (,$(filter $(DEB_HOST_ARCH), hppa powerpc ppc64 s390x sparc64))
override_dh_auto_test:
endif

gentarball: SOURCE=glslang
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