summaryrefslogtreecommitdiff
path: root/main/harfbuzz
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-23 13:15:18 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-26 21:20:41 +0000
commit4153bffc1dc689089880ad136ef4bab83d5e29bc (patch)
treedf9fc26c7cc95c10396e962deeb534869e055f83 /main/harfbuzz
parent6aee2ae4c4f2aa50b2111c97b9b128316e115cf7 (diff)
downloadaports-4153bffc1dc689089880ad136ef4bab83d5e29bc.zip
main/harfbuzz: modernise, add check, introspection
Diffstat (limited to 'main/harfbuzz')
-rw-r--r--main/harfbuzz/APKBUILD22
1 files changed, 16 insertions, 6 deletions
diff --git a/main/harfbuzz/APKBUILD b/main/harfbuzz/APKBUILD
index 3f65274403a..1bfe5edc9ec 100644
--- a/main/harfbuzz/APKBUILD
+++ b/main/harfbuzz/APKBUILD
@@ -2,13 +2,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=harfbuzz
pkgver=1.6.3
-pkgrel=0
+pkgrel=1
pkgdesc="Text shaping library"
url="http://freedesktop.org/wiki/Software/HarfBuzz"
arch="all"
license="MIT"
depends=""
-makedepends="freetype-dev glib-dev cairo-dev icu-dev graphite2-dev"
+makedepends="freetype-dev glib-dev gobject-introspection-dev cairo-dev icu-dev
+ graphite2-dev"
+checkdepends="python3"
subpackages="$pkgname-dev $pkgname-icu"
source="http://www.freedesktop.org/software/$pkgname/release/$pkgname-$pkgver.tar.bz2"
@@ -24,14 +26,22 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static \
+ --with-glib \
+ --with-gobject \
--with-graphite2 \
- || return 1
- make || return 1
+ --with-icu \
+ --with-truetype
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- make DESTDIR="$pkgdir" \
- -C "$builddir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
dev() {