From 10f29c5f1da8a0978272af0a351ba9cb1ec3cb83 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 13 Oct 2022 05:30:12 +0000 Subject: ffmpeg: update to 5.1.2 (be in sync with -current again) --- ffmpeg/build/ffmpeg.SlackBuild | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'ffmpeg') diff --git a/ffmpeg/build/ffmpeg.SlackBuild b/ffmpeg/build/ffmpeg.SlackBuild index c7209d00..d2c6a4ce 100755 --- a/ffmpeg/build/ffmpeg.SlackBuild +++ b/ffmpeg/build/ffmpeg.SlackBuild @@ -206,6 +206,8 @@ # 4.4.2-1: 28/may/2022 by Eric Hameleers # * Update. Refreshed internal libva, dav1d, fribidi, SDL2, # libass and libvdpau libraries. +# 5.1.2-1: 12/oct/2022 by Eric Hameleers +# * Update. # # Run 'sh ffmpeg.SlackBuild' to build a Slackware package. # The package (.txz) plus descriptive .txt file are created in /tmp . @@ -215,7 +217,7 @@ PRGNAM=ffmpeg -VERSION=${VERSION:-4.4.2} +VERSION=${VERSION:-5.1.2} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-"-j$(nproc)"} TAG=${TAG:-"alien"} @@ -323,17 +325,17 @@ FRIBIDI=1.0.12 GME=0.6.3 GSM=1.0.17 LAME=3.100 -LIBVA=2.14.0 +LIBVA=2.16.0 LIBZVBI=0.2.35 MFX=1.34 OPUS=1.3.1 RAW1394=2.0.5 RTMP=2.3 SDL2=2.0.22 -SPEEX=1.2.0 +SPEEX=1.2.1 V4L=1.22.1 VDPAU=1.5 -VPX=1.11.0 +VPX=1.12.0 X264=20191217-2245 X265=3.5 @@ -606,7 +608,7 @@ if [ -z "$ARCH" ]; then fi case "$ARCH" in - i?86) SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686" + i?86) SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686 -fPIC" SLKLDFLAGS=""; LIBDIRSUFFIX="" ;; x86_64) SLKCFLAGS="-O2 -fPIC" @@ -1726,6 +1728,10 @@ cd $TMP/tmp-$PRGNAM/ffmpeg-${VERSION} #cat $SRCDIR/patches/x264_bitdepth.patch | patch -p1 --verbose \ # 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log +# Restore missing function needed by Chromium and qt-webengine: +cat $SRCDIR/patches/add-av_stream_get_first_dts-for-chromium.patch \ + | patch -p1 --verbose 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log + if [ "$ARCH" = "x86_64" ]; then ARCHOPTS="--arch=x86_64 --enable-pic" else @@ -1751,13 +1757,13 @@ PATH="$FFMPEGDEPSDIR/usr/bin:$PATH" \ --enable-gpl \ --enable-version3 \ --enable-avfilter \ - --enable-avresample \ --enable-libmp3lame \ --enable-libass \ --enable-libdav1d \ --enable-libdc1394 \ --enable-libdrm \ --enable-libfribidi \ + --enable-libglslang \ --enable-libgme \ --enable-libgsm \ --enable-libmfx \ @@ -1782,6 +1788,7 @@ PATH="$FFMPEGDEPSDIR/usr/bin:$PATH" \ --enable-sdl2 \ --enable-vaapi \ --enable-vdpau \ + --enable-vulkan \ --enable-pthreads \ --enable-bzlib \ --enable-zlib \ -- cgit v1.2.3