blob: 9717600ca6f613fd22006b402b0139efeeba3ca1 (
plain)
1 # Description: The GIMP
2 # URL: https://www.gimp.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: gegl glib-networking gtk gtk3 libart_lgpl mypaint-brushes poppler-data xorg-libxmu xorg-libxpm
5 # Optional: ghostscript gimp-print libmng libsdl
6
7 name=gimp
8 version=2.10.32
9 release=1
10 source=(https://download.gimp.org/pub/gimp/v${version%.*}/$name-$version.tar.bz2
11 0001-no-check-update.patch)
12
13 build() {
14 cd $name-$version
15
16 patch -Np1 -i $SRC/0001-no-check-update.patch
17 sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
18
19 ./configure --prefix=/usr \
20 --libexecdir=/usr/bin \
21 --with-bug-report-url=https://crux.nu/bugs \
22 --enable-mp \
23 --disable-static \
24 --disable-python \
25 --disable-nls \
26 --disable-check-update \
27 --without-webkit
28
29 make
30 make DESTDIR=$PKG install
31
32 mv $PKG/usr/share/man/man1/gimp-console{-${version%.*}.1,.1}
33 rm -r $PKG/usr/share/{gtk-doc,locale}
34 }
|