author | Christian Hesse
<eworm@archlinux.org> 2023-02-22 11:34:20 UTC |
committer | Christian Hesse
<eworm@archlinux.org> 2023-02-22 11:34:20 UTC |
parent | b49d38264c161dc9cddc7aff4d4ff5e828874d9c |
PKGBUILD | +5 | -11 |
gegl-libraw-0.21.patch | +0 | -16 |
diff --git a/PKGBUILD b/PKGBUILD index 24b008f..12318cd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,9 +1,9 @@ # Maintainer: Daniel Isenmann <daniel@archlinux.org> pkgname=gegl -_tag='1d26feb07a7221b9d386b54bcdad963c8421e594' -pkgver=0.4.40 -pkgrel=4 +_tag='2a7d3122429f0b9a5bc8c1545680cb3fbafdeb80' +pkgver=0.4.42 +pkgrel=1 pkgdesc='Graph based image processing framework' arch=('x86_64') url='https://www.gegl.org/' @@ -14,20 +14,14 @@ makedepends=('exiv2' 'ffmpeg' 'git' 'glu' 'gobject-introspection' 'intltool' 'me 'meson' 'python-gobject' 'ruby' 'vala') 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') +source=("git+https://gitlab.gnome.org/GNOME/gegl.git#tag=$_tag") +sha256sums=('SKIP') 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 diff --git a/gegl-libraw-0.21.patch b/gegl-libraw-0.21.patch deleted file mode 100644 index d85ec33..0000000 --- a/gegl-libraw-0.21.patch +++ /dev/null @@ -1,16 +0,0 @@ -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;