git » kdenlive.git » commit 683e6f9

Fix crash in designer (FS#76859)

author Antonio Rojas
2022-12-18 10:49:30 UTC
committer Antonio Rojas
2022-12-18 10:49:30 UTC
parent e2ad2e8f3685dfcfcbb0f7cf4be20762bdc217d6

Fix crash in designer (FS#76859)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 5853ece..e41d34c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 
 pkgname=kdenlive
 pkgver=22.12.0
-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/87754b4d.patch)
 sha256sums=('456ca61627eb6a0d6d6ea775dd6a7b1c5a5fbbacb79421c8f4e307d8a2136317'
-            'SKIP')
+            'SKIP'
+            '03311ed62ab3e1927eca3beac1628c9d544e55561eb5626e7aeda8220efa8b79')
 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 < 87754b4d.patch # Fix crash in designer
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \