extra/gst-plugins-bad to 1.18.1-1

This commit is contained in:
Kevin Mihelich 2020-10-27 13:45:04 +00:00
parent 82f410b3c4
commit 120fe753f6
2 changed files with 5 additions and 29 deletions

View file

@ -1,22 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <jan.steffens@ltnglobal.com>
Date: Mon, 26 Oct 2020 16:24:08 +0100
Subject: [PATCH] opencv: allow compilation against 4.5.x
---
ext/opencv/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build
index 074272a9c..e3d1865da 100644
--- a/ext/opencv/meson.build
+++ b/ext/opencv/meson.build
@@ -66,7 +66,7 @@ if opencv_found
endif
endforeach
else
- opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.5.0'], required : false)
+ opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.6.0'], required : false)
opencv_found = opencv_dep.found()
if opencv_found
foreach h : libopencv4_headers

View file

@ -7,7 +7,7 @@
pkgbase=gst-plugins-bad pkgbase=gst-plugins-bad
pkgname=(gst-plugins-bad-libs gst-plugins-bad gst-plugin-opencv) pkgname=(gst-plugins-bad-libs gst-plugins-bad gst-plugin-opencv)
pkgver=1.18.0+54+gbd3532008 pkgver=1.18.1
pkgrel=1 pkgrel=1
pkgdesc="Multimedia graph framework - bad plugins" pkgdesc="Multimedia graph framework - bad plugins"
url="https://gstreamer.freedesktop.org/" url="https://gstreamer.freedesktop.org/"
@ -27,11 +27,9 @@ makedepends=(mjpegtools curl chromaprint libmms faad2 libdca libdvdnav
zxing-cpp opencv libva) zxing-cpp opencv libva)
checkdepends=(xorg-server-xvfb) checkdepends=(xorg-server-xvfb)
options=(!emptydirs) options=(!emptydirs)
_commit=bd3532008f2a12377c2d5b56e93cbfa53e1979cf # 1.18 _commit=e5c3c106a2da607953fea36e3a253b382c939684 # tags/1.18.1^0
source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git#commit=$_commit" source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git#commit=$_commit")
0001-opencv-allow-compilation-against-4.5.x.patch) sha256sums=('SKIP')
sha256sums=('SKIP'
'b310123298a4de09033c84b6e2a1ec01c7122320cddc3bff655c42c56d21d064')
pkgver() { pkgver() {
cd $pkgbase cd $pkgbase
@ -41,7 +39,7 @@ pkgver() {
prepare() { prepare() {
cd $pkgbase cd $pkgbase
git cherry-pick -n 3ea6387f969c0b08027fc959b8b8cd102708bceb # Fix svthevcenc test git cherry-pick -n 3ea6387f969c0b08027fc959b8b8cd102708bceb # Fix svthevcenc test
git apply -3 ../0001-opencv-allow-compilation-against-4.5.x.patch git cherry-pick -n 77f28ee3e71d1c5bd8278967963b08b226515dd1 # opencv 4.5
} }
build() { build() {