summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2018-03-18 07:38:27 +0100
committer Matteo Bernardini2018-06-09 08:34:41 +0200
commita0d214294c5955287718b823c3b1234305616d88 (patch)
tree951d6d93dea3f7d07d12b6355e597b99354938d5
parent81c344443219574587ae3d6bccb8f19c1bd346af (diff)
downloadold.slackbuilds-mlt.tar.gz
multimedia/mlt: Updated for version 6.6.0.mlt
Patched for glibc >= 2.27, removed php and java bindings Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--multimedia/mlt/mlt.SlackBuild12
-rw-r--r--multimedia/mlt/mlt.info6
2 files changed, 9 insertions, 9 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
diff --git a/multimedia/mlt/mlt.info b/multimedia/mlt/mlt.info
index bee1f631c4..cffa449062 100644
--- a/multimedia/mlt/mlt.info
+++ b/multimedia/mlt/mlt.info
@@ -1,8 +1,8 @@
PRGNAM="mlt"
-VERSION="6.4.1"
+VERSION="6.6.0"
HOMEPAGE="https://mltframework.org/"
-DOWNLOAD="https://downloads.sourceforge.net/mlt/mlt-6.4.1.tar.gz"
-MD5SUM="bfa7b4009be616d6f858393a88fbbb32"
+DOWNLOAD="https://github.com/mltframework/mlt/archive/v6.6.0/mlt-6.6.0.tar.gz"
+MD5SUM="abc62a715a1c27b84bfa4af721470d15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg libdv libquicktime"