blob: be283657407796673c75b9c7102eb9699588a546 (
plain) (
tree)
|
|
# Contributor: Sören Tempel <soeren+alpinelinux@soeren-tempel.net>
# Maintainer:
pkgname=harfbuzz
pkgver=2.4.0
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.bz2"
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="daeaf029bd5d0d0674f930a8d0dcdc4e0b1253b2369c732c7b4fd130ab9438d0d9526967224a583ee58974c3b492874acaccdac13c71b58c950f0b3f031e505c harfbuzz-2.4.0.tar.bz2"
|