1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Graphics
11 url = https://fontconfig.org/
13 summary = Font configuration and customization library
16 Fontconfig is designed to locate fonts within the
17 system and select them according to requirements specified by
21 source_dl = https://www.freedesktop.org/software/fontconfig/release/
26 pkgconfig(freetype2) >= 21.0.15
32 configure_options += \
34 --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts
37 LD_LIBRARY_PATH=%{DIR_APP}/src/.libs make check
41 for i in $(find %{BUILDROOT}%{sysconfdir}/fonts/conf.d -type l); do
42 ln -svf --relative %{BUILDROOT}$(readlink -m ${i}) ${i}
52 mkdir -p %{localstatedir}/cache/fontconfig
54 if [ -x "%{bindir}/fc-cache" ]; then
55 HOME=/root %{bindir}/fc-cache -f
68 package %{name}-debuginfo