diff options
Diffstat (limited to 'extra/graphicsmagick/PKGBUILD')
-rw-r--r-- | extra/graphicsmagick/PKGBUILD | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/extra/graphicsmagick/PKGBUILD b/extra/graphicsmagick/PKGBUILD index 6c9ac7775..2b19aa09f 100644 --- a/extra/graphicsmagick/PKGBUILD +++ b/extra/graphicsmagick/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 198048 2013-10-30 12:29:09Z allan $ +# $Id: PKGBUILD 202659 2013-12-23 18:00:07Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> @@ -6,27 +6,43 @@ pkgname=graphicsmagick pkgver=1.3.18 -pkgrel=3 +pkgrel=6 pkgdesc='Image processing system' url='http://www.graphicsmagick.org/' arch=('i686' 'x86_64' 'mips64el') license=('MIT') -makedepends=('perl') -depends=('bzip2' 'freetype2' 'ghostscript' 'jasper' 'lcms2' 'xz' - 'libtiff' 'libwmf' 'libsm' 'libxml2' 'libltdl') -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/GraphicsMagick-${pkgver}.tar.xz") -sha1sums=('085c23666adcf88585119cb6aea7efe5c58481d4') +optdepends=('jasper: jp2 module' + 'libpng: png module' + 'libwmf: wmf module' + 'libxml2: msl, svg, url modules' + 'libtiff: ps2, ps3, tiff modules' + 'ghostscript: pdf, ps modules') +makedepends=('perl' 'jasper' 'libpng' 'libwmf' 'libxml2' 'libtiff') +depends=('freetype2' 'libxext' 'libsm' 'lcms2' 'libltdl' 'bzip2' 'xz') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/GraphicsMagick-${pkgver}.tar.xz" + 'benign.patch') +sha1sums=('085c23666adcf88585119cb6aea7efe5c58481d4' + '04e16b9fe255e87cf16d4c61e313e8cdf7b2e24e') + +options=('!emptydirs' 'libtool') + +prepare() { + cd "${srcdir}/GraphicsMagick-${pkgver}" + patch -p1 -i ../benign.patch +} build() { cd "${srcdir}/GraphicsMagick-${pkgver}" ./configure \ --prefix=/usr \ - --with-perl \ --enable-shared \ - --disable-static \ + --with-modules \ + --with-perl \ --with-gs-font-dir=/usr/share/fonts/Type1 \ - + --with-quantum-depth=32 \ + --with-openmp \ + --with-threads make } |