2012-12-04 18:09:54 +01:00
|
|
|
# Description: An OpenType text shaping engine
|
2021-07-09 13:49:52 +02:00
|
|
|
# URL: https://github.com/harfbuzz/harfbuzz
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: cairo gobject-introspection meson ninja
|
2022-02-06 15:20:48 +01:00
|
|
|
# Optional: chafa graphite2 icu
|
2012-12-04 18:09:54 +01:00
|
|
|
|
|
|
|
name=harfbuzz
|
2023-07-09 09:43:37 +02:00
|
|
|
version=8.0.0
|
2022-08-02 17:54:31 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/harfbuzz/harfbuzz/releases/download/$version/$name-$version.tar.xz)
|
2012-12-04 18:09:54 +01:00
|
|
|
|
|
|
|
build() {
|
2020-12-30 14:04:24 +01:00
|
|
|
meson setup build $name-$version \
|
2020-09-15 20:57:12 +02:00
|
|
|
--prefix=/usr \
|
2021-01-23 12:59:06 +01:00
|
|
|
--buildtype=plain \
|
2021-09-08 12:22:33 +02:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2020-12-30 14:04:24 +01:00
|
|
|
-D benchmark=disabled \
|
|
|
|
-D docs=disabled \
|
2021-12-13 13:01:04 +01:00
|
|
|
-D tests=disabled \
|
2020-12-30 14:04:24 +01:00
|
|
|
-D graphite=auto
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2012-12-04 18:09:54 +01:00
|
|
|
}
|