Name libvolume-key1
Description Library for manipulating storage encryption keys and passphrases
Version 0.3.12-9
Package Base volume-key
Homepage https://pagure.io/volume_key
Maintainers ['Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>']
Contributors ['Martin Pitt <mpitt@debian.org>']
Distro-repo https://salsa.debian.org/utopia-team/volume-key
Sources ['https://sources.debian.org/data/main/v/volume-key/0.3.12-9/debian/watch', 'https://sources.debian.org/src/volume-key/0.3.12-9/debian/patches/Fix-FTBFS-with-Python-3.8.patch', 'https://sources.debian.org/src/volume-key/0.3.12-9/debian/patches/Revert-Switch-to-gpg2.patch', 'https://sources.debian.org/src/volume-key/0.3.12-9/debian/patches/Use-AC_PATH_TOOL-to-locate-python3-config.patch', 'https://sources.debian.org/src/volume-key/0.3.12-9/debian/patches/series']
Dependencies ['libblkid1', 'libc6', 'libcryptsetup12', 'libglib2.0-0t64', 'libgpgme11t64', 'libnspr4', 'libnss3']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-sequence-python3', 'libglib2.0-dev', 'libcryptsetup-dev', 'libnss3-dev', 'libgpgme11-dev', 'libblkid-dev', 'swig', 'libnss3-tools', 'libpython3-dev', 'python3-dev', 'python3-setuptools']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash c0ff67c85f8d09be28a8a98505d05eac686a698f814a5e9774a26042148033d4
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed

CHECK_HOME = $(CURDIR)/debian/tmp/home
GPGME_LOG = $(CURDIR)/debian/tmp/gpgme.log

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--without-python \
		--with-python3

execute_before_dh_install:
	find debian/tmp -name '*.la' -print -delete

override_dh_auto_test:
ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS)))
	mkdir -p $(CHECK_HOME)
	HOME=$(CHECK_HOME) GPGME_DEBUG=9:$(GPGME_LOG) make check || { cat $(GPGME_LOG); exit 1; }
endif

override_dh_makeshlibs:
	dh_makeshlibs -- -c4