Name fontconfig-config
Description generic font configuration library - configuration
Version 2.15.0-1.1ubuntu2
Package Base fontconfig
Homepage https://www.freedesktop.org/wiki/Software/fontconfig/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Emilio Pozuelo Monfort <pochu@debian.org>,', 'Keith Packard <keithp@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/fontconfig/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/fontconfig-config/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/0001-cache-If-nsec-is-zero-don-t-use-it-for-comparisons.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/02_indic_names.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/04_mgopen_fonts.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/04_ubuntu_monospace_lcd_filter_conf.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/05_lcdfilterlegacy.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/07_no_bitmaps.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/change-default-mono-font-for-latin.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/disable-crbug1004354.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/fix-emoji-no-bitmap-font.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/make-byteReverse-hidden.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/fontconfig/plain/debian/patches/skip-dpkg-tmp-files.patch?h=ubuntu/noble']
Dependencies ['fonts-dejavu-core | fonts-liberation | fonts-croscore | fonts-freefont-otf | fonts-freefont-ttf | fonts-urw-base35 | fonts-texgyre | fonts-noto-core']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'libfreetype-dev', 'libexpat1-dev', 'uuid-dev', 'pkgconf', 'python3', 'gperf', 'po-debconf']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 9df0579cd298a1f2b7a40efd519c849745aecd193a09733cf4d1032284a62bbf
#!/usr/bin/make -f

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

ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
	BUILD_DOC := --disable-docs
else
	BUILD_DOC := --enable-docs
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-static $(BUILD_DOC) --with-add-fonts=/usr/local/share/fonts \
	                     --with-default-sub-pixel-rendering=rgb

override_dh_makeshlibs:
	dh_makeshlibs --add-udeb="fontconfig-udeb"

execute_after_dh_install-arch:
	cd debian/fontconfig-config/usr/share/fontconfig/conf.avail && \
		mv 70-yes-bitmaps.conf 70-force-bitmaps.conf
	cp debian/70-yes-bitmaps.conf debian/fontconfig-config/usr/share/fontconfig/conf.avail/

# one of the tests makes sure that the uuid changes, so we have to run tests
# without SOURCE_DATE_EPOCH set
override_dh_auto_test:
	env --unset=SOURCE_DATE_EPOCH dh_auto_test