From 8c8f87df80e5a938db5a849a8f64cf955d3075a1 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Fri, 4 Jun 2021 12:47:29 -0400 Subject: [kdenlive]: add mlt6 patch --- libre/kdenlive/kdenlive-mlt6.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libre/kdenlive/kdenlive-mlt6.patch (limited to 'libre') diff --git a/libre/kdenlive/kdenlive-mlt6.patch b/libre/kdenlive/kdenlive-mlt6.patch new file mode 100644 index 000000000..f86f93da9 --- /dev/null +++ b/libre/kdenlive/kdenlive-mlt6.patch @@ -0,0 +1,22 @@ +diff --git a/src/mltconnection.cpp b/src/mltconnection.cpp +index 13d0e8d8c..2820c8f7c 100644 +--- a/src/mltconnection.cpp ++++ b/src/mltconnection.cpp +@@ -136,14 +136,14 @@ void MltConnection::locateMeltAndProfilesPath(const QString &mltPath) + #endif + QString meltPath; + if (qEnvironmentVariableIsSet("MLT_PREFIX")) { +- meltPath = qgetenv("MLT_PREFIX") + QStringLiteral("/bin/melt") + exeSuffix; ++ meltPath = qgetenv("MLT_PREFIX") + QStringLiteral("/bin/melt6") + exeSuffix; + } else { + meltPath = KdenliveSettings::rendererpath(); + } + if (!QFile::exists(meltPath)) { +- meltPath = QDir::cleanPath(profilePath + QStringLiteral("/../../../bin/melt")) + exeSuffix; ++ meltPath = QDir::cleanPath(profilePath + QStringLiteral("/../../../bin/melt6")) + exeSuffix; + if (!QFile::exists(meltPath)) { +- meltPath = QStandardPaths::findExecutable("melt"); ++ meltPath = QStandardPaths::findExecutable("melt6"); + if (meltPath.isEmpty()) { + meltPath = QStandardPaths::findExecutable("mlt-melt"); + } -- cgit v1.2.3