40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'harfbuzz'
|
|
pkgname=harfbuzz
|
|
version=7.1.0
|
|
revision=2
|
|
build_style=meson
|
|
build_helper="gir qemu"
|
|
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 libxml2"
|
|
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/main/NEWS"
|
|
distfiles="https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz"
|
|
checksum=f135a61cd464c9ed6bc9823764c188f276c3850a8dc904628de2a87966b7077b
|
|
|
|
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
|
|
}
|
|
}
|