2009-10-08 21:19:37 +02:00
|
|
|
# Description: The GIMP
|
2021-01-29 11:56:44 +00:00
|
|
|
# URL: https://www.gimp.org/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2021-02-20 17:30:54 +00:00
|
|
|
# Depends on: gegl glib-networking gtk gtk3 libart_lgpl mypaint-brushes poppler-data xorg-libxmu xorg-libxpm
|
|
|
|
# Optional: ghostscript gimp-print libmng libsdl
|
2009-10-08 21:19:37 +02:00
|
|
|
|
|
|
|
name=gimp
|
2022-01-03 14:18:39 +01:00
|
|
|
version=2.10.30
|
2020-07-06 11:29:29 +02:00
|
|
|
release=1
|
2021-02-20 17:30:54 +00:00
|
|
|
source=(https://download.gimp.org/pub/gimp/v${version%.*}/$name-$version.tar.bz2
|
|
|
|
0001-no-check-update.patch)
|
2009-10-08 21:19:37 +02:00
|
|
|
|
|
|
|
build() {
|
2020-05-15 08:57:39 +10:00
|
|
|
cd $name-$version
|
2013-12-09 18:27:34 +01:00
|
|
|
|
2021-02-20 17:30:54 +00:00
|
|
|
patch -Np1 -i $SRC/0001-no-check-update.patch
|
2009-10-08 21:19:37 +02:00
|
|
|
sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in
|
2021-02-20 17:30:54 +00:00
|
|
|
|
2009-10-08 21:19:37 +02:00
|
|
|
./configure --prefix=/usr \
|
2018-10-02 23:06:16 +10:00
|
|
|
--libexecdir=/usr/bin \
|
2021-02-20 17:30:54 +00:00
|
|
|
--with-bug-report-url=https://crux.nu/bugs \
|
|
|
|
--enable-mp \
|
2009-10-08 21:19:37 +02:00
|
|
|
--disable-static \
|
|
|
|
--disable-python \
|
2011-05-17 09:45:12 +02:00
|
|
|
--disable-nls \
|
2021-02-20 17:30:54 +00:00
|
|
|
--disable-check-update \
|
2019-07-20 19:43:11 +02:00
|
|
|
--without-webkit
|
2015-12-06 21:03:30 +01:00
|
|
|
|
2009-10-08 21:19:37 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2019-07-20 19:43:11 +02:00
|
|
|
|
|
|
|
mv $PKG/usr/share/man/man1/gimp-console{-${version%.*}.1,.1}
|
|
|
|
rm -r $PKG/usr/share/{gtk-doc,locale}
|
2009-10-08 21:19:37 +02:00
|
|
|
}
|