39 lines
1 KiB
Text
39 lines
1 KiB
Text
# Template build file for 'harfbuzz'.
|
|
pkgname=harfbuzz
|
|
version=0.9.26
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel icu-devel freetype-devel cairo-devel graphite-devel"
|
|
short_desc="OpenType text shaping engine"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.pango.org/"
|
|
license="LGPL-2.1"
|
|
distfiles="http://www.freedesktop.org/software/harfbuzz/release/${pkgname}-${version}.tar.bz2"
|
|
checksum=5ded7dc3d15fb5c9230d7a224b9256b67b35fde30193b4c3a4c3f6b13110e257
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" automake libtool glib-devel"
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
fi
|
|
|
|
libharfbuzz_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
harfbuzz-devel_package() {
|
|
depends="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
|
|
}
|
|
}
|