Name glslang
Description
Version 15.1.0+1.4.309.0-1
Package Base
Homepage
Maintainers ['Debian X Strike Force <debian-x@lists.debian.org>']
Contributors ['Timo Aaltonen <tjaalton@debian.org>']
Distro-repo https://salsa.debian.org/xorg-team/vulkan/glslang
Sources ['https://sources.debian.org/data/main/g/glslang/15.1.0+1.4.309.0-1/debian/watch', 'https://sources.debian.org/src/glslang/15.1.0+1.4.309.0-1/debian/patches/0001-pkg-config-compatibility.patch', 'https://sources.debian.org/src/glslang/15.1.0+1.4.309.0-1/debian/patches/glslang.pc-Add-missing-libraries.patch', 'https://sources.debian.org/src/glslang/15.1.0+1.4.309.0-1/debian/patches/series', 'https://sources.debian.org/src/glslang/15.1.0+1.4.309.0-1/debian/patches/spirv.pc-Add-dependencies-on-SPIRV-Tools-and-glslang.patch']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'cmake', 'pkgconf', 'python3', 'spirv-headers', 'spirv-tools']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --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 echo ${DEB_VERSION}|sed 's/-.*$$//')
gentarball:
	git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > \
		../$(SOURCE)_$(UV).orig.tar.gz