[arch-commits] Commit in kdenlive/repos (3 files)

Antonio Rojas arojas at archlinux.org
Thu May 6 07:03:40 UTC 2021


    Date: Thursday, May 6, 2021 @ 07:03:36
  Author: arojas
Revision: 414437

archrelease: copy trunk to staging-x86_64

Added:
  kdenlive/repos/staging-x86_64/
  kdenlive/repos/staging-x86_64/PKGBUILD
    (from rev 414436, kdenlive/trunk/PKGBUILD)
  kdenlive/repos/staging-x86_64/kdenlive-mlt6.patch
    (from rev 414436, kdenlive/trunk/kdenlive-mlt6.patch)

---------------------+
 PKGBUILD            |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 kdenlive-mlt6.patch |   22 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

Copied: kdenlive/repos/staging-x86_64/PKGBUILD (from rev 414436, kdenlive/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-05-06 07:03:36 UTC (rev 414437)
@@ -0,0 +1,49 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Zuf <kontakt.zuf at gmail.com>
+# Contributor: Darwin Bautista <djclue917 at gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+
+pkgname=kdenlive
+pkgver=21.04.0
+pkgrel=3
+pkgdesc='A non-linear video editor for Linux using the MLT video framework'
+arch=(x86_64)
+url='https://apps.kde.org/kdenlive/'
+license=(GPL)
+groups=(kde-applications kde-multimedia)
+depends=(qt5-networkauth knewstuff knotifyconfig kfilemetadata purpose mlt6 rttr breeze-icons frei0r-plugins)
+makedepends=(extra-cmake-modules kdoctools v4l-utils)
+optdepends=('ffmpeg: for FFmpeg plugin'
+            'cdrtools: for creation of DVD ISO images'
+            'dvdauthor: for creation of DVD'
+            'dvgrab: for firewire capture'
+            'recordmydesktop: for screen capture'
+            'xine-ui: for DVD preview'
+            'vlc: for DVD preview'
+            'opencv: for motion tracking'
+            'plasma-desktop: theme configuration'
+            'opentimelineio: timeline export/import')
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        kdenlive-mlt6.patch)
+sha256sums=('b0be8f0adef51d3305ec6bebde089b8e4d2fb4519c83456cd91647e7763d4bdf'
+            'SKIP'
+            'db0819cea73fc7c2926c39a3de66fba86e94a6ca2e1f97e7bad1166ac6aec5bb')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
+              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < kdenlive-mlt6.patch # Use melt6 executable name
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DCRASH_AUTO_TEST=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: kdenlive/repos/staging-x86_64/kdenlive-mlt6.patch (from rev 414436, kdenlive/trunk/kdenlive-mlt6.patch)
===================================================================
--- staging-x86_64/kdenlive-mlt6.patch	                        (rev 0)
+++ staging-x86_64/kdenlive-mlt6.patch	2021-05-06 07:03:36 UTC (rev 414437)
@@ -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");
+             }



More information about the arch-commits mailing list