# Contributor: Valery Kartel # Maintainer: Natanael Copa pkgname=gimp pkgver=2.10.8 pkgrel=1 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/mirror/pub/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2" 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="b458dd710b786152f95a8e48a0727b71cac549fccb31ac9e1e6ac3c617652079773ce7076401f8ade750ed38bdc78dfdec3317423f4c4e9c931f78002bd7454e gimp-2.10.8.tar.bz2"