blob: 47c52375b2c16a8c64a5e5615ec04be14be3bb68 (
plain)
1 # Description: An OpenType text shaping engine
2 # URL: https://github.com/harfbuzz/harfbuzz
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: cairo gobject-introspection meson ninja
5 # Optional: chafa graphite2 icu
6
7 name=harfbuzz
8 version=6.0.0
9 release=1
10 source=(https://github.com/harfbuzz/harfbuzz/releases/download/$version/$name-$version.tar.xz)
11
12 build() {
13 meson setup build $name-$version \
14 --prefix=/usr \
15 --buildtype=plain \
16 --wrap-mode nodownload \
17 -D b_lto=true \
18 -D b_pie=true \
19 -D benchmark=disabled \
20 -D docs=disabled \
21 -D tests=disabled \
22 -D graphite=auto
23 meson compile -C build -j ${JOBS:-1}
24 DESTDIR=$PKG meson install -C build
25 }
|