extra/ffmpeg to 6.0-3

This commit is contained in:
Kevin Mihelich 2023-03-09 18:00:37 +00:00
parent 1e053b5f90
commit 9fc7f1b3bc

View file

@ -15,8 +15,8 @@
# - remove --enable-lto # - remove --enable-lto
pkgname=ffmpeg pkgname=ffmpeg
pkgver=5.1.2 pkgver=6.0
pkgrel=2 pkgrel=3
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)
@ -42,6 +42,7 @@ depends=(
libgl libgl
libiec61883 libiec61883
libmodplug libmodplug
libopenmpt.so
libpulse libpulse
libraw1394 libraw1394
librsvg-2.so librsvg-2.so
@ -106,7 +107,7 @@ provides=(
options=( options=(
debug debug
) )
_tag=1326fe9d4c85cca1ee774b072ef4fa337694f2e7 _tag=3949db4d261748a9f34358a388ee255ad1a7f0c0
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
@ -118,7 +119,6 @@ validpgpkeys=(DD1EC9E8DE085C629B3E1846B18E8928B3948D64) # Michael Niedermayer <m
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
git cherry-pick -n eb0455d64690eed0068e5cb202f72ecdf899837c # https://github.com/FFmpeg/FFmpeg/commit/eb0455d64690eed0068e5cb202f72ecdf899837c
} }
pkgver() { pkgver() {
@ -158,6 +158,7 @@ build() {
--enable-libopencore_amrnb \ --enable-libopencore_amrnb \
--enable-libopencore_amrwb \ --enable-libopencore_amrwb \
--enable-libopenjpeg \ --enable-libopenjpeg \
--enable-libopenmpt \
--enable-libopus \ --enable-libopus \
--enable-libpulse \ --enable-libpulse \
--enable-librsvg \ --enable-librsvg \