# Contributor: Valery Kartel # Maintainer: Natanael Copa pkgname=gimp pkgver=2.10.34 pkgrel=0 pkgdesc="GNU Image Manipulation Program" url="https://www.gimp.org/" # nobody is using this on s390x arch="all !s390x" license="GPL-3.0-or-later" makedepends=" babl-dev dbus-glib-dev desktop-file-utils gegl-dev gexiv2-dev glib-networking gtk+2.0-dev intltool iso-codes-dev lcms2-dev libavif-dev libexif-dev libjpeg-turbo-dev libjxl-dev libmypaint-dev libpng-dev librsvg-dev libxcursor-dev libxmu-dev libxpm-dev mypaint-brushes poppler-data poppler-dev tiff-dev xz-dev " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gimp.org/pub/gimp/v${pkgver%.*}/gimp-$pkgver.tar.bz2" options="!check" # secfixes: # 2.8.22-r2: # - CVE-2017-17784 # - CVE-2017-17785 # - CVE-2017-17786 # - CVE-2017-17787 # - CVE-2017-17788 # - CVE-2017-17789 build() { CFLAGS="$CFLAGS -flto=auto" \ CXXFLAGS="$CXXFLAGS -flto=auto" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-dependency-tracking \ --sysconfdir=/etc \ --enable-mp \ --enable-gimp-console \ --disable-python \ --without-aa \ --disable-check-update make } check() { make check } package() { make DESTDIR="$pkgdir" install } dev() { default_dev amove usr/bin/gimptool* } sha512sums=" 4802ce3758daba868570f1ac97a3f1cb41e1130fcc6376f9bf4c999441f8fd25937aa71b6f726d82d7c780f4153b11d2595bb76bc2356a42266909fbcc0bd34a gimp-2.10.34.tar.bz2 "