2017-04-29 18:33:15 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable instrospection, currently broken
|
|
|
|
|
|
|
|
pkgname=gegl
|
2017-12-21 11:53:42 +00:00
|
|
|
pkgver=0.3.26
|
2017-09-08 12:49:01 +00:00
|
|
|
pkgrel=1
|
2017-04-29 18:33:15 +00:00
|
|
|
pkgdesc="Graph based image processing framework"
|
2017-12-21 11:53:42 +00:00
|
|
|
arch=('x86_64')
|
2017-04-29 18:33:15 +00:00
|
|
|
url="http://www.gegl.org/"
|
|
|
|
license=('GPL3' 'LGPL3')
|
2017-09-08 12:49:01 +00:00
|
|
|
depends=('babl' 'libspiro' 'json-glib' 'libgexiv2')
|
|
|
|
makedepends=('intltool' 'ruby' 'lua' 'libraw' 'openexr' 'mesa' 'glu' 'ffmpeg' 'librsvg' 'jasper'
|
|
|
|
'libtiff' 'exiv2' 'vala' 'python2' 'suitesparse' 'lensfun' 'gobject-introspection'
|
|
|
|
'git')
|
2017-04-29 18:33:15 +00:00
|
|
|
optdepends=('libraw: raw plugin'
|
|
|
|
'openexr: openexr plugin'
|
|
|
|
'ffmpeg: ffmpeg plugin'
|
|
|
|
'suitesparse: matting-levin plugin'
|
|
|
|
'librsvg: svg plugin'
|
|
|
|
'jasper: jasper plugin'
|
|
|
|
'libtiff: tiff plugin'
|
|
|
|
'lua: lua plugin'
|
|
|
|
'lensfun: lens-correct plugin')
|
2017-12-21 11:53:42 +00:00
|
|
|
_commit=6352c9328dc92c75dafe94a56ff1e6636a8a4563 # tags/GEGL_0_3_26^0
|
2017-04-29 18:33:15 +00:00
|
|
|
source=("git+https://git.gnome.org/browse/gegl#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 --enable-introspection=no
|
|
|
|
|
|
|
|
# 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
|
|
|
|
}
|