summaryrefslogtreecommitdiff
path: root/pcr/gimp-devel
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-devel
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-devel')
-rw-r--r--pcr/gimp-devel/PKGBUILD51
-rw-r--r--pcr/gimp-devel/gimp.install12
-rw-r--r--pcr/gimp-devel/linux-kernel.gpl19
3 files changed, 82 insertions, 0 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