blob: 965fc34618ff0c29a79c6dffd89e9a670c75bdaa (
plain)
1 # Description: A library for configuring and customizing font access
2 # URL: https://www.freedesktop.org/wiki/Software/fontconfig/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: expat freetype
5
6 name=fontconfig
7 version=2.14.1
8 release=2
9 source=(https://fontconfig.org/release/$name-$version.tar.xz)
10
11 build() {
12 meson setup $name-$version build \
13 --prefix=/usr \
14 --buildtype=plain \
15 --wrap-mode=nodownload \
16 -D b_lto=true \
17 -D b_pie=true \
18 -D doc-man=enabled \
19 -D doc=disabled \
20 -D nls=disabled \
21 -D tests=disabled \
22 -D cache-build=disabled
23 meson compile -C build -j ${JOBS:-1}
24 DESTDIR=$PKG meson install -C build
25
26 # Enabling autohinting by default
27 pushd $PKG/etc/fonts/conf.d
28 ln -sf /usr/share/fontconfig/conf.avail/10-autohint.conf
29 popd
30
31 rm -f $PKG/etc/fonts/conf.d/README
32 }
|