summaryrefslogtreecommitdiff
path: root/pcr/gimp-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/gimp-git/PKGBUILD')
-rw-r--r--pcr/gimp-git/PKGBUILD21
1 files changed, 6 insertions, 15 deletions
diff --git a/pcr/gimp-git/PKGBUILD b/pcr/gimp-git/PKGBUILD
index 313f2422b..0bd41c647 100644
--- a/pcr/gimp-git/PKGBUILD
+++ b/pcr/gimp-git/PKGBUILD
@@ -4,19 +4,19 @@
_pkgname=gimp
pkgname=gimp-git
pkgver=r35782.feaacaf
-pkgrel=1
+pkgrel=2
pkgdesc="GNU Image Manipulation Program"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.${_pkgname}.org/"
license=('GPL' 'LGPL')
depends=('pygtk' 'lcms2' 'libxpm' 'libwmf' 'libxmu' 'librsvg' 'libmng' 'dbus-glib'
'libgexiv2' 'gegl-git' 'jasper' 'desktop-file-utils' 'hicolor-icon-theme' 'babl'
- 'openexr' 'libgudev' 'libmypaint')
-makedepends=('intltool' 'webkitgtk2' 'poppler-glib' 'alsa-lib' 'iso-codes' 'ghostscript'
- 'git' 'gtk-doc')
+ 'libgudev' 'libmypaint-gegl-git' 'aalib') # 'openexr-git'
+makedepends=('intltool' 'webkitgtk2' 'poppler-glib' 'poppler-data' 'alsa-lib' 'iso-codes' 'ghostscript' 'gtk-doc' 'git')
optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cups print support'
'webkitgtk2: for the help browser'
'poppler-glib: for pdf support'
+ 'poppler-data: for pdf import with Cyrillic and CJK support'
'alsa-lib: for MIDI event controller module'
'ghostscript: for postscript support')
options=('!makeflags')
@@ -33,27 +33,18 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-prepare () {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- # fix headers patch
- sed -i 's|[<]mypaint-brush[.]h[>]|"libmypaint-git/mypaint-brush.h"|
- s|[<]mypaint-tiled-surface[.]h[>]|"libmypaint-git/mypaint-tiled-surface.h"|
- ' app/paint/gimpmybrush.c
-}
-
-
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./autogen.sh
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --enable-mp --enable-gimp-console --enable-python --without-aa
+ --enable-mp --enable-gimp-console --enable-python
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' "${pkgdir}"/usr/lib/gimp/2.0/plug-ins/*.py
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/python2|' "${pkgdir}"/usr/lib/gimp/2.0/plug-ins/*.py
install -D -m644 "${srcdir}/linux-kernel.gpl" "${pkgdir}/usr/share/gimp/2.0/palettes/Linux-kernel.gpl"
ln -s gimp-2.9 "${pkgdir}/usr/bin/gimp"