39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Template file for 'harfbuzz'
|
|
pkgname=harfbuzz
|
|
version=1.1.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
|
|
hostmakedepends="automake libtool pkg-config glib-devel"
|
|
makedepends="libglib-devel icu-devel freetype-devel cairo-devel graphite-devel"
|
|
short_desc="An OpenType text shaping engine"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.freedesktop.org/wiki/Software/HarfBuzz/"
|
|
license="MIT"
|
|
distfiles="${FREEDESKTOP_SITE}/harfbuzz/release/${pkgname}-${version}.tar.bz2"
|
|
checksum=4a2c5790bd3db7c3ca8c02e4858f2fd592df7932c1d2fa9f6b99acbce0f8461f
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
libharfbuzz_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
harfbuzz-devel_package() {
|
|
depends="${makedepends} libharfbuzz>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|