summaryrefslogtreecommitdiff
path: root/fcft/Pkgfile
blob: fcb166f4abaee14d2abcfc94c795609f36699951 (plain)
    1 # Description: Simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman.
    2 # URL: https://codeberg.org/dnkl/fcft
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: fontconfig scdoc tllist utf8proc wayland-protocols xorg-libpixman
    5 # Optional: harfbuzz
    6 
    7 name=fcft
    8 version=3.0.1
    9 release=1
   10 source=(https://codeberg.org/dnkl/fcft/archive/$version.tar.gz)
   11 renames=($name-$version.tar.gz)
   12 
   13 build() {
   14   prt-get isinst harfbuzz && PKGMK_FCFT+=' -D grapheme-shaping=enabled -D run-shaping=enabled'
   15 
   16   meson setup $name build $PKGMK_FCFT \
   17     --prefix=/usr \
   18     --buildtype=plain \
   19     --wrap-mode nodownload \
   20     -D b_lto=true \
   21     -D b_pie=true \
   22     -D test-text-shaping=true
   23   meson compile -C build
   24   DESTDIR=$PKG meson install -C build
   25 
   26   rm -r $PKG/usr/share/doc
   27 }

Generated by cgit