Date: Saturday, November 9, 2019 @ 15:10:11 Author: arojas Revision: 367277
archrelease: copy trunk to testing-x86_64 Added: gegl/repos/testing-x86_64/ gegl/repos/testing-x86_64/PKGBUILD (from rev 367276, gegl/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: gegl/repos/testing-x86_64/PKGBUILD (from rev 367276, gegl/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-11-09 15:10:11 UTC (rev 367277) @@ -0,0 +1,44 @@ +# Maintainer: Daniel Isenmann <dan...@archlinux.org> + +pkgname=gegl +pkgver=0.4.18 +pkgrel=1 +pkgdesc="Graph based image processing framework" +arch=('x86_64') +url="https://www.gegl.org/" +license=('GPL3' 'LGPL3') +depends=('babl' 'libspiro' 'json-glib' 'libgexiv2' 'libraw' 'openexr' 'librsvg' 'libtiff' 'luajit' 'jasper' 'lensfun' 'suitesparse') +makedepends=('intltool' 'ruby' 'mesa' 'glu' 'ffmpeg' 'exiv2' 'vala' 'gobject-introspection' 'git' 'meson' 'python-gobject') +optdepends=('ffmpeg: ffmpeg plugin') +_commit=2556eb7807dd9b3cb97f2769d8993f7a0c38e2a9 # tags/GEGL_0_4_18^0 +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() { + cd ${pkgname} + git cherry-pick -n c1c3541caab485384087bbbcf1c83ef2d5bd4d43 +} + +build() { + mkdir -p build + cd build + arch-meson ../$pkgname \ + -Dworkshop=true \ + -Dmrg=disabled + ninja +} + +check() { + cd build + ninja test || : +} + +package() { + cd build + DESTDIR="${pkgdir}" ninja install +}