summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2020-02-29 20:23:36 +0000
committerDaniel Bermond2020-02-29 20:23:36 +0000
commit3cea727ccb237ca066344a901c2cc84a3e392780 (patch)
tree36e0a4bbe344fe0a062548e496bb5270b2be649f
parent3f577558ab056ab8aa1d5039c2cfb082eca51a84 (diff)
downloadaur-3cea727ccb237ca066344a901c2cc84a3e392780.tar.gz
Add support for decklink-sdk 11.5
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85294dd5711..26ea31e6150 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ffmpeg-decklink
pkgdesc = Complete solution to record, convert and stream audio and video (decklink enabled)
pkgver = 4.2.2
- pkgrel = 2
+ pkgrel = 3
epoch = 1
url = https://www.ffmpeg.org/
arch = x86_64
@@ -74,6 +74,7 @@ pkgbase = ffmpeg-decklink
conflicts = ffmpeg
source = https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.xz
source = https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.xz.asc
+ source = ffmpeg-full-add-decklink-11.5-support.patch::https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/f32f9231dd4f74d9f95eef575b838bdc3e06a234
source = LICENSE
validpgpkeys = FCF986EA15E6E293A5644F10B4322F04D67658D8
sha256sums = cb754255ab0ee2ea5f66f8850e1bd6ad5cac1cd855d0a2f4990fb8c668b0d29c
diff --git a/PKGBUILD b/PKGBUILD
index 68e2b51b2d7..0ab57538e7e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ffmpeg-decklink
pkgver=4.2.2
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc='Complete solution to record, convert and stream audio and video (decklink enabled)'
arch=('x86_64')
@@ -74,12 +74,18 @@ provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
'ffmpeg')
conflicts=('ffmpeg')
source=("https://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz"{,.asc}
+ 'ffmpeg-full-add-decklink-11.5-support.patch'::'https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/f32f9231dd4f74d9f95eef575b838bdc3e06a234'
'LICENSE')
sha256sums=('cb754255ab0ee2ea5f66f8850e1bd6ad5cac1cd855d0a2f4990fb8c668b0d29c'
'SKIP'
'04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36')
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
+prepare() {
+ # add decklink-sdk 11.5 support
+ patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/ffmpeg-full-add-decklink-11.5-support.patch"
+}
+
build() {
cd "ffmpeg-${pkgver}"