diff options
Diffstat (limited to 'extra/graphviz')
-rw-r--r-- | extra/graphviz/PKGBUILD | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD index 1fa7bf596..d50151cb6 100644 --- a/extra/graphviz/PKGBUILD +++ b/extra/graphviz/PKGBUILD @@ -1,44 +1,31 @@ -# $Id: PKGBUILD 178429 2013-02-22 00:30:19Z bisson $ +# $Id: PKGBUILD 178958 2013-03-01 10:20:33Z andrea $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: kevin <kevin@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> pkgname=graphviz pkgver=2.30.0 -pkgrel=5 +pkgrel=6 pkgdesc='Graph visualization software' url='http://www.graphviz.org/' license=('custom:EPL') arch=('i686' 'x86_64' 'mips64el') depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts') -case $CARCH in - mips64el) -# r and ocaml aren't ported yet -# no one's interested on mono -makedepends=('swig' 'guile' 'lua51' 'perl' 'php' 'python2' 'ruby' 'tk' 'qt') +makedepends=('swig' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'ruby' 'tk' 'qt4') optdepends=('guile: guile bindings' 'lua51: lua bindings' - 'perl: perl bindings' - 'php: php bindings' - 'python2: python bindings' - 'ruby: ruby bindings' - 'tcl: tcl bindings' - 'qt: gvedit') - ;; - *) -makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'ruby' 'tk' 'qt') -optdepends=('mono: sharp bindings' - 'guile: guile bindings' - 'lua51: lua bindings' 'ocaml: ocaml bindings' 'perl: perl bindings' 'php: php bindings' 'python2: python bindings' - 'r: r bindings' 'ruby: ruby bindings' 'tcl: tcl bindings' - 'qt: gvedit') -esac + 'qt4: gvedit') +if [ "$CARCH" != "mips64el" ]; then + makedepends+=('mono' 'r') + optdepends+=('mono: sharp bindings' + 'r: r bindings') +fi source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz" 'LICENSE') sha1sums=('596c1ddf60c5428c5c4700d10f3ea86534195311' @@ -50,6 +37,8 @@ install=install build() { cd "${srcdir}/${pkgname}-${pkgver}" + . /etc/profile.d/qt4.sh + sed \ -e '/"archdir"/s:$:+" '"$(echo -I/usr/include/ruby-1.9.1/{$CARCH-linux,ruby/backward,})"'":' \ -e '/CONFIG/s:site:vendor:' \ |