Name libpangocairo-1.0-0
Description Layout and rendering of internationalized text
Version 1.52.1+ds-1build1
Package Base pango1.0
Homepage https://www.pango.org/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Emilio Pozuelo Monfort <pochu@debian.org>', 'Iain Lane <laney@debian.org>', 'Jeremy Bícha <jbicha@ubuntu.com>', 'Laurent Bigonville <bigon@debian.org>', 'Marco Trevisan (Treviño) <marco@ubuntu.com>', 'Michael Biebl <biebl@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/pango1.0/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libpangocairo-1.0-0/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/pango1.0/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/pango1.0/plain/debian/patches/debian?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/pango1.0/plain/debian/patches/series?h=ubuntu/noble']
Dependencies ['libc6', 'libcairo2', 'libfontconfig1', 'libglib2.0-0t64', 'libharfbuzz0b', 'libpango-1.0-0', 'libpangoft2-1.0-0']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dh-sequence-gir', 'fonts-cantarell <!nocheck>', 'fonts-dejavu-core <!nocheck>', 'fonts-noto-color-emoji <!nocheck>', 'fonts-noto-core <!nocheck>', 'gir1.2-cairo-1.0-dev', 'gir1.2-gio-2.0-dev', 'gir1.2-gobject-2.0-dev', 'gir1.2-harfbuzz-0.0-dev <pkg.gobject-introspection.todo>', 'gobject-introspection', 'help2man', 'libcairo2-dev', 'libfontconfig-dev', 'libfreetype-dev', 'libfribidi-dev', 'libglib2.0-dev', 'libharfbuzz-dev', 'libthai-dev', 'libx11-dev', 'libxft-dev', 'libxrender-dev', 'libxt-dev', 'locales <!nocheck> | locales-all <!nocheck>', 'meson', 'perl', 'pkgconf']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 98cf5fc9076c2911fe20dfc1e41cd8f686a2bb5d539b1105fab18105b0db1376
#!/usr/bin/make -f

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

built_binaries := $(shell dh_listpackages)
configure_options :=

ifneq ($(filter libpango1.0-doc,$(built_binaries)),)
with_docs = true
else
with_docs = false
endif

ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
configure_options += --cross-file=$(DEB_HOST_GNU_TYPE)-gobject-introspection.ini
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dauto_features=enabled \
		-Dgtk_doc=$(with_docs) \
		-Dinstall-tests=true \
		$(configure_options)

override_dh_auto_test-arch:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	debian/tests/run-with-locales \
		--generate en_US.utf8 \
		-- \
	env \
		LC_ALL=en_US.utf8 \
	dh_auto_test
endif

# Skip build-time tests if all we are building is documentation; running
# them once per architecture is plenty
override_dh_auto_test-indep:
	@:

# debhelper >= 13.4 makes all of /usr/libexec executable, which is not
# quite right for installed-tests
override_dh_fixperms:
	dh_fixperms -Xusr/libexec/installed-tests
ifneq ($(filter %-tests,$(binaries)),)
	chmod --recursive --changes a+rX,u+w,og-w debian/*-tests/usr/libexec/installed-tests
endif

override_dh_makeshlibs:
	dh_makeshlibs --add-udeb=libpango1.0-udeb -- -c4