[arch-commits] Commit in gegl/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sun Aug 19 10:29:47 UTC 2018
Date: Sunday, August 19, 2018 @ 10:29:46
Author: arojas
Revision: 332650
archrelease: copy trunk to staging-x86_64
Added:
gegl/repos/staging-x86_64/
gegl/repos/staging-x86_64/PKGBUILD
(from rev 332649, gegl/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: gegl/repos/staging-x86_64/PKGBUILD (from rev 332649, gegl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-19 10:29:46 UTC (rev 332650)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=gegl
+pkgver=0.4.4
+pkgrel=3
+pkgdesc="Graph based image processing framework"
+arch=('x86_64')
+url="http://www.gegl.org/"
+license=('GPL3' 'LGPL3')
+depends=('babl' 'libspiro' 'json-glib' 'libgexiv2' 'libraw' 'openexr' 'librsvg' 'libtiff' 'lua' 'jasper' 'lensfun' 'suitesparse')
+makedepends=('intltool' 'ruby' 'mesa' 'glu' 'ffmpeg' 'exiv2' 'vala' 'python2' 'gobject-introspection' 'git')
+optdepends=('ffmpeg: ffmpeg plugin')
+_commit=e786ee8f5a357c7a153ef9f1a76b61e2604960f7 # master
+source=("git+https://gitlab.gnome.org/GNOME/gegl.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^GEGL_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ mkdir path
+ ln -s /usr/bin/python2 path/python
+
+ cd ${pkgname}
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ export PATH="$srcdir/path:$PATH" PYTHON=/usr/bin/python2
+ cd ${pkgname}
+ ./configure --prefix=/usr --with-sdl --with-librsvg \
+ --with-libavformat --with-jasper --disable-docs \
+ --enable-workshop
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ export PATH="$srcdir/path:$PATH" PYTHON=/usr/bin/python2
+ cd ${pkgname}
+ make -k check || :
+}
+
+package() {
+ export PATH="$srcdir/path:$PATH" PYTHON=/usr/bin/python2
+ cd ${pkgname}
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list