summaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2022-02-21 20:59:00 +1300
committer Robby Workman <rworkman@slackbuilds.org>2022-02-21 14:35:18 -0600
commit2f9c62f6e299b79dd3eef944620448a023a7ba16 (patch)
tree55ccb58ce63de63b28ca1ff0d99e46a38a7779fe /multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
parent567d77183d919a6db4f37d396782b141dd3f1dc2 (diff)
downloadslackbuilds-2f9c62f6e299b79dd3eef944620448a023a7ba16.tar.gz
slackbuilds-2f9c62f6e299b79dd3eef944620448a023a7ba16.tar.xz
multimedia/ffmpeg2theora: Fix build with py3 scons.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild')
-rw-r--r--multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
index 05918b2523..f74f241404 100644
--- a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
+++ b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
@@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="ffmpeg2theora"
VERSION=${VERSION:-0.30}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,9 @@ find -L . \
# thanks to Debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768674
patch -p1 < $CWD/link-libm.patch
+# thanks arch maintainers
+zcat $CWD/scons-python3.patch.gz | patch -p1
+
scons install APPEND_CCFLAGS="$SLKCFLAGS" prefix=/usr destdir=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \