2012-09-27 13:09:12 +00:00
|
|
|
# Template build file for 'harfbuzz'.
|
|
|
|
pkgname=harfbuzz
|
2014-02-04 04:02:33 +00:00
|
|
|
version=0.9.26
|
2014-04-04 23:00:11 +00:00
|
|
|
revision=2
|
2012-09-27 13:09:12 +00:00
|
|
|
build_style=gnu-configure
|
2013-08-22 07:01:54 +00:00
|
|
|
configure_args="--with-glib --with-freetype --with-cairo --with-icu --with-graphite2"
|
2013-04-20 07:18:52 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-09-25 06:46:51 +00:00
|
|
|
makedepends="libglib-devel icu-devel freetype-devel cairo-devel graphite-devel"
|
2012-09-27 13:09:12 +00:00
|
|
|
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"
|
2014-02-04 04:02:33 +00:00
|
|
|
checksum=5ded7dc3d15fb5c9230d7a224b9256b67b35fde30193b4c3a4c3f6b13110e257
|
2013-04-12 13:42:53 +00:00
|
|
|
|
2013-05-06 11:53:13 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2014-02-04 04:09:21 +00:00
|
|
|
hostmakedepends+=" automake libtool glib-devel"
|
2013-08-22 07:04:54 +00:00
|
|
|
pre_configure() {
|
2014-02-04 04:09:21 +00:00
|
|
|
autoreconf -fi
|
2013-08-22 07:04:54 +00:00
|
|
|
}
|
2013-05-06 11:53:13 +00:00
|
|
|
fi
|
|
|
|
|
2013-04-12 13:42:53 +00:00
|
|
|
libharfbuzz_package() {
|
2013-08-22 07:01:54 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-12 13:42:53 +00:00
|
|
|
pkg_install() {
|
2013-08-22 07:01:54 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 13:42:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
harfbuzz-devel_package() {
|
2013-11-03 06:23:37 +00:00
|
|
|
depends="libharfbuzz>=${version}_${revision}"
|
2013-08-22 07:01:54 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:42:53 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-22 07:01:54 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-12-04 08:10:44 +00:00
|
|
|
vmove usr/share/gtk-doc
|
2013-04-12 13:42:53 +00:00
|
|
|
}
|
|
|
|
}
|