2022-08-19 20:31:09 +03:00
distributable :
url : https://www.freedesktop.org/software/fontconfig/release/fontconfig-{{ version }}.tar.xz
strip-components : 1
versions :
github : freedesktop/fontconfig/tags
dependencies :
sourceware.org/bzip2 : 1
freetype.org : 2
zlib.net : 1
gnome.org/libxml2 : 2
libexpat.github.io : 2
build :
dependencies :
tea.xyz/gx/cc : c99
tea.xyz/gx/make : '*'
freedesktop.org/pkg-config : ^0.29
gnu.org/gperf : 3
python.org : 3
script : |
./configure --prefix={{ prefix }}
make --jobs {{ hw.concurrency }} install RUN_FC_CACHE_TEST=false
2022-08-31 21:05:21 +03:00
rm -rf {{prefix}}/share/doc
2022-08-19 20:31:09 +03:00
2022-09-14 22:48:36 +03:00
sed -i.bak 's|<cachedir>{{prefix}}/var/cache/fontconfig</cachedir>|<cachedir prefix="relative">../../var/cache/fontconfig</cachedir>|' {{prefix}}/etc/fonts/fonts.conf
2022-08-19 20:31:09 +03:00
test :
fc-list