aboutsummaryrefslogtreecommitdiff
path: root/multimedia/transcode/transcode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/transcode/transcode.SlackBuild')
-rw-r--r--multimedia/transcode/transcode.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/multimedia/transcode/transcode.SlackBuild b/multimedia/transcode/transcode.SlackBuild
index 1c07cbc57e718..f4dbcab3d9dc7 100644
--- a/multimedia/transcode/transcode.SlackBuild
+++ b/multimedia/transcode/transcode.SlackBuild
@@ -80,6 +80,15 @@ patch -p1 -i $CWD/transcode-1.1.7-preset-force.patch
patch -p1 -i $CWD/transcode-1.1.7-ffmpeg2.patch
patch -p1 -i $CWD/transcode-1.1.7-ffmpeg24.patch
patch -p1 -i $CWD/transcode-1.1.7-ffmpeg29.patch
+patch -p1 -i $CWD/transcode-1.1.7-ffmpeg4.patch
+# Fix building with imagemagick 7.x
+patch -p1 -i $CWD/transcode-1.1.7-imagemagick7.patch
+patch -p1 -i $CWD/transcode-1.1.7-gcc10.patch
+patch -p1 -i $CWD/transcode-1.1.7-glibc-2.32.patch
+
+autoreconf -vif
+
+export MAGICKCORE_QUANTUM_DEPTH=32
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -92,8 +101,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-alsa \
--enable-v4l \
- --enable-libv4l2 \
- --enable-libv4lconvert \
--enable-libmpeg2=${LIBMPEG2:-no} \
--enable-libmpeg2convert=${LIBMPEG2:-no} \
--enable-ogg \