[arch-commits] Commit in gst-plugins-bad/trunk (2 files)

Antonio Rojas arojas at archlinux.org
Sat Apr 24 10:41:14 UTC 2021


    Date: Saturday, April 24, 2021 @ 10:41:14
  Author: arojas
Revision: 413824

openexr 3.0 rebuild

Added:
  gst-plugins-bad/trunk/gst-plugins-bad-openexr3.patch
Modified:
  gst-plugins-bad/trunk/PKGBUILD

--------------------------------+
 PKGBUILD                       |    9 ++++++---
 gst-plugins-bad-openexr3.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-24 10:11:00 UTC (rev 413823)
+++ PKGBUILD	2021-04-24 10:41:14 UTC (rev 413824)
@@ -4,7 +4,7 @@
 pkgbase=gst-plugins-bad
 pkgname=(gst-plugins-bad-libs gst-plugins-bad gst-plugin-opencv gst-plugin-wpe)
 pkgver=1.18.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Multimedia graph framework - bad plugins"
 url="https://gstreamer.freedesktop.org/"
 arch=(x86_64)
@@ -24,8 +24,10 @@
 checkdepends=(xorg-server-xvfb)
 options=(!emptydirs)
 _commit=8cb03bdf01ca6ad8c87f951bcd7962c3ca9f6860  # tags/1.18.4^0
-source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git#commit=$_commit"
+         gst-plugins-bad-openexr3.patch)
+sha256sums=('SKIP'
+            '6bf2b72021586efa41b35507beedb939e952cfd612ce50f5f9e704cf1bd1d876')
 
 pkgver() {
   cd $pkgbase
@@ -34,6 +36,7 @@
 
 prepare() {
   cd $pkgbase
+  patch -p1 < ../gst-plugins-bad-openexr3.patch # Fix build with OpenEXR 3
 }
 
 build() {

Added: gst-plugins-bad-openexr3.patch
===================================================================
--- gst-plugins-bad-openexr3.patch	                        (rev 0)
+++ gst-plugins-bad-openexr3.patch	2021-04-24 10:41:14 UTC (rev 413824)
@@ -0,0 +1,12 @@
+diff --git a/ext/openexr/gstopenexrdec.cpp b/ext/openexr/gstopenexrdec.cpp
+index eeb316cb1..32b1d03c3 100644
+--- a/ext/openexr/gstopenexrdec.cpp
++++ b/ext/openexr/gstopenexrdec.cpp
+@@ -29,6 +29,7 @@
+ 
+ #include <ImfRgbaFile.h>
+ #include <ImfIO.h>
++#include <ImfInt64.h>
+ using namespace Imf;
+ using namespace Imath;
+ 



More information about the arch-commits mailing list