summaryrefslogtreecommitdiffstats
path: root/ffmpeg
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-08-30 19:54:06 +0000
committer Eric Hameleers <alien@slackware.com>2023-08-30 19:54:06 +0000
commitf85cd2c23eeae201b53f413692387fd606755c5a (patch)
tree081d39a2ac56b1a65e7f87e2a4b32df051759a05 /ffmpeg
parent18169978dcf1c8b15e46b00ec1d0eb0d0c6f99e0 (diff)
downloadasb-f85cd2c23eeae201b53f413692387fd606755c5a.tar.gz
asb-f85cd2c23eeae201b53f413692387fd606755c5a.tar.xz
ffmpeg: rebuilt against newer Vulkan.
Diffstat (limited to 'ffmpeg')
-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"