author | Antonio Rojas
<arojas@archlinux.org> 2021-04-24 10:51:55 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2021-04-24 10:51:55 UTC |
parent | ae39059a0e8cc08d485553613b6f6c57d028735b |
PKGBUILD | +7 | -3 |
gegl-openexr3.patch | +12 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index da13393..86b5e82 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=gegl pkgver=0.4.30 -pkgrel=1 +pkgrel=2 pkgdesc="Graph based image processing framework" arch=('x86_64') url="https://www.gegl.org/" @@ -11,8 +11,10 @@ depends=('babl' 'libspiro' 'json-glib' 'libgexiv2' 'libraw' 'openexr' 'librsvg' 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") -sha256sums=('SKIP') +source=("git+https://gitlab.gnome.org/GNOME/gegl.git#commit=$_commit" + gegl-openexr3.patch) +sha256sums=('SKIP' + '49f0870650d2c412d66e7479e2c516f3a3903a801db1c221cf262de77d45b3dd') pkgver() { cd $pkgname @@ -22,6 +24,8 @@ pkgver() { prepare() { cd ${pkgname} git cherry-pick -n c1c3541caab485384087bbbcf1c83ef2d5bd4d43 + + patch -p1 < ../gegl-openexr3.patch # Fix build with OpenEXR 3 } build() { diff --git a/gegl-openexr3.patch b/gegl-openexr3.patch new file mode 100644 index 0000000..6c5a415 --- /dev/null +++ b/gegl-openexr3.patch @@ -0,0 +1,12 @@ +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" + +