git » kdenlive.git » commit e8cce8d

Fix clip monitor with Qt 5.15.8

author Antonio Rojas
2023-01-13 21:02:54 UTC
committer Antonio Rojas
2023-01-13 21:02:54 UTC
parent 99ea871a17f456166284265ac44294d454861adc

Fix clip monitor with Qt 5.15.8

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 7cbcce2..e3faba6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 
 pkgname=kdenlive
 pkgver=22.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A non-linear video editor for Linux using the MLT video framework'
 arch=(x86_64)
 url='https://apps.kde.org/kdenlive/'
@@ -23,14 +23,20 @@ optdepends=('ffmpeg: for FFmpeg plugin'
             'bigsh0t: VR360 effects'
             'mediainfo: for technical clip information'
             'noise-suppression-for-voice: noise suppression effect')
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/multimedia/kdenlive/-/commit/2c6eeac0.patch)
 sha256sums=('af1e6ef56733c986c5993f48d19fbb3e8a1b14354819e9d029b5f63d1f00d7dd'
-            'SKIP')
+            'SKIP'
+            '3737ea580b6dc40ac43d3d566df452e4c971ecc73235970db132dcab75e91b7a')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 2c6eeac0.patch # Fix clip monitor breakage with Qt 5.15.8
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \