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