[arch-commits] Commit in latte-dock/repos/community-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Sun May 16 13:31:55 UTC 2021


    Date: Sunday, May 16, 2021 @ 13:31:55
  Author: arojas
Revision: 935792

archrelease: copy trunk to community-x86_64

Added:
  latte-dock/repos/community-x86_64/PKGBUILD
    (from rev 935791, latte-dock/trunk/PKGBUILD)
  latte-dock/repos/community-x86_64/latte-dock-plasma-5.22.patch
    (from rev 935791, latte-dock/trunk/latte-dock-plasma-5.22.patch)
Deleted:
  latte-dock/repos/community-x86_64/PKGBUILD

------------------------------+
 PKGBUILD                     |   58 +++++++++++++++++++++--------------------
 latte-dock-plasma-5.22.patch |   32 ++++++++++++++++++++++
 2 files changed, 63 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-16 13:31:44 UTC (rev 935791)
+++ PKGBUILD	2021-05-16 13:31:55 UTC (rev 935792)
@@ -1,27 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Michael Straube <straubem at gmx.de>
-
-pkgname=latte-dock
-pkgver=0.9.11
-pkgrel=3
-pkgdesc='A dock based on Plasma Frameworks'
-arch=(x86_64)
-url='https://store.kde.org/p/1169519/'
-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}
-        latte-dock-plasma-5.22.patch::https://invent.kde.org/plasma/latte-dock/-/commit/5e175833.patch)
-sha256sums=('513320e30f3016686ffb97f5502e513f4d21ce0f7bce75bf034a7775d448ea74'
-            'SKIP'
-            '5532fac5a057a95b3ee301f1997f56f96dd2fdafc3c0f68de2a9aaa841cc2143')
-validpgpkeys=(325E97C32E601F5D4EADCF3A55999050A2D9110E) # Michail Vourlakos (mvourlakos) <mvourlakos at gmail.com>
-
-build() {
-  cmake -B build -S $pkgname-$pkgver
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: latte-dock/repos/community-x86_64/PKGBUILD (from rev 935791, latte-dock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-16 13:31:55 UTC (rev 935792)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Michael Straube <straubem at gmx.de>
+
+pkgname=latte-dock
+pkgver=0.9.11
+pkgrel=4
+pkgdesc='A dock based on Plasma Frameworks'
+arch=(x86_64)
+url='https://store.kde.org/p/1169519/'
+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}
+        latte-dock-plasma-5.22.patch)
+sha256sums=('513320e30f3016686ffb97f5502e513f4d21ce0f7bce75bf034a7775d448ea74'
+            'SKIP'
+            '337ee1f6fc72f06b2b90aea0ede463d5cf50d9b9bb775a164d5abe741b498a86')
+validpgpkeys=(325E97C32E601F5D4EADCF3A55999050A2D9110E) # Michail Vourlakos (mvourlakos) <mvourlakos at gmail.com>
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < latte-dock-plasma-5.22.patch
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: latte-dock/repos/community-x86_64/latte-dock-plasma-5.22.patch (from rev 935791, latte-dock/trunk/latte-dock-plasma-5.22.patch)
===================================================================
--- latte-dock-plasma-5.22.patch	                        (rev 0)
+++ latte-dock-plasma-5.22.patch	2021-05-16 13:31:55 UTC (rev 935792)
@@ -0,0 +1,32 @@
+diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml
+index b430d558..c68ca241 100644
+--- a/plasmoid/package/contents/ui/main.qml
++++ b/plasmoid/package/contents/ui/main.qml
+@@ -67,6 +67,7 @@ Item {
+ 
+     property bool plasma515: latteView ? latteView.plasma515 : Latte.WindowSystem.plasmaDesktopVersion >= Latte.WindowSystem.makeVersion(5,15,0)
+     property bool plasma518: latteView ? latteView.plasma518 : Latte.WindowSystem.plasmaDesktopVersion >= Latte.WindowSystem.makeVersion(5,18,0)
++    property bool plasmaGreaterThan522: LatteCore.Environment.plasmaDesktopVersion >= LatteCore.Environment.makeVersion(5,21,75)
+ 
+     property bool editMode: latteView ? latteView.editMode : plasmoid.userConfiguring
+     property bool inConfigureAppletsMode: latteView ? latteView.inConfigureAppletsMode : true
+@@ -823,7 +824,6 @@ Item {
+         id: backend
+ 
+         taskManagerItem: root
+-        toolTipItem: toolTipDelegate
+         highlightWindows: root.highlightWindows
+ 
+         onAddLauncher: {
+@@ -840,6 +840,11 @@ Item {
+             if (Latte.WindowSystem.frameworksVersion >= 335104 || (groupDialog !== undefined)) {
+                 groupDialog = groupDialogGhost;
+             }
++
++            //! In Plasma 5.22 toolTipItem was dropped
++            if (!root.plasmaGreaterThan522) {
++                toolTipItem = toolTipDelegate;
++            }
+         }
+     }
+ 



More information about the arch-commits mailing list