Browse Source

l/mlt: Upgraded to mlt-6.20.0.

current-20200608
Damien Goutte-Gattat 10 months ago
parent
commit
7e81462763
  1. 1
      l/mlt/mlt-6.18.0.tar.gz.sha256
  2. 44
      l/mlt/mlt-6.20.0-fix-qpainterpath-include.patch
  3. 1
      l/mlt/mlt-6.20.0.tar.gz.sha256
  4. 9
      l/mlt/mlt.SlackBuild

1
l/mlt/mlt-6.18.0.tar.gz.sha256

@ -1 +0,0 @@
fd2a346e0cc093e5d813e04cd126c077a2d224ae4d17b5226ff7478feaa445ea mlt-6.18.0.tar.gz

44
l/mlt/mlt-6.20.0-fix-qpainterpath-include.patch

@ -0,0 +1,44 @@
diff -Naur mlt-6.20.0.orig/src/modules/qt/filter_qtext.cpp mlt-6.20.0/src/modules/qt/filter_qtext.cpp
--- mlt-6.20.0.orig/src/modules/qt/filter_qtext.cpp 2020-06-21 20:12:15.350134530 +0100
+++ mlt-6.20.0/src/modules/qt/filter_qtext.cpp 2020-06-21 20:13:59.441739675 +0100
@@ -21,6 +21,7 @@
#include <framework/mlt.h>
#include <framework/mlt_log.h>
#include <QPainter>
+#include <QPainterPath>
#include <QString>
static QRectF get_text_path( QPainterPath* qpath, mlt_properties filter_properties, const char* text, double scale )
diff -Naur mlt-6.20.0.orig/src/modules/qt/graph.cpp mlt-6.20.0/src/modules/qt/graph.cpp
--- mlt-6.20.0.orig/src/modules/qt/graph.cpp 2020-06-21 20:12:15.350134530 +0100
+++ mlt-6.20.0/src/modules/qt/graph.cpp 2020-06-21 20:13:41.737466666 +0100
@@ -19,6 +19,7 @@
#include "graph.h"
#include <QVector>
+#include <QPainterPath>
#include <math.h>
/*
diff -Naur mlt-6.20.0.orig/src/modules/qt/kdenlivetitle_wrapper.cpp mlt-6.20.0/src/modules/qt/kdenlivetitle_wrapper.cpp
--- mlt-6.20.0.orig/src/modules/qt/kdenlivetitle_wrapper.cpp 2020-06-21 20:12:15.350134530 +0100
+++ mlt-6.20.0/src/modules/qt/kdenlivetitle_wrapper.cpp 2020-06-21 20:13:19.240119745 +0100
@@ -23,6 +23,7 @@
#include <QImage>
#include <QPainter>
+#include <QPainterPath>
#include <QDebug>
#include <QMutex>
#include <QGraphicsScene>
diff -Naur mlt-6.20.0.orig/src/modules/qt/producer_qtext.cpp mlt-6.20.0/src/modules/qt/producer_qtext.cpp
--- mlt-6.20.0.orig/src/modules/qt/producer_qtext.cpp 2020-06-21 20:12:15.350134530 +0100
+++ mlt-6.20.0/src/modules/qt/producer_qtext.cpp 2020-06-21 20:14:17.274014658 +0100
@@ -26,6 +26,7 @@
#include <QImage>
#include <QColor>
#include <QPainter>
+#include <QPainterPath>
#include <QFont>
#include <QString>
#include <QTextCodec>

1
l/mlt/mlt-6.20.0.tar.gz.sha256

@ -0,0 +1 @@
ab211e27c06c0688f9cbe2d74dc0623624ef75ea4f94eea915cdc313196be2dd mlt-6.20.0.tar.gz

9
l/mlt/mlt.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,11 +25,11 @@
# Latest mlt sourcecode is available at:
# <https://github.com/mltframework/mlt>.
#
# Recommends: ap/jack, l/movit, l/qt5
# Recommends: ap/jack, l/movit
# Source package infos
NAMESRC=${NAMESRC:-mlt}
VERSION=${VERSION:-6.18.0}
VERSION=${VERSION:-6.20.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/mltframework/mlt/releases/download/v$VERSION/$ARCHIVE}
@ -74,6 +74,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Fix missing include for QPainterPath
patch -p 1 < $CWD/mlt-6.20.0-fix-qpainterpath-include.patch
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
@ -103,7 +105,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
cat <<EOF > $PKG/install/slack-required
jack
movit
qt5
EOF
# Package the tree

Loading…
Cancel
Save