summaryrefslogtreecommitdiffstats
path: root/multimedia/mlt/mlt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mlt/mlt.SlackBuild')
-rw-r--r--multimedia/mlt/mlt.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/mlt/mlt.SlackBuild b/multimedia/mlt/mlt.SlackBuild
index e17e410bcf..3cff4bd8b1 100644
--- a/multimedia/mlt/mlt.SlackBuild
+++ b/multimedia/mlt/mlt.SlackBuild
@@ -52,7 +52,7 @@
# 16-APR-2017 Compiling with vdpau is no longer supported ffmpeg-3.x
PRGNAM=mlt
-VERSION=${VERSION:-6.4.1}
+VERSION=${VERSION:-6.6.0}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
@@ -71,10 +71,9 @@ OUTPUT=${OUTPUT:-/tmp}
# Autodetect which SWIG Languages bindings to build
# according to what's installed on the system:
-if [ -f "$(which javac)" ]; then java="java"; else java=""; fi
if [ -f "$(which lua)" ]; then lua="lua"; else lua=""; fi
if [ -f "$(which perl)" ]; then perl="perl"; else perl=""; fi
-if [ -f "$(which php)" ]; then php="php"; else php=""; fi
+php="" #if [ -f "$(which php)" ]; then php="php"; else php=""; fi
if [ -f "$(which python)" ]; then python="python"; else python=""; fi
if [ -h "$(which tclsh)" ]; then tcl="tcl"; else tcl=""; fi
if [ -f "$(which csharp)" ]; then csharp="csharp"; else csharp=""; fi
@@ -118,8 +117,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix building against qt >= 5.7.
-patch -p1 < $CWD/qt5-5.7.patch
+# This header isn't shipped in glibc >= 2.26 anymore
+# https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
+sed -i 's/#include <xlocale.h>/#include <locale.h>/' src/framework/mlt_property.h
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -132,7 +132,7 @@ CXXFLAGS="$SLKCFLAGS" \
--luma-compress \
--enable-motion-est \
$qt \
- --swig-languages="$java $lua $perl $php $python $ruby $tcl $csharp" \
+ --swig-languages="$lua $perl $php $python $ruby $tcl $csharp" \
--build=$ARCH-slackware-linux
make clean