summaryrefslogtreecommitdiff
path: root/extra/graphite
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-12-23 18:50:52 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-12-23 18:50:52 +0100
commitc827b7e42ac7fb33713211b2fd7e0e5648fa1202 (patch)
treedf393c5f417ee38fbf8766fc9a72d2187b9e74db /extra/graphite
parent974aa5156f1b16ee7a9369badf73021b2e1e5aa5 (diff)
parentd4cde61aa9a5ccdde242a2bfe9eb7973a49acb49 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/fcitx/PKGBUILD extra/graphite/PKGBUILD extra/subversion/PKGBUILD
Diffstat (limited to 'extra/graphite')
-rw-r--r--extra/graphite/PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/extra/graphite/PKGBUILD b/extra/graphite/PKGBUILD
index d27b87d9a..5e504f972 100644
--- a/extra/graphite/PKGBUILD
+++ b/extra/graphite/PKGBUILD
@@ -1,31 +1,37 @@
-# $Id: PKGBUILD 142675 2011-11-12 18:27:50Z ibiru $
+# $Id: PKGBUILD 173763 2012-12-22 16:44:26Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgname=graphite
-pkgver=1.0.3
-pkgrel=1.1
+pkgver=1.2.0
+pkgrel=1
epoch=1
arch=('i686' 'x86_64' 'mips64el')
-url="http://graphite.sil.org/"
+url="http://projects.palaso.org/projects/graphitedev"
pkgdesc='reimplementation of the SIL Graphite text processing engine'
-license=('custom_SIL Dual license')
+license=('LGPL' 'GPL' 'custom')
depends=('gcc-libs')
-makedepends=('cmake' 'freetype2')
+makedepends=('cmake' 'freetype2' 'python2')
+# 'doxygen' 'texlive-latexextra' 'graphviz' 'asciidoc' 'perl-module-build' 'icu') - only for docs - target doesn't install properly
options=('!libtool' '!emptydirs')
source=("http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite2-${pkgver}.tgz")
-md5sums=('3bf481ca95109b14435125c0dd1f2217')
+md5sums=('f5ef3f7f10fa8c3542c6a085a233080b')
build() {
cd "${srcdir}"
+ sed -i "s:\/usr\/bin\/python:\/usr\/bin\/python2:" graphite2-${pkgver}/tests/{jsoncmp,fuzztest,defuzz,corrupt.py}
mkdir build
cd build
cmake -G "Unix Makefiles" ../graphite2-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DGRAPHITE2_COMPARE_RENDERER=OFF
make
+ make docs
}
check() {
cd "${srcdir}"/build
+ sed -i "s:python:python2:g" tests/CTestTestfile.cmake
ctest
}