extra/ffmpeg to 6.1-2

This commit is contained in:
Kevin Mihelich 2023-12-06 13:55:56 +00:00
parent 522cd19ad8
commit b86c7c9d90
2 changed files with 31 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = ffmpeg pkgbase = ffmpeg
pkgdesc = Complete solution to record, convert and stream audio and video pkgdesc = Complete solution to record, convert and stream audio and video
pkgver = 6.1 pkgver = 6.1
pkgrel = 1 pkgrel = 2
epoch = 2 epoch = 2
url = https://ffmpeg.org/ url = https://ffmpeg.org/
arch = x86_64 arch = x86_64
@ -10,6 +10,7 @@ pkgbase = ffmpeg
makedepends = avisynthplus makedepends = avisynthplus
makedepends = clang makedepends = clang
makedepends = ffnvcodec-headers makedepends = ffnvcodec-headers
makedepends = frei0r-plugins
makedepends = git makedepends = git
makedepends = ladspa makedepends = ladspa
makedepends = mesa makedepends = mesa
@ -19,8 +20,11 @@ pkgbase = ffmpeg
depends = alsa-lib depends = alsa-lib
depends = aom depends = aom
depends = bzip2 depends = bzip2
depends = cairo
depends = fontconfig depends = fontconfig
depends = fribidi depends = fribidi
depends = glib2
depends = glibc
depends = gmp depends = gmp
depends = gnutls depends = gnutls
depends = gsm depends = gsm
@ -34,14 +38,17 @@ pkgbase = ffmpeg
depends = libdrm depends = libdrm
depends = libfreetype.so depends = libfreetype.so
depends = libgl depends = libgl
depends = libharfbuzz.so
depends = libiec61883 depends = libiec61883
depends = libjxl.so depends = libjxl.so
depends = libmodplug depends = libmodplug
depends = libopenmpt.so depends = libopenmpt.so
depends = libplacebo.so
depends = libpulse depends = libpulse
depends = librav1e.so depends = librav1e.so
depends = libraw1394 depends = libraw1394
depends = librsvg-2.so depends = librsvg-2.so
depends = librubberband.so
depends = libsoxr depends = libsoxr
depends = libssh depends = libssh
depends = libtheora depends = libtheora
@ -69,6 +76,7 @@ pkgbase = ffmpeg
depends = openjpeg2 depends = openjpeg2
depends = opus depends = opus
depends = sdl2 depends = sdl2
depends = snappy
depends = speex depends = speex
depends = srt depends = srt
depends = svt-av1 depends = svt-av1
@ -78,10 +86,11 @@ pkgbase = ffmpeg
depends = xz depends = xz
depends = zlib depends = zlib
optdepends = avisynthplus: AviSynthPlus support optdepends = avisynthplus: AviSynthPlus support
optdepends = frei0r-plugins: Frei0r video effects support
optdepends = intel-media-sdk: Intel QuickSync support (legacy) optdepends = intel-media-sdk: Intel QuickSync support (legacy)
optdepends = onevpl-intel-gpu: Intel QuickSync support
optdepends = ladspa: LADSPA filters optdepends = ladspa: LADSPA filters
optdepends = nvidia-utils: Nvidia NVDEC/NVENC support optdepends = nvidia-utils: Nvidia NVDEC/NVENC support
optdepends = onevpl-intel-gpu: Intel QuickSync support
provides = libavcodec.so provides = libavcodec.so
provides = libavdevice.so provides = libavdevice.so
provides = libavfilter.so provides = libavfilter.so

View file

@ -17,7 +17,7 @@
pkgname=ffmpeg pkgname=ffmpeg
pkgver=6.1 pkgver=6.1
pkgrel=1 pkgrel=2
epoch=2 epoch=2
pkgdesc='Complete solution to record, convert and stream audio and video' pkgdesc='Complete solution to record, convert and stream audio and video'
arch=(x86_64) arch=(x86_64)
@ -26,8 +26,11 @@ license=(GPL3)
depends=( depends=(
alsa-lib alsa-lib
bzip2 bzip2
cairo
fontconfig fontconfig
fribidi fribidi
glib2
glibc
gmp gmp
gnutls gnutls
gsm gsm
@ -40,13 +43,16 @@ depends=(
libdav1d.so libdav1d.so
libdrm libdrm
libfreetype.so libfreetype.so
libharfbuzz.so
libgl libgl
libiec61883 libiec61883
libjxl.so libjxl.so
libmodplug libmodplug
libplacebo.so
libopenmpt.so libopenmpt.so
libpulse libpulse
libraw1394 libraw1394
librubberband.so
librsvg-2.so librsvg-2.so
libsoxr libsoxr
libssh libssh
@ -73,6 +79,7 @@ depends=(
opencore-amr opencore-amr
openjpeg2 openjpeg2
opus opus
snappy
sdl2 sdl2
speex speex
srt srt
@ -85,6 +92,7 @@ makedepends=(
amf-headers amf-headers
avisynthplus avisynthplus
clang clang
frei0r-plugins
git git
ladspa ladspa
mesa mesa
@ -94,6 +102,7 @@ makedepends=(
) )
optdepends=( optdepends=(
'avisynthplus: AviSynthPlus support' 'avisynthplus: AviSynthPlus support'
'frei0r-plugins: Frei0r video effects support'
'ladspa: LADSPA filters' 'ladspa: LADSPA filters'
) )
provides=( provides=(
@ -128,6 +137,11 @@ prepare() {
# use non-deprecated nvenc GUID for conftest # use non-deprecated nvenc GUID for conftest
git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f
git cherry-pick -n d2b46c1ef768bc31ba9180f6d469d5b8be677500 git cherry-pick -n d2b46c1ef768bc31ba9180f6d469d5b8be677500
# Fix VDPAU vo
git cherry-pick -n e9c93009fc34ca9dfcf0c6f2ed90ef1df298abf7
# Fix bug in av_fft_end
git cherry-pick -n a562cfee2e214252f8b3f516527272ae32ef9532
git cherry-pick -n 250471ea1745fc703eb346a2a662304536a311b1
} }
pkgver() { pkgver() {
@ -148,6 +162,7 @@ build() {
--enable-avisynth \ --enable-avisynth \
--enable-cuda-llvm \ --enable-cuda-llvm \
--enable-fontconfig \ --enable-fontconfig \
--enable-frei0r \
--enable-gmp \ --enable-gmp \
--enable-gnutls \ --enable-gnutls \
--enable-gpl \ --enable-gpl \
@ -160,6 +175,7 @@ build() {
--enable-libfreetype \ --enable-libfreetype \
--enable-libfribidi \ --enable-libfribidi \
--enable-libgsm \ --enable-libgsm \
--enable-libharfbuzz \
--enable-libiec61883 \ --enable-libiec61883 \
--enable-libjack \ --enable-libjack \
--enable-libjxl \ --enable-libjxl \
@ -170,8 +186,11 @@ build() {
--enable-libopenjpeg \ --enable-libopenjpeg \
--enable-libopenmpt \ --enable-libopenmpt \
--enable-libopus \ --enable-libopus \
--enable-libplacebo \
--enable-libpulse \ --enable-libpulse \
--enable-librsvg \ --enable-librsvg \
--enable-librubberband \
--enable-libsnappy \
--enable-libsoxr \ --enable-libsoxr \
--enable-libspeex \ --enable-libspeex \
--enable-libsrt \ --enable-libsrt \