2012-12-19 19:42:12 -06:00
|
|
|
# Description: An OpenType text shaping engine
|
2021-11-05 23:03:44 +11:00
|
|
|
# URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: cairo-32 harfbuzz
|
2021-11-05 23:03:44 +11:00
|
|
|
# Optional: icu-32
|
2012-12-19 19:42:12 -06:00
|
|
|
|
|
|
|
name=harfbuzz-32
|
2024-03-30 18:47:37 +01:00
|
|
|
version=8.4.0
|
2013-06-05 12:38:06 +10:00
|
|
|
release=1
|
2021-11-29 01:17:11 +11:00
|
|
|
source=(https://github.com/harfbuzz/harfbuzz/releases/download/$version/${name%-*}-$version.tar.xz)
|
2012-12-19 19:42:12 -06:00
|
|
|
|
|
|
|
build() {
|
2021-01-03 01:18:28 +11:00
|
|
|
meson setup build ${name%-*}-$version \
|
2013-03-26 02:09:37 +11:00
|
|
|
--prefix=/usr \
|
2013-06-05 12:38:06 +10:00
|
|
|
--libdir=/usr/lib32 \
|
2021-01-03 01:18:28 +11:00
|
|
|
-D benchmark=disabled \
|
|
|
|
-D docs=disabled \
|
|
|
|
-D graphite=disabled \
|
2021-11-05 23:03:44 +11:00
|
|
|
-D icu=$(prt-get isinst icu-32 >/dev/null && echo enabled || echo disabled) \
|
2021-01-03 01:18:28 +11:00
|
|
|
-D introspection=disabled
|
2013-06-05 12:38:06 +10:00
|
|
|
|
2021-01-03 01:18:28 +11:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2013-06-05 12:38:06 +10:00
|
|
|
|
2020-07-26 19:38:36 +10:00
|
|
|
rm -r $PKG/usr/{bin,include}
|
2012-12-19 19:42:12 -06:00
|
|
|
}
|