Name spirv-tools
Description API and commands for processing SPIR-V modules
Version 2025.1~rc1-1~ubuntu0.24.04.1
Package Base
Homepage https://github.com/KhronosGroup/SPIRV-Tools
Maintainers ['Debian X Strike Force <debian-x@lists.debian.org>', 'Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/spirv-tools/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/spirv-tools/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/spirv-tools/plain/debian/patches/disable-shared-harder.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/spirv-tools/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/spirv-tools/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libstdc++6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'cmake', 'python3', 'spirv-headers']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash e9f04da0756fbdaa316ffcbb48c612e1b49219b1e95024175b9d4409af3dbede
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=optimize=-lto

%:
	dh $@ 

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=Release \
		-DSPIRV-Headers_SOURCE_DIR=/usr \
		-DBUILD_SHARED_LIBS=OFF \
		-DSPIRV_TOOLS_BUILD_STATIC=ON \
		-DSPIRV_TOOLS_LIBRARY_TYPE=STATIC

override_dh_auto_test:

override_dh_install:
	dh_install


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