blob: 58edebbd215c2ef643a42528c2c23d18b747a7b2 (
plain)
1 # Description: An OpenType text shaping engine
2 # URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: cairo-32 harfbuzz
5 # Optional: icu-32
6
7 name=harfbuzz-32
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 --libdir=/usr/lib32 \
16 -D benchmark=disabled \
17 -D docs=disabled \
18 -D graphite=disabled \
19 -D icu=$(prt-get isinst icu-32 >/dev/null && echo enabled || echo disabled) \
20 -D introspection=disabled
21
22 meson compile -C build -j ${JOBS:-1}
23 DESTDIR=$PKG meson install -C build
24
25 rm -r $PKG/usr/{bin,include}
26 }
|