aboutsummaryrefslogtreecommitdiffstats
path: root/main/graphite2
diff options
context:
space:
mode:
Diffstat (limited to 'main/graphite2')
-rw-r--r--main/graphite2/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/main/graphite2/APKBUILD b/main/graphite2/APKBUILD
index 11e876f75e..76ced7ecf2 100644
--- a/main/graphite2/APKBUILD
+++ b/main/graphite2/APKBUILD
@@ -1,10 +1,11 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=graphite2
-pkgver=1.3.2
+_realname=${pkgname/2/}
+pkgver=1.3.5
pkgrel=0
pkgdesc="reimplementation of the SIL Graphite text processing engine"
-url="http://projects.palaso.org/projects/graphitedev/"
+url="http://graphite.sil.org/"
arch="all"
license="LGPL"
depends=""
@@ -12,12 +13,12 @@ depends_dev="freetype-dev"
makedepends="$depends_dev python cmake"
install=""
subpackages="$pkgname-dev"
-source="http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite2-$pkgver.tgz
+source="$pkgname-$pkgver.tar.gz::https://github.com/silnrsi/$_realname/archive/$pkgver.tar.gz
cmake.patch
graphite2-1.2.0-cmakepath.patch
"
-_builddir="$srcdir"/graphite2-$pkgver
+_builddir="$srcdir"/$_realname-$pkgver
prepare() {
local i
cd "$_builddir"
@@ -38,6 +39,7 @@ build() {
-DGRAPHITE2_COMPARE_RENDERER=OFF \
-DGRAPHITE2_NFILEFACE=ON \
-DGRAPHITE2_NSEGCACHE=ON || return 1
+
# fix unwanted -O3 cflag (taken form Debian)
find . -type f ! -name "rules" ! -name "changelog" -exec sed -i -e 's/\-O3//g' {} \;
make || return 1
@@ -48,12 +50,12 @@ package() {
make DESTDIR="$pkgdir/" install
}
-md5sums="5a99dbd27c6a1a707d28bd38ea808562 graphite2-1.3.2.tgz
+md5sums="a6ad5bfa234ae680fe3c22b55d9578fe graphite2-1.3.5.tar.gz
741b8e8c91e5363beb5b1fe7e268f404 cmake.patch
10df2e0a1ef4cee7edb9a6ad0c034b3c graphite2-1.2.0-cmakepath.patch"
-sha256sums="97af064ff07828f8724b5a9c27d63e2df5aef69a742f0f67cc3f68c3f15d3850 graphite2-1.3.2.tgz
+sha256sums="1c9064c4eb2b3ca03e7fdcfff47125c2304378f6cd4d76c5eba7d4f84d59324b graphite2-1.3.5.tar.gz
210e864979f4c49a9476d7e563013c39df40e5657bfd5f007f40897b9d636419 cmake.patch
865b6edadffb97a983cc28dafb6827005dea153f5187db859180bc43a4500200 graphite2-1.2.0-cmakepath.patch"
-sha512sums="331cfd3df7187ff5a00bb161da9d811086ce8964650526affd70c2d9f25ab3a4c341cb7198d63e84f9b28ceb4ba7017b23194ce3fd2ad3787035e51df8c72d61 graphite2-1.3.2.tgz
+sha512sums="6ca5636a7c511985d5b67707a6642060dc77175a2443254d290f95cf24767383a021e39e2e558b93fa62c90df086d2ef8ad85f1226d3c2a426a0175da67f998f graphite2-1.3.5.tar.gz
44dcff1e6c8c5e3df92eae8cab501c9605a1cd3e16b6cdce2e376d78fd08b26b7f6e037b7e5878099ba426a93572114169b5f64c4d2ae0bcbe223f1d28b00eb5 cmake.patch
4ef5414e6d554bb8d6ead435e38d061a073f350c313b7141158bb68332f5f57ca5250385875a387b828bb657964588e974143b96b5e11c2cd314871e7baddb88 graphite2-1.2.0-cmakepath.patch"