summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/gimp-devel/PKGBUILD51
-rw-r--r--pcr/gimp-devel/gimp.install12
-rw-r--r--pcr/gimp-devel/linux-kernel.gpl19
-rw-r--r--pcr/gimp-git/PKGBUILD21
4 files changed, 88 insertions, 15 deletions
diff --git a/pcr/gimp-devel/PKGBUILD b/pcr/gimp-devel/PKGBUILD
new file mode 100644
index 000000000..e0fe93411
--- /dev/null
+++ b/pcr/gimp-devel/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# Maintainer (Arch): Daniel Isenmann <daniel@archlinux.org>
+
+_pkgname=gimp
+pkgname=gimp-devel
+pkgver=2.9.2
+pkgrel=1
+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' 'jasper' 'desktop-file-utils' 'hicolor-icon-theme' 'babl'
+ 'libgudev' 'libmypaint' 'aalib') # 'openexr-git'
+makedepends=('intltool' 'webkitgtk2' 'poppler-glib' 'poppler-data' 'alsa-lib' 'iso-codes' 'ghostscript' 'gtk-doc')
+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')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+install=${_pkgname}.install
+source=(http://download.${_pkgname}.org/pub/${_pkgname}/v${pkgver%.*}/${_pkgname}-${pkgver}.tar.bz2
+ linux-kernel.gpl)
+md5sums=('aa8a846a497e3328c5b7d2fd33f5cf63'
+ '36854ad996c96df06249f1e94bd996d5')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --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/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"
+ ln -s gimp-console-2.9 "${pkgdir}/usr/bin/gimp-console"
+ ln -s gimptool-2.0 "${pkgdir}/usr/bin/gimptool"
+ ln -sf gimp-2.9.1.gz "${pkgdir}/usr/share/man/man1/gimp.1.gz"
+ ln -sf gimp-console-2.9.1.gz "${pkgdir}/usr/share/man/man1/gimp-console.1.gz"
+ ln -sf gimptool-2.0.1.gz "${pkgdir}/usr/share/man/man1/gimptool.1.gz"
+ ln -sf gimprc-2.9.5.gz "${pkgdir}/usr/share/man/man5/gimprc.5.gz"
+}
diff --git a/pcr/gimp-devel/gimp.install b/pcr/gimp-devel/gimp.install
new file mode 100644
index 000000000..c317fbaca
--- /dev/null
+++ b/pcr/gimp-devel/gimp.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/gimp-devel/linux-kernel.gpl b/pcr/gimp-devel/linux-kernel.gpl
new file mode 100644
index 000000000..a1ffb198b
--- /dev/null
+++ b/pcr/gimp-devel/linux-kernel.gpl
@@ -0,0 +1,19 @@
+GIMP Palette
+Name: linux-kernel
+#
+ 0 0 0
+ 0 0 170
+ 0 170 0
+ 0 170 170
+170 0 0
+170 0 170
+170 85 0
+170 170 170
+ 85 85 85
+ 85 85 255
+ 85 255 85
+ 85 255 255
+255 85 85
+255 85 255
+255 255 85
+255 255 255
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"