# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=graphicsmagick pkgver=1.3.31 pkgrel=1 pkgdesc="Image processing system" url="http://www.graphicsmagick.org/" arch="all" license="MIT" makedepends="jasper-dev libpng-dev tiff-dev libxml2-dev libwmf-dev freetype-dev libtool libltdl libwebp-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://downloads.sourceforge.net/$pkgname/$pkgname/$pkgver/GraphicsMagick-$pkgver.tar.xz" options="libtool !check" builddir="$srcdir"/GraphicsMagick-$pkgver # security fixes: # 1.3.27-r0: # - CVE-2017-11102 # - CVE-2017-14314 # - CVE-2017-14504 # - CVE-2017-14733 # - CVE-2017-14994 # - CVE-2017-14997 # - CVE-2017-15930 # - CVE-2017-14649 # 1.3.26-r5: # - CVE-2017-13065 # - CVE-2017-13648 # - CVE-2017-14042 # - CVE-2017-14103 # - CVE-2017-14165 # 1.3.26-r3: # - CVE-2017-13775 # - CVE-2017-13776 # - CVE-2017-13777 # 1.3.26-r2: # - CVE-2017-11642 # - CVE-2017-11722 # - CVE-2017-12935 # - CVE-2017-12936 # - CVE-2017-12937 # - CVE-2017-13063 # - CVE-2017-13064 # 1.3.25-r2: # - 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 \ --disable-openmp \ --with-modules \ --with-threads \ --with-gs-font-dir=/usr/share/fonts/Type1 \ --with-quantum-depth=16 \ --with-webp \ --with-ttf make } package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install } sha512sums="7bfc38fcbe32a049650f46a4f3c1137bea827490fe3fdbd71dc0c70afbcf513195ef7f8e94557774c7cb83e60249f2c5be7d8cfc8ef33043e99b39cea2edbf19 GraphicsMagick-1.3.31.tar.xz"