git » kdenlive.git » commit e0b8cb5

Fix crash with Qt 5.14

author Antonio Rojas
2020-01-15 12:54:36 UTC
committer Antonio Rojas
2020-01-15 12:54:36 UTC
parent a628107a8fc498c68bba30d9ab89b8ed09c89c65

Fix crash with Qt 5.14

PKGBUILD +8 -3

diff --git a/PKGBUILD b/PKGBUILD
index 8203932..8e64a2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 
 pkgname=kdenlive
 pkgver=19.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A non-linear video editor for Linux using the MLT video framework"
 arch=(x86_64)
 url="https://www.kdenlive.org/"
@@ -22,14 +22,19 @@ optdepends=('ffmpeg: for FFmpeg plugin'
             'xine-ui: for DVD preview'
             'vlc: for DVD preview'
             'plasma-desktop: theme configuration')
-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}
+         kdenlive-qt5.14.patch::"https://invent.kde.org/kde/kdenlive/commit/b20a7307.patch")
 sha256sums=('fccf34a4660ce8a78ceefe8a4b9dd93d104f6871976d991ceec769366627dc77'
-            'SKIP')
+            'SKIP'
+            'cc043b68f74f499360c4491a84d48710aff743de4901bd0c065c5f1673031276')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdenlive-qt5.14.patch
 }
 
 build() {