Date: Monday, January 2, 2023 @ 23:05:35
Author: foutrelis
Revision: 465234
archrelease: copy trunk to staging-x86_64
Added:
gegl/repos/staging-x86_64/
gegl/repos/staging-x86_64/PKGBUILD
(from rev 465233, gegl/trunk/PKGBUILD)
gegl/repos/staging-x86_64/gegl-libraw-0.21.patch
(from rev 465233, gegl/trunk/gegl-libraw-0.21.patch)
------------------------+
PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++++++++++++
gegl-libraw-0.21.patch | 16 +++++++++++++++
2 files changed, 66 insertions(+)
Copied: gegl/repos/staging-x86_64/PKGBUILD (from rev 465233,
gegl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2023-01-02 23:05:35 UTC (rev 465234)
@@ -0,0 +1,50 @@
+# Maintainer: Daniel Isenmann <[email protected]>
+
+pkgname=gegl
+_tag='1d26feb07a7221b9d386b54bcdad963c8421e594'
+pkgver=0.4.40
+pkgrel=4
+pkgdesc='Graph based image processing framework'
+arch=('x86_64')
+url='https://www.gegl.org/'
+license=('GPL3' 'LGPL3')
+depends=('babl' 'jasper' 'json-glib' 'lensfun' 'libgexiv2' 'libraw' 'librsvg'
'libspiro'
+ 'libtiff' 'luajit' 'openexr' 'poppler-glib' 'suitesparse')
+makedepends=('exiv2' 'ffmpeg' 'git' 'glu' 'gobject-introspection' 'intltool'
'mesa'
+ 'meson' 'python-gobject' 'ruby' 'vala')
+options=('debug')
+optdepends=('ffmpeg: ffmpeg plugin'
+ 'graphviz: for gegl-introspect')
+source=("git+https://gitlab.gnome.org/GNOME/gegl.git#tag=$_tag"
+ gegl-libraw-0.21.patch)
+sha256sums=('SKIP'
+ '16bfd56e3139dba47f4839e46d27df339a1ed9f57c63b58cb071713c5741c8c7')
+
+pkgver() {
+ cd "${pkgname}"
+ git describe --tags | sed 's/^GEGL_//;s/_$//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ patch -d $pkgname -p1 < gegl-libraw-0.21.patch # Fix build with libraw 0.21
+}
+
+build() {
+ mkdir -p build
+ cd build
+ arch-meson ../"${pkgname}" \
+ -Dworkshop=true \
+ -Dmrg=disabled \
+ -Dmaxflow=disabled
+ ninja
+}
+
+check() {
+ cd build
+ ninja test || :
+}
+
+package() {
+ cd build
+ DESTDIR="${pkgdir}" ninja install
+}
Copied: gegl/repos/staging-x86_64/gegl-libraw-0.21.patch (from rev 465233,
gegl/trunk/gegl-libraw-0.21.patch)
===================================================================
--- staging-x86_64/gegl-libraw-0.21.patch (rev 0)
+++ staging-x86_64/gegl-libraw-0.21.patch 2023-01-02 23:05:35 UTC (rev
465234)
@@ -0,0 +1,16 @@
+diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c
+index 13eb661c2..7de2e232d 100644
+--- a/operations/external/raw-load.c
++++ b/operations/external/raw-load.c
+@@ -114,7 +114,11 @@ prepare (GeglOperation *operation)
+ g_warning ("raw-load: Error Initializing raw library");
+ else
+ {
++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
++ p->LibRaw->rawparams.shot_select = o->image_num;
++#else
+ p->LibRaw->params.shot_select = o->image_num;
++#endif
+
+ p->LibRaw->params.aber[0] = 1.0;
+ p->LibRaw->params.aber[2] = 1.0;