Name libjbig2dec0
Description JBIG2 decoder library - shared libraries
Version 0.20-1build3
Package Base jbig2dec
Homepage https://jbig2dec.com/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors [' Jonas Smedegaard <dr@jones.dk>,']
Distro-repo https://git.launchpad.net/ubuntu/+source/jbig2dec/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/020231105~ee53a7e.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/1001_python3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/1004_extract_infile_from_autogen-sh.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/2001_disable_memento.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/2002_abi_compat.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/README?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/jbig2dec/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libjbig2dec0/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['d-shlibs', 'debhelper-compat', 'libpng-dev', 'python3 <!nocheck>']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 24b4b1173e21301c22b6951f04268fe6cb76fbc05a6ca84062f0a43a66fd3c31
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

# avoid test_jbig2dec.py apparently relying on missing data files
override_dh_auto_test:
	TESTS="test_sha1 test_huffman test_arith" dh_auto_test

# Let d-shlibs resolve dependencies for and install library files
execute_after_dh_install:
	d-shlibmove --commit \
		--exclude-la \
		--multiarch \
		--movedev "debian/tmp/usr/include/*" usr/include/ \
		--movedev "debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*" \
			usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so