* update ffmpeg to 2:6.1-3

This commit is contained in:
Alexander Baldeck 2023-12-20 07:17:59 +01:00
parent db61a31303
commit ede7516e03

View File

@ -1,3 +1,4 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
@ -6,7 +7,7 @@
pkgname=ffmpeg
pkgver=6.1
pkgrel=1
pkgrel=3
epoch=2
pkgdesc='Complete solution to record, convert and stream audio and video'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -16,8 +17,11 @@ depends=(
alsa-lib
aom
bzip2
cairo
fontconfig
fribidi
glib2
glibc
gmp
gnutls
gsm
@ -31,14 +35,17 @@ depends=(
libdrm
libfreetype.so
libgl
libharfbuzz.so
libiec61883
libjxl.so
libmodplug
libopenmpt.so
libplacebo.so
libpulse
librav1e.so
libraw1394
librsvg-2.so
librubberband.so
libsoxr
libssh
libtheora
@ -65,6 +72,7 @@ depends=(
openjpeg2
opus
sdl2
snappy
speex
srt
svt-av1
@ -81,6 +89,8 @@ makedepends=(
amf-headers
avisynthplus
clang
ffnvcodec-headers
frei0r-plugins
git
ladspa
mesa
@ -88,17 +98,15 @@ makedepends=(
vulkan-headers
)
makedepends_x86_64=(
ffnvcodec-headers
nasm
)
optdepends=(
'avisynthplus: AviSynthPlus support'
'ladspa: LADSPA filters'
)
optdepends_x86_64=(
'frei0r-plugins: Frei0r video effects support'
'intel-media-sdk: Intel QuickSync support (legacy)'
'onevpl-intel-gpu: Intel QuickSync support'
'ladspa: LADSPA filters'
'nvidia-utils: Nvidia NVDEC/NVENC support'
'onevpl-intel-gpu: Intel QuickSync support'
)
provides=(
libavcodec.so
@ -112,7 +120,6 @@ provides=(
)
options=(
debug
!distcc
)
_tag=3cdfac27d3ea06f8719faed48b4ae2e75e94a463
source=(
@ -135,6 +142,11 @@ prepare() {
# use non-deprecated nvenc GUID for conftest
git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f
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
patch -Np1 -i ../powerpc-altivec.patch
}
@ -150,7 +162,6 @@ build() {
case "${CARCH}" in
x86_64) _configure_flags=(
--enable-cuda-llvm
--enable-libmfx
--enable-nvdec
--enable-nvenc
--enable-libvpl
@ -167,6 +178,7 @@ build() {
--enable-avisynth \
--enable-lto \
--enable-fontconfig \
--enable-frei0r \
--enable-gmp \
--enable-gnutls \
--enable-gpl \
@ -180,6 +192,7 @@ build() {
--enable-libfreetype \
--enable-libfribidi \
--enable-libgsm \
--enable-libharfbuzz \
--enable-libiec61883 \
--enable-libjack \
--enable-libjxl \
@ -190,9 +203,12 @@ build() {
--enable-libopenjpeg \
--enable-libopenmpt \
--enable-libopus \
--enable-libplacebo \
--enable-libpulse \
--enable-librav1e \
--enable-librsvg \
--enable-librubberband \
--enable-libsnappy \
--enable-libsoxr \
--enable-libspeex \
--enable-libsrt \
@ -215,7 +231,7 @@ build() {
--enable-opengl \
--enable-shared \
--enable-version3 \
--enable-vulkan ${_configure_flags[@]}
--enable-vulkan
make
make tools/qt-faststart
make doc/ff{mpeg,play}.1