contrib/fcft/Pkgfile

27 lines
782 B
Plaintext
Raw Normal View History

2021-09-20 00:20:06 +02:00
# Description: Simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman.
# URL: https://codeberg.org/dnkl/fcft
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: fontconfig scdoc tllist utf8proc wayland-protocols xorg-libpixman
# Optional: harfbuzz
name=fcft
2023-12-15 20:58:44 +01:00
version=3.1.7
2021-09-20 00:20:06 +02:00
release=1
source=(https://codeberg.org/dnkl/fcft/archive/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
2021-11-13 13:40:46 +01:00
prt-get isinst harfbuzz && PKGMK_FCFT+=' -D grapheme-shaping=enabled -D run-shaping=enabled'
meson setup $name build $PKGMK_FCFT \
2021-09-20 00:20:06 +02:00
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
2022-09-11 19:26:17 +02:00
-D b_lto=true \
2023-07-14 17:35:59 +02:00
-D b_pie=true
2021-09-20 00:20:06 +02:00
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/doc
}