From f85cd2c23eeae201b53f413692387fd606755c5a Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 30 Aug 2023 19:54:06 +0000 Subject: ffmpeg: rebuilt against newer Vulkan. --- ffmpeg/build/ffmpeg.SlackBuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'ffmpeg') diff --git a/ffmpeg/build/ffmpeg.SlackBuild b/ffmpeg/build/ffmpeg.SlackBuild index 30e12b89..23f12408 100755 --- a/ffmpeg/build/ffmpeg.SlackBuild +++ b/ffmpeg/build/ffmpeg.SlackBuild @@ -210,6 +210,8 @@ # * Update. # 5.1.3-1: 22/aug/2023 by Eric Hameleers # * Update. +# 5.1.3-2: 31/aug/2023 by Eric Hameleers +# * Rebuilt against newer Vulkan. # # Run 'sh ffmpeg.SlackBuild' to build a Slackware package. # The package (.txz) plus descriptive .txt file are created in /tmp . @@ -220,7 +222,7 @@ PRGNAM=ffmpeg VERSION=${VERSION:-5.1.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-"-j$(nproc)"} TAG=${TAG:-"alien"} @@ -1722,19 +1724,24 @@ fi cd $TMP/tmp-$PRGNAM/ffmpeg-${VERSION} +touch $OUTPUT/patch-${PRGNAM}.log # Fix compilation with newer libx264: # To actually use the new multi-bitdepth in libx264 we need to # enable 10bit support in make_x264() #cat $SRCDIR/patches/x264_bitdepth.patch | patch -p1 --verbose \ -# 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log +# 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log # Fix assembly with binutils >= 2.41: cat $SRCDIR/patches/ffmpeg_binutils241.patch | patch -p1 --verbose \ - 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log + +# Build against recent Vulkan: +cat $SRCDIR/patches/ffmpeg.vulkan.diff | patch -p1 --verbose \ + 2>&1 | tee -a $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 + | patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log if [ "$ARCH" = "x86_64" ]; then ARCHOPTS="--arch=x86_64 --enable-pic" -- cgit v1.2.3