author | Christian Hesse
<eworm@archlinux.org> 2021-09-06 07:34:09 UTC |
committer | Christian Hesse
<eworm@archlinux.org> 2021-09-06 07:34:09 UTC |
parent | 865708c952540e741c63ffd9eeacc31e04286959 |
PKGBUILD | +6 | -15 |
gegl-openexr3.patch | +0 | -12 |
diff --git a/PKGBUILD b/PKGBUILD index 47dc2f2..a1fc860 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,9 @@ # Maintainer: Daniel Isenmann <daniel@archlinux.org> pkgname=gegl -pkgver=0.4.30 -pkgrel=6 +_tag='0a29f670c2c4052017908ae705f83954c0204287' +pkgver=0.4.32 +pkgrel=1 pkgdesc="Graph based image processing framework" arch=('x86_64') url="https://www.gegl.org/" @@ -10,22 +11,12 @@ license=('GPL3' 'LGPL3') depends=('babl' 'libspiro' 'json-glib' 'libgexiv2' 'libraw' 'openexr' 'librsvg' 'libtiff' 'luajit' 'jasper' 'lensfun' 'suitesparse' 'poppler-glib') makedepends=('intltool' 'ruby' 'mesa' 'glu' 'ffmpeg' 'exiv2' 'vala' 'gobject-introspection' 'git' 'meson' 'python-gobject') optdepends=('ffmpeg: ffmpeg plugin' 'graphviz: for gegl-introspect') -_commit=5ea11ee00d9061ca2cd61f83ece25dfcfe0e9596 -source=("git+https://gitlab.gnome.org/GNOME/gegl.git#commit=$_commit" - gegl-openexr3.patch) -sha256sums=('SKIP' - '49f0870650d2c412d66e7479e2c516f3a3903a801db1c221cf262de77d45b3dd') +source=("git+https://gitlab.gnome.org/GNOME/gegl.git#tag=$_tag") +sha256sums=('SKIP') pkgver() { cd $pkgname - git describe --tags | sed 's/^GEGL_//;s/_/./g;s/-/+/g' -} - -prepare() { - cd ${pkgname} - git cherry-pick -n c1c3541caab485384087bbbcf1c83ef2d5bd4d43 - - patch -p1 < ../gegl-openexr3.patch # Fix build with OpenEXR 3 + git describe --tags | sed 's/^GEGL_//;s/_$//;s/_/./g;s/-/+/g' } build() { diff --git a/gegl-openexr3.patch b/gegl-openexr3.patch deleted file mode 100644 index 6c5a415..0000000 --- a/gegl-openexr3.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/operations/external/exr-save.cc b/operations/external/exr-save.cc -index 1e8c09d96..87abed511 100644 ---- a/operations/external/exr-save.cc -+++ b/operations/external/exr-save.cc -@@ -45,6 +45,7 @@ extern "C" { - #include <ImfChromaticities.h> - #include <ImfStandardAttributes.h> - #include <ImfArray.h> -+#include <ImfFrameBuffer.h> - #include "ImathRandom.h" - -