git » krita.git » commit ca99ec0

Fix global menu on Plasma (FS#62767)

author Antonio Rojas
2019-06-24 21:51:21 UTC
committer Antonio Rojas
2019-06-24 21:51:21 UTC
parent 23fc49425477a537e556126ad1e7e73379d2b8a9

Fix global menu on Plasma (FS#62767)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 6dea7bb..cf780dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=krita
 pkgver=4.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Edit and paint images"
 arch=(x86_64)
 url="https://krita.org"
@@ -14,12 +14,15 @@ optdepends=('poppler-qt5: PDF filter' 'ffmpeg: to save animations' 'opencolorio:
             "krita-plugin-gmic: G'MIC plugin" 'python-pyqt5: for the Python plugins' 'libheif: HEIF filter')
 conflicts=(calligra-krita krita-l10n)
 replaces=(calligra-krita krita-l10n)
-source=("https://download.kde.org/stable/krita/$pkgver/$pkgname-$pkgver.tar.gz") # {,.sig}
-sha256sums=('fa5a8b17ef4fd4734cf2e1dd6935243ac7e50fd375eb0d651302ce71f12af3df')
+source=("https://download.kde.org/stable/krita/$pkgver/$pkgname-$pkgver.tar.gz"{,.sig}
+        krita-global-menu.patch::"https://cgit.kde.org/krita.git/patch/?id=8d6a2a5d")
 validpgpkeys=('05D00A8B73A686789E0A156858B9596C722EA3BD') # Boudewijn Rempt <foundation@krita.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../krita-global-menu.patch # Fix global menu on Plasma
 }
 
 build() {
@@ -35,3 +38,6 @@ package() {
   cd build
   make DESTDIR="$pkgdir" install
 }
+md5sums=('1100871711c919c956b3e1e2b24e98d4'
+         'SKIP'
+         'f85e2fe776423589f8398c31787cae9d')