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