# Contributor: Valery Kartel # Maintainer: Natanael Copa pkgname=gimp pkgver=2.10.10 pkgrel=0 pkgdesc="GNU Image Manipulation Program" url="https://www.gimp.org/" arch="all" license="GPL-3.0-or-later" depends="dbus" makedepends="gtk+-dev libxpm-dev libxmu-dev librsvg-dev dbus-glib-dev libexif-dev desktop-file-utils intltool gegl-dev tiff-dev libjpeg-turbo-dev libpng-dev iso-codes-dev lcms2-dev poppler-dev babl-dev gexiv2-dev glib-networking xz-dev poppler-dev mypaint-brushes libmypaint-dev poppler-data libexecinfo-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gimp.org/pub/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2" options="!check" builddir="$srcdir/$pkgname-$pkgver" # secfixes: # 2.8.22-r2: # - CVE-2017-17784 # - CVE-2017-17785 # - CVE-2017-17786 # - CVE-2017-17787 # - CVE-2017-17788 # - CVE-2017-17789 build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-dependency-tracking \ --sysconfdir=/etc \ --enable-mp \ --enable-gimp-console \ --disable-python \ --without-aa make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } dev() { default_dev mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/gimptool* "$subpkgdir"/usr/bin } sha512sums="87caab9643a018e741e5e51c61220b7b282a66ed5bb723750cdf4139950f98c9ab246f4d6450420531d0e878c4561150efc4063cda896f08b25669bac4d1d172 gimp-2.10.10.tar.bz2"