summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorarojas <arojas@eb2447ed-0c53-47e4-bac8-5bc4a241df78>2019-10-19 07:04:55 +0000
committersvntogit <svntogit@nymeria.archlinux.org>2019-10-19 07:04:55 +0000
commitc492ca7ca96ce85642830b67e22e88610b8dc483 (patch)
treeae9fc5ffe6b08eae1460f2bce83eb7683e54f2b4
parent554b383ae8ec4a8aef7cb6dd3425a438619d6fca (diff)
archrelease: copy trunk to staging-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@365188 eb2447ed-0c53-47e4-bac8-5bc4a241df78
-rw-r--r--repos/staging-x86_64/PKGBUILD61
-rw-r--r--repos/staging-x86_64/linux.gpl19
2 files changed, 80 insertions, 0 deletions
diff --git a/repos/staging-x86_64/PKGBUILD b/repos/staging-x86_64/PKGBUILD
new file mode 100644
index 0000000..47ac79d
--- /dev/null
+++ b/repos/staging-x86_64/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Isenmann <daniel@archlinux.org>
+
+pkgname=gimp
+pkgver=2.10.12
+pkgrel=4
+pkgdesc='GNU Image Manipulation Program'
+url='https://www.gimp.org/'
+arch=('x86_64')
+license=('GPL' 'LGPL')
+depends=('babl' 'dbus-glib' 'desktop-file-utils' 'gegl' 'glib-networking' 'hicolor-icon-theme'
+ 'jasper' 'lcms2' 'libheif' 'libexif' 'libgudev' 'libmng' 'libmypaint' 'librsvg' 'libwebp'
+ 'libwmf' 'libxmu' 'libxpm' 'mypaint-brushes1' 'openexr' 'poppler-data' 'pygtk')
+makedepends=('alsa-lib' 'curl' 'ghostscript' 'gtk-doc' 'intltool' 'iso-codes' 'poppler-glib')
+optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cups print support'
+ 'poppler-glib: for pdf support'
+ 'alsa-lib: for MIDI event controller module'
+ 'curl: for URI support'
+ 'ghostscript: for postscript support')
+conflicts=('gimp-plugin-wavelet-decompose')
+replaces=('gimp-plugin-wavelet-decompose')
+source=(https://download.gimp.org/pub/gimp/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+ linux.gpl)
+sha256sums=('7d80b58e0784120d57d327294f6a1fda281ff51a61935c2cd764da281acaac71'
+ '1003bbf5fc292d0d63be44562f46506f7b2ca5729770da9d38d3bb2e8a2f36b3')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -vi
+}
+
+build() {
+pkg-config --exists --print-errors "OpenEXR >= 1.6.1"
+ cd ${pkgname}-${pkgver}
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/bin \
+ --enable-mp \
+ --enable-gimp-console \
+ --enable-python \
+ --enable-gtk-doc \
+ --with-bug-report-url='https://bugs.archlinux.org/?string=gimp' \
+ --with-openexr \
+ --without-aa
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 "${srcdir}/linux.gpl" "${pkgdir}/usr/share/gimp/2.0/palettes/Linux.gpl"
+
+ rm "${pkgdir}/usr/share/man/man1/gimp-console.1"
+ ln -s gimp-console-${pkgver%.*}.1.gz "${pkgdir}/usr/share/man/man1/gimp-console.1.gz"
+ ln -s gimptool-2.0 "${pkgdir}/usr/bin/gimptool"
+ ln -sf gimptool-2.0.1.gz "${pkgdir}/usr/share/man/man1/gimptool.1.gz"
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/repos/staging-x86_64/linux.gpl b/repos/staging-x86_64/linux.gpl
new file mode 100644
index 0000000..0a73d89
--- /dev/null
+++ b/repos/staging-x86_64/linux.gpl
@@ -0,0 +1,19 @@
+GIMP Palette
+Name: linux
+#
+ 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