# Maintainer: Alex McGrath pkgname=fcft pkgver=3.1.6 pkgrel=0 pkgdesc="Simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman" url="https://codeberg.org/dnkl/fcft" license="MIT" arch="all" makedepends=" meson scdoc fontconfig-dev freetype-dev harfbuzz-dev pixman-dev tllist-dev utf8proc-dev " checkdepends="check-dev font-dejavu" # tests require a font to be installed subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/fcft/archive/$pkgver.tar.gz" builddir="$srcdir/fcft" build() { abuild-meson \ -Db_lto=true \ -Dsvg-backend=nanosvg \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 4fe4e318561706bd446e79b0df8df4fa5b542b9d546aa7361a1523593c26040d827ce059658c0eac89a77b83c771fd43bc74e2fe29cd16b2846a2db7ec733f49 fcft-3.1.6.tar.gz "