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
31 configure_options += \
33 --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts
36 LD_LIBRARY_PATH=%{DIR_APP}/src/.libs make check
40 for i in $(find %{BUILDROOT}%{sysconfdir}/fonts/conf.d -type l); do
41 ln -svf --relative %{BUILDROOT}$(readlink -m ${i}) ${i}
51 mkdir -p %{localstatedir}/cache/fontconfig
53 if [ -x "%{bindir}/fc-cache" ]; then
54 HOME=/root %{bindir}/fc-cache -f
67 package %{name}-debuginfo