smlinux/gtk/harfbuzz/harfbuzz.SMBuild

34 lines
No EOL
815 B
Text
Executable file

app=harfbuzz
version=7.1.0
build=1sml
homepage="https://www.freedesktop.org/wiki/Software/HarfBuzz"
download="https://github.com/harfbuzz/harfbuzz/archive/refs/tags/$version.tar.gz"
desc="OpenType text shaping engine"
requires="glib python3 icu pixman fontconfig libxcb libxext cairo gobject-introspection graphite2"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix="/" \
-Dgraphite2=enabled
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
1f5735dc79c4a395faa2798eaad941b964baabedcf40bcdd6e501464c6b411ceddbddc214a67ee798a4364b57e128a92ab8b2ac5e94286158999bb42ebdd1703 harfbuzz-7.1.0.tar.lz
"