summaryrefslogtreecommitdiffstats
path: root/multimedia/avidemux/avidemux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/avidemux/avidemux.SlackBuild')
-rw-r--r--multimedia/avidemux/avidemux.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild
index 37202fb9d3..15cce7f22f 100644
--- a/multimedia/avidemux/avidemux.SlackBuild
+++ b/multimedia/avidemux/avidemux.SlackBuild
@@ -5,7 +5,7 @@
# Derived from a SlackBuild by Eric Hameleers.
# Copyright 2009, 2010, 2011, 2013 Eric Hameleers, Eindhoven, NL
# Copyright 2015 John Vogel Corning, NY USA
-# Copyright 2017-2022 Matteo Bernardini, Pisa, IT
+# Copyright 2017-2024 Matteo Bernardini, Pisa, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,7 +31,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=avidemux
-VERSION=${VERSION:-2.8.1}
+VERSION=${VERSION:-20240417_ac7587b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,7 +75,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}_${VERSION}
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz
+tar xvf $CWD/${PRGNAM}_${VERSION}.tar.?z
cd ${PRGNAM}_${VERSION}
chown -R root:root .
find -L . \
@@ -90,6 +90,9 @@ find -L . \
sed -i 's|../avidemux/qt4|../avidemux/qt4 -DLRELEASE_EXECUTABLE=/usr/bin/lrelease-qt5|' bootStrap.bash || exit 1
sed -i 's|0.19|1.0|' avidemux_plugins/ADM_videoFilters6/ass/CMakeLists.txt || exit 1
+mkdir -p avidemux_core/ffmpeg_package/patches/upstream
+cp $CWD/0004-support-nv-codec-headers-12.2.patch avidemux_core/ffmpeg_package/patches/upstream
+
bash bootStrap.bash --with-core --with-cli --with-plugins
make -C buildCli DESTDIR="$PKG" install