extra/ffmpeg to 7.1-2

This commit is contained in:
Kevin Mihelich 2024-11-08 01:29:01 +00:00
parent 1375ca6d91
commit f407b5de98
2 changed files with 12 additions and 13 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 = 7.0.2 pkgver = 7.1
pkgrel = 3 pkgrel = 2
epoch = 2 epoch = 2
url = https://ffmpeg.org url = https://ffmpeg.org
arch = x86_64 arch = x86_64
@ -27,6 +27,7 @@ pkgbase = ffmpeg
depends = fribidi depends = fribidi
depends = glib2 depends = glib2
depends = glibc depends = glibc
depends = glslang
depends = gmp depends = gmp
depends = gnutls depends = gnutls
depends = gsm depends = gsm
@ -101,10 +102,10 @@ pkgbase = ffmpeg
provides = libswresample.so provides = libswresample.so
provides = libswscale.so provides = libswscale.so
options = debug options = debug
source = git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=a18b979d17fa169a6f93c5be8732533c8e06337d source = git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=507a51fbe9732f0f6f12f43ce12431e8faa834b7
source = add-av_stream_get_first_dts-for-chromium.patch source = add-av_stream_get_first_dts-for-chromium.patch
validpgpkeys = DD1EC9E8DE085C629B3E1846B18E8928B3948D64 validpgpkeys = DD1EC9E8DE085C629B3E1846B18E8928B3948D64
b2sums = bcc0fb367d2822665f0918292a0cf581e0119d6ba6d2e3d0b6e794b6f74d30c118b5c47e26b5687473f01b346f8ec7e885f80729ce6115e18003b2371ff4553f b2sums = c7ec6b1db61608195117b79f3f0c8f6323c3abeb39721359da0f10e7d739da8301e04ff5fa83c022f86fc760f66e00066f9a50d97b771f797ccc679f9d912c40
b2sums = 555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de b2sums = 555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de
pkgname = ffmpeg pkgname = ffmpeg
@ -118,6 +119,7 @@ pkgname = ffmpeg
depends = fribidi depends = fribidi
depends = glib2 depends = glib2
depends = glibc depends = glibc
depends = glslang
depends = gmp depends = gmp
depends = gnutls depends = gnutls
depends = gsm depends = gsm

View file

@ -15,8 +15,8 @@
# - remove --enable-lto # - remove --enable-lto
pkgname=ffmpeg pkgname=ffmpeg
pkgver=7.0.2 pkgver=7.1
pkgrel=3.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)
@ -32,6 +32,7 @@ depends=(
fribidi fribidi
glib2 glib2
glibc glibc
glslang
gmp gmp
gnutls gnutls
gsm gsm
@ -118,23 +119,18 @@ provides=(
options=( options=(
debug debug
) )
_tag=a18b979d17fa169a6f93c5be8732533c8e06337d _tag=507a51fbe9732f0f6f12f43ce12431e8faa834b7
source=( source=(
git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=${_tag} git+https://git.ffmpeg.org/ffmpeg.git?signed#tag=${_tag}
add-av_stream_get_first_dts-for-chromium.patch add-av_stream_get_first_dts-for-chromium.patch
) )
b2sums=('bcc0fb367d2822665f0918292a0cf581e0119d6ba6d2e3d0b6e794b6f74d30c118b5c47e26b5687473f01b346f8ec7e885f80729ce6115e18003b2371ff4553f' b2sums=('c7ec6b1db61608195117b79f3f0c8f6323c3abeb39721359da0f10e7d739da8301e04ff5fa83c022f86fc760f66e00066f9a50d97b771f797ccc679f9d912c40'
'555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de') '555274228e09a233d92beb365d413ff5c718a782008075552cafb2130a3783cf976b51dfe4513c15777fb6e8397a34122d475080f2c4483e8feea5c0d878e6de')
validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <michael@niedermayer.cc> validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <michael@niedermayer.cc>
prepare() { prepare() {
cd ffmpeg cd ffmpeg
patch -Np1 -i ../add-av_stream_get_first_dts-for-chromium.patch # https://crbug.com/1251779 patch -Np1 -i ../add-av_stream_get_first_dts-for-chromium.patch # https://crbug.com/1251779
# Fix VAAPI AV1 performance with Mesa
git cherry-pick -n fe9d889dcd79ea18d4dfaa39df4ddbd4c8c3b15c
git cherry-pick -n d2d911eb9a2fc6eb8d86b3ae025a56c1a2692fba
} }
pkgver() { pkgver() {
@ -169,6 +165,7 @@ build() {
--enable-libdvdread \ --enable-libdvdread \
--enable-libfreetype \ --enable-libfreetype \
--enable-libfribidi \ --enable-libfribidi \
--enable-libglslang \
--enable-libgsm \ --enable-libgsm \
--enable-libharfbuzz \ --enable-libharfbuzz \
--enable-libiec61883 \ --enable-libiec61883 \