summaryrefslogtreecommitdiff
path: root/user/harfbuzz
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 03:21:19 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 03:21:19 -0500
commitf57eb499e909096b1bb0cbfa6147309cbdb8a246 (patch)
tree0a95cecb199878b66a992c14f717e6d05c058748 /user/harfbuzz
parent01f340e69062a9f65edbf7637e1ca59e8bf54acf (diff)
downloadpackages-f57eb499e909096b1bb0cbfa6147309cbdb8a246.tar.gz
packages-f57eb499e909096b1bb0cbfa6147309cbdb8a246.tar.bz2
packages-f57eb499e909096b1bb0cbfa6147309cbdb8a246.tar.xz
packages-f57eb499e909096b1bb0cbfa6147309cbdb8a246.zip
user/harfbuzz: pull in, bump to stable, fix
Diffstat (limited to 'user/harfbuzz')
-rw-r--r--user/harfbuzz/APKBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/user/harfbuzz/APKBUILD b/user/harfbuzz/APKBUILD
new file mode 100644
index 000000000..41817693d
--- /dev/null
+++ b/user/harfbuzz/APKBUILD
@@ -0,0 +1,59 @@
+# Contributor: Sören Tempel <soeren+alpinelinux@soeren-tempel.net>
+# Maintainer:
+pkgname=harfbuzz
+pkgver=1.8.2
+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="http://www.freedesktop.org/software/$pkgname/release/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./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() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ 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="c88a3e9e55866608647318a1af7c5d848863cd894d635583b8a2d2a7a02eea875b7a5a4f0f38555d80f2e81628743e40710f5e6f9251bf629f1d15ac51103e5a harfbuzz-1.8.2.tar.bz2"