[arch-commits] Commit in latte-dock/trunk (PKGBUILD latte-dock-plasma-5.22.patch)

Antonio Rojas arojas at archlinux.org
Sun May 16 12:12:42 UTC 2021


    Date: Sunday, May 16, 2021 @ 12:12:41
  Author: arojas
Revision: 935766

Fix Plasma 5.22 compatibility (FS#70902)

Added:
  latte-dock/trunk/latte-dock-plasma-5.22.patch
Modified:
  latte-dock/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |   22 ++++++++--------------
 latte-dock-plasma-5.22.patch |   12 ++++++++++++
 2 files changed, 20 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 12:10:27 UTC (rev 935765)
+++ PKGBUILD	2021-05-16 12:12:41 UTC (rev 935766)
@@ -3,7 +3,7 @@
 
 pkgname=latte-dock
 pkgver=0.9.11
-pkgrel=1
+pkgrel=2
 pkgdesc='A dock based on Plasma Frameworks'
 arch=(x86_64)
 url='https://store.kde.org/p/1169519/'
@@ -10,24 +10,18 @@
 license=(GPL)
 depends=(plasma-framework knewstuff hicolor-icon-theme)
 makedepends=(extra-cmake-modules)
-source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
+        latte-dock-plasma-5.22.patch)
 sha256sums=('513320e30f3016686ffb97f5502e513f4d21ce0f7bce75bf034a7775d448ea74'
-            'SKIP')
+            'SKIP'
+            '00e3a900c81ccfee48c18e118de182a89a6f84f646c2da9fca78bc56cf9a4154')
 validpgpkeys=(325E97C32E601F5D4EADCF3A55999050A2D9110E) # Michail Vourlakos (mvourlakos) <mvourlakos at gmail.com>
 
-prepare() {
-  mkdir -p build
-}
-
 build() {
-  cd build
-
-  cmake ../$pkgname-$pkgver
-  make
+  cmake -B build -S $pkgname-$pkgver
+  cmake --build build
 }
 
 package() {
-  cd build
-
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }

Added: latte-dock-plasma-5.22.patch
===================================================================
--- latte-dock-plasma-5.22.patch	                        (rev 0)
+++ latte-dock-plasma-5.22.patch	2021-05-16 12:12:41 UTC (rev 935766)
@@ -0,0 +1,12 @@
+diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml
+index b430d558..563883a3 100644
+--- a/plasmoid/package/contents/ui/main.qml
++++ b/plasmoid/package/contents/ui/main.qml
+@@ -823,7 +823,6 @@ Item {
+         id: backend
+ 
+         taskManagerItem: root
+-        toolTipItem: toolTipDelegate
+         highlightWindows: root.highlightWindows
+ 
+         onAddLauncher: {



More information about the arch-commits mailing list