27 lines
747 B
Plaintext
27 lines
747 B
Plaintext
# Description: An OpenType text shaping engine
|
|
# URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: cairo-32 harfbuzz
|
|
# Optional: icu-32
|
|
|
|
name=harfbuzz-32
|
|
version=8.4.0
|
|
release=1
|
|
source=(https://github.com/harfbuzz/harfbuzz/releases/download/$version/${name%-*}-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup build ${name%-*}-$version \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
-D benchmark=disabled \
|
|
-D docs=disabled \
|
|
-D graphite=disabled \
|
|
-D icu=$(prt-get isinst icu-32 >/dev/null && echo enabled || echo disabled) \
|
|
-D introspection=disabled
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/{bin,include}
|
|
}
|