summaryrefslogtreecommitdiff
path: root/pcr/gimp-git
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-12-01 23:45:35 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-12-01 23:45:35 -0300
commit4836f612b1798c46d6b7a9941e21201ac1c4ff3a (patch)
tree951abac064299fa7c0d0f0b096537bacb7a96194 /pcr/gimp-git
parent79a6553cb609070bdff9907beaba398673c0f7f7 (diff)
downloadabslibre-4836f612b1798c46d6b7a9941e21201ac1c4ff3a.tar.gz
abslibre-4836f612b1798c46d6b7a9941e21201ac1c4ff3a.tar.bz2
abslibre-4836f612b1798c46d6b7a9941e21201ac1c4ff3a.zip
gimp-devel: add pkg to [pcr]; gimp-git: fix pkg
Diffstat (limited to 'pcr/gimp-git')
-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"