summaryrefslogtreecommitdiffstats
path: root/ffmpeg/build/ffmpeg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/build/ffmpeg.SlackBuild')
-rwxr-xr-xffmpeg/build/ffmpeg.SlackBuild15
1 files changed, 11 insertions, 4 deletions
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 <alien@slackware.com>
# * Update.
+# 5.1.3-2: 31/aug/2023 by Eric Hameleers <alien@slackware.com>
+# * 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"