extra/gst-plugins-bad to 1.18.4-5

This commit is contained in:
Kevin Mihelich 2021-04-28 14:07:55 +00:00
parent 4126ad9ef7
commit 811c6b9442
2 changed files with 18 additions and 3 deletions

View file

@ -8,7 +8,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)
@ -28,8 +28,10 @@ makedepends=(mjpegtools curl chromaprint libmms faad2 libdca libdvdnav
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
@ -38,6 +40,7 @@ pkgver() {
prepare() {
cd $pkgbase
patch -p1 < ../gst-plugins-bad-openexr3.patch # Fix build with OpenEXR 3
}
build() {

View file

@ -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;