diff options
Diffstat (limited to 'uselessPorts/gimp/Pkgfile')
-rw-r--r-- | uselessPorts/gimp/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/uselessPorts/gimp/Pkgfile b/uselessPorts/gimp/Pkgfile new file mode 100644 index 0000000..ce6c156 --- /dev/null +++ b/uselessPorts/gimp/Pkgfile @@ -0,0 +1,30 @@ +# Description: The GIMP +# URL: http://www.gimp.org/ +# Maintainer: Erich Eckner, crux at eckner dot net +# Packager: Simone Rota, sip at crux dot nu +# Depends on: libart_lgpl, xorg-libxmu, xorg-libxpm, gegl, babl, libmypaint +# Nice to have: gimp-print, libsdl, ghostscript, librsvg, libmng, gexiv2 + +name=gimp +version=2.9.8 +release=1 +source=(http://ftp.gimp.org/pub/gimp/v${version%.*}/gimp-$version.tar.bz2 cve-2013-1913) + +build() { + cd gimp-$version + + patch -p1 -i ../cve-2013-1913 + + sed -i -e '/$(helpbrowser)/d' plug-ins/Makefile.in + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-static \ + --disable-python \ + --disable-nls \ + --without-webkit LIBS="-lm" + + make + make DESTDIR=$PKG install + ln -s gimp-${version%.*} $PKG/usr/bin/gimp + rm -rf $PKG/usr/share/{gtk-doc,locale} +} |