summaryrefslogtreecommitdiffstats
path: root/source/xap/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild')
-rwxr-xr-xsource/xap/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/xap/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild b/source/xap/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
index b590ee79e..bc46b59cc 100755
--- a/source/xap/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
+++ b/source/xap/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ffmpegthumbnailer
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -87,6 +87,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Fix build with ffmpeg-5:
+zcat $CWD/198.patch.gz | patch -p1 --verbose || exit 1
+zcat $CWD/efb5b618.patch.gz | patch -p1 --verbose || exit 1
+
# Configure, build, and install:
mkdir cmake-build
cd cmake-build
@@ -98,10 +102,10 @@ cd cmake-build
-DCMAKE_INSTALL_MANDIR="man" \
-DENABLE_GIO="yes" \
-DENABLE_THUMBNAILER="yes" \
- ..
+ .. || exit 1
- make VERBOSE=1
- make install DESTDIR=$PKG
+ make VERBOSE=1 || exit 1
+ make install DESTDIR=$PKG || exit 1
cd ..
# Strip binaries: