# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=graphicsmagick pkgver=1.3.26 pkgrel=1 pkgdesc="Image processing system" url="http://www.graphicsmagick.org/" arch="all" license="MIT" depends="" depends_dev="jasper-dev libpng-dev tiff-dev libxml2-dev libwmf-dev" makedepends="$depends_dev libtool libltdl" install="" subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname/$pkgver/GraphicsMagick-$pkgver.tar.xz CVE-2017-11403.patch" options="libtool" builddir="$srcdir"/GraphicsMagick-$pkgver # security fixes: # 1.3.26-r1: # - CVE-2017-11403 build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-shared \ --disable-static \ --with-modules \ --with-threads \ --with-gs-font-dir=/usr/share/fonts/Type1 \ --with-quantum-depth=16 \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="b33ca0f1c858428693aee27a9089acff9e63d1110f85fa036894cfefe6274e7b2422758ea39852f94fdb4823c9c3f3c44b0d8906627503301f5928096f739f22 GraphicsMagick-1.3.26.tar.xz 00cb425b9cb6cc0c7b92a6c795150222edf2d16d513f4d4c803ff15cfb1917e81c6854109aee0ca845d3668e515cec06c4067155f82a9ea0abde30f6bbd1e8c2 CVE-2017-11403.patch"