blob: 06746f1d1dab2883dcdf872999e7bb3482f5dc74 (
plain) (
tree)
|
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=harfbuzz
pkgver=2.6.7
pkgrel=0
pkgdesc="Text shaping library"
url="https://www.freedesktop.org/wiki/Software/HarfBuzz"
arch="all"
options="!check" # tests depend on certain freetype behaviours
license="MIT"
depends=""
makedepends="cairo-dev freetype-dev glib-dev gobject-introspection-dev icu-dev
graphite2-dev"
checkdepends="python3"
subpackages="$pkgname-dev $pkgname-icu"
source="https://www.freedesktop.org/software/$pkgname/release/$pkgname-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static \
--with-glib \
--with-gobject \
--with-graphite2 \
--with-icu \
--with-truetype
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
dev() {
default_dev
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
icu() {
pkgdesc="Harfbuzz ICU support library"
replaces="harfbuzz"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/lib*icu.so.* "$subpkgdir"/usr/lib/
}
sha512sums="6fdd6e0952a73e1949349aa5416ef8fb3fc351b15c95be4fe1f341b111159fe58113b73a334db2697f4e3aaef5a761bd8f1d8964514406cad40f9862768d59de harfbuzz-2.6.7.tar.xz"
|