Name libvolume-key1
Description Library for manipulating storage encryption keys and passphrases
Version 0.3.12-7build2
Package Base volume-key
Homepage https://pagure.io/volume_key
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Martin Pitt <mpitt@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/volume-key/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libvolume-key1/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/volume-key/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/volume-key/plain/debian/patches/Fix-FTBFS-with-Python-3.8.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/volume-key/plain/debian/patches/Revert-Switch-to-gpg2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/volume-key/plain/debian/patches/series?h=ubuntu/noble']
Dependencies ['gnupg', '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', 'python3-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 24a129989abc229bfb5fdaeac9a14b5d78163e18aa33f4ff174e2c5771a1da44
#!/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