harfbuzz: switch to meson and enable introspection

This commit is contained in:
Daniel Kolesa 2020-09-07 21:59:13 +02:00
parent 97bc93c1ad
commit eec8d3a228
1 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,12 @@
# Template file for 'harfbuzz'
pkgname=harfbuzz
version=2.7.2
revision=1
build_style=gnu-configure
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
hostmakedepends="automake glib-devel libtool pkg-config"
revision=2
build_style=meson
build_helper=gir
configure_args="-Dglib=enabled -Dfreetype=enabled -Dcairo=enabled -Dicu=enabled
-Dgraphite=enabled -Dintrospection=enabled"
hostmakedepends="automake glib-devel libtool pkg-config gtk-doc"
makedepends="cairo-devel graphite-devel icu-devel"
short_desc="OpenType text shaping engine"
maintainer="Duncaen <duncaen@voidlinux.org>"
@ -14,10 +16,6 @@ changelog="https://raw.githubusercontent.com/harfbuzz/harfbuzz/master/NEWS"
distfiles="https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz"
checksum=b8c048d7c2964a12f2c80deb6634dfc836b603dd12bf0d0a3df1627698e220ce
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense COPYING LICENSE
}
@ -26,6 +24,7 @@ libharfbuzz_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/girepository-1.0
}
}
@ -37,6 +36,7 @@ harfbuzz-devel_package() {
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}