void-packages/srcpkgs/harfbuzz/template
2021-07-28 19:14:51 +02:00

39 lines
1.2 KiB
Bash

# Template file for 'harfbuzz'
pkgname=harfbuzz
version=2.8.2
revision=1
build_style=meson
build_helper=gir
configure_args="-Dglib=enabled -Dfreetype=enabled -Dcairo=enabled -Dicu=enabled
-Dgraphite=enabled -Dintrospection=enabled"
hostmakedepends="glib-devel pkg-config gtk-doc"
makedepends="cairo-devel graphite-devel icu-devel"
short_desc="OpenType text shaping engine"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/"
changelog="https://github.com/harfbuzz/harfbuzz/raw/master/NEWS"
distfiles="https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz"
checksum=d58461395ce28b9dc03903254374dd70c38c8c28c5046db123c08f7ab9417be7
libharfbuzz_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/lib/girepository-1.0
vlicense COPYING LICENSE
}
}
harfbuzz-devel_package() {
depends="${makedepends} libharfbuzz>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}