gimp: update to 2.10.10.

This commit is contained in:
Johannes 2019-03-05 12:03:03 +01:00 committed by maxice8
parent 96a344be8d
commit c60e76e6be
2 changed files with 17 additions and 7 deletions

8
srcpkgs/gimp/INSTALL Normal file
View file

@ -0,0 +1,8 @@
# workaround for https://github.com/void-linux/xbps/issues/14
case "${ACTION}" in
pre)
if [ "$UPDATE" = "yes" ]; then
xbps-query -f gimp | grep "usr/lib/gimp/2.0/plug-ins" | sed -e 's|/||' | xargs rm
fi
;;
esac

View file

@ -1,11 +1,10 @@
# Template file for 'gimp'
pkgname=gimp
version=2.10.4
revision=8
lib32disabled=yes
version=2.10.10
revision=1
build_style=gnu-configure
hostmakedepends="automake gegl gettext-devel glib-devel gtk+-devel intltool
libtool pkg-config pygtk-devel perl-XML-Parser"
libtool pkg-config pygtk-devel perl-XML-Parser gtk-doc"
makedepends="aalib-devel alsa-lib-devel babl-devel dbus-glib-devel gegl-devel
ghostscript-devel jasper-devel lcms-devel libXcursor-devel libXpm-devel
libgexiv2-devel libgudev-devel libmng-devel libmypaint-devel
@ -13,13 +12,14 @@ makedepends="aalib-devel alsa-lib-devel babl-devel dbus-glib-devel gegl-devel
poppler-glib-devel pygtk-devel glib-networking libwebp-devel"
depends="desktop-file-utils gegl hicolor-icon-theme iso-codes
mypaint-brushes"
short_desc="The GNU image manipulation program"
short_desc="GNU image manipulation program"
conf_files="/etc/gimp/2.0/*"
maintainer="Kartik S <kartik.ynwa@gmail.com>"
license="GPL-3.0-only"
homepage="https://www.gimp.org"
distfiles="https://download.gimp.org/pub/gimp/v${version%.*}/gimp-${version}.tar.bz2"
checksum=ffb0768de14a2631b3d7ed71f283731441a1b48461766c23f0574dce0706f192
checksum=12d1f243265c7aee1f2c6e97883a5c90ddc0b19b4346cf822e24adbb6c998c77
lib32disabled=yes
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
@ -61,6 +61,8 @@ gimp-python_package() {
short_desc+=" - Python2 bindings"
pkg_install() {
vmove usr/lib/gimp/2.0/python
vmove "usr/lib/gimp/2.0/plug-ins/*.py"
for file in $(find ${DESTDIR}/usr/lib/gimp/2.0/plug-ins -name *.py); do
vmove ${file/$DESTDIR/}
done
}
}