Files
banan-os/ports/harfbuzz/build.sh
T
Bananymous 1d618ea39d ports: Remove circular harfbuzz/freetype/cairo dependency
I don't even know why I was rebuilding cairo and freetype can be just
configured with dynamic harfbuzz
2026-08-25 15:32:54 +03:00

29 lines
622 B
Bash
Executable File

#!/bin/bash ../install.sh
NAME='harfbuzz'
VERSION='14.3.1'
DOWNLOAD_URL="https://github.com/harfbuzz/harfbuzz/releases/download/$VERSION/harfbuzz-$VERSION.tar.xz#9dae9538aae2ffdf70cec31f2c27bf68e2aaeeae3112688467697d5faf6194f7"
DEPENDENCIES=('glib' 'freetype' 'icu')
CONFIGURE_OPTIONS=(
'-Dprefix=/usr'
'-Dbuildtype=release'
'-Dtests=disabled'
'-Dcairo=disabled'
)
configure() {
meson setup \
--reconfigure \
--cross-file "$MESON_CROSS_FILE" \
"${CONFIGURE_OPTIONS[@]}" \
build || exit 1
}
build() {
meson compile -C build || exit 1
}
install() {
meson install --destdir="$DESTDIR" -C build || exit 1
}