Name libxshmfence1
Description X shared memory fences - shared library
Version 1.3.3-1
Package Base libxshmfence
Homepage https://gitlab.freedesktop.org/xorg/lib/libxshmfence
Maintainers ['Debian X Strike Force <debian-x@lists.debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/xorg-team/lib/libxshmfence
Sources ['https://sources.debian.org/data/main/libx/libxshmfence/1.3.3-1/debian/watch']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'quilt', 'xutils-dev', 'x11proto-dev', 'pkgconf']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 7b339e9e5b2349723d35af4df89bcc7aa456bbdf8ba1754358f9b44c3fe1f964
#!/usr/bin/make -f

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

ifeq ($(DEB_HOST_ARCH_OS), linux)
SHMDIR = /dev/shm
else
# kfreebsd buildds don't seem to have writable /dev/shm
SHMDIR = /tmp
endif

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

override_dh_makeshlibs:
	dh_makeshlibs --add-udeb=libxshmfence1-udeb -- -c4

override_dh_auto_configure:
	dh_auto_configure -- \
	    --disable-silent-rules \
	    --with-shared-memory-dir=$(SHMDIR)

override_dh_auto_test:
	dh_auto_test -- VERBOSE=1