aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2theora
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-21 20:59:00 +1300
committerRobby Workman <rworkman@slackbuilds.org>2022-02-21 14:35:18 -0600
commit2f9c62f6e299b79dd3eef944620448a023a7ba16 (patch)
tree55ccb58ce63de63b28ca1ff0d99e46a38a7779fe /multimedia/ffmpeg2theora
parent567d77183d919a6db4f37d396782b141dd3f1dc2 (diff)
multimedia/ffmpeg2theora: Fix build with py3 scons.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'multimedia/ffmpeg2theora')
-rw-r--r--multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild5
-rw-r--r--multimedia/ffmpeg2theora/scons-python3.patch.gzbin0 -> 960 bytes
2 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild b/multimedia/ffmpeg2theora/ffmpeg2theora.SlackBuild
index 05918b2523f28..f74f241404d12 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 \
diff --git a/multimedia/ffmpeg2theora/scons-python3.patch.gz b/multimedia/ffmpeg2theora/scons-python3.patch.gz
new file mode 100644
index 0000000000000..9302739d1d75c
--- /dev/null
+++ b/multimedia/ffmpeg2theora/scons-python3.patch.gz
Binary files differ