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
|
2023-08-27 17:41:47 +02:00
|
|
|
# Depends on: cairo gobject-introspection
|
2022-02-06 15:20:48 +01:00
|
|
|
# Optional: chafa graphite2 icu
|
2012-12-04 18:09:54 +01:00
|
|
|
|
|
|
|
name=harfbuzz
|
2024-05-13 23:38:51 +02:00
|
|
|
version=8.5.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() {
|
2023-08-27 17:41:47 +02:00
|
|
|
meson setup build $name-$version \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D benchmark=disabled \
|
|
|
|
-D docs=disabled \
|
|
|
|
-D tests=disabled \
|
|
|
|
-D graphite=auto
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2012-12-04 18:09:54 +01:00
|
|
|
}
|