From 90f1e7605b7fae8c47a81878b8f835a37a88c811 Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 17 Jun 2021 08:44:56 +0300 Subject: [PATCH] kdenlive --- .../kdenlive/files/kdenlive-mlt6.patch | 22 +++++++++++++++++++ desktop/kde/applications/kdenlive/pspec.xml | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 desktop/kde/applications/kdenlive/files/kdenlive-mlt6.patch diff --git a/desktop/kde/applications/kdenlive/files/kdenlive-mlt6.patch b/desktop/kde/applications/kdenlive/files/kdenlive-mlt6.patch new file mode 100644 index 0000000000..f86f93da94 --- /dev/null +++ b/desktop/kde/applications/kdenlive/files/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"); + } diff --git a/desktop/kde/applications/kdenlive/pspec.xml b/desktop/kde/applications/kdenlive/pspec.xml index 7ff4d1411d..53dd5d4d98 100755 --- a/desktop/kde/applications/kdenlive/pspec.xml +++ b/desktop/kde/applications/kdenlive/pspec.xml @@ -54,6 +54,9 @@ kdeclarative-devel kcrash-devel + + kdenlive-mlt6.patch +