plasma-phone-components 0.0-0.20201230.1 (znver1;aarch64;x86_64) 2020-13411
9999

Status published
Submitter bero [@T] lindev.ch
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/928040
Packages
plasma-phone-components-0.0-0.20201230.1.znver1.binary
plasma-phone-components-0.0-0.20201230.1.znver1.source
plasma-phone-components-debuginfo-0.0-0.20201230.1.znver1.debuginfo
plasma-phone-components-debugsource-0.0-0.20201230.1.znver1.binary
plasma-phone-components-wayland-0.0-0.20201230.1.znver1.binary
plasma-phone-components-x11-0.0-0.20201230.1.znver1.binary
plasma-phone-components-0.0-0.20201230.1.aarch64.binary
plasma-phone-components-0.0-0.20201230.1.aarch64.source
plasma-phone-components-debuginfo-0.0-0.20201230.1.aarch64.debuginfo
plasma-phone-components-debugsource-0.0-0.20201230.1.aarch64.binary
plasma-phone-components-wayland-0.0-0.20201230.1.aarch64.binary
plasma-phone-components-x11-0.0-0.20201230.1.aarch64.binary
plasma-phone-components-0.0-0.20201230.1.x86_64.source
plasma-phone-components-0.0-0.20201230.1.x86_64.binary
plasma-phone-components-debuginfo-0.0-0.20201230.1.x86_64.debuginfo
plasma-phone-components-debugsource-0.0-0.20201230.1.x86_64.binary
plasma-phone-components-wayland-0.0-0.20201230.1.x86_64.binary
plasma-phone-components-x11-0.0-0.20201230.1.x86_64.binary
Build Date 2020-12-30 03:02:54 +0000 UTC
Last Updated 2021-01-04 04:43:20.983736372 +0000 UTC
$ git diff --patch-with-stat --summary 17734c29b6d735ad1e19d21f075a0fec5c0c7a15..1bd8ecef632c6060aabb06cecc84518055852d1e

 .abf.yml                                         |  2 +-
 plasma-phone-components-plasma-5.20-compat.patch | 42 ++++++++++++++++++++++++
 plasma-phone-components.spec                     |  3 +-
 3 files changed, 45 insertions(+), 2 deletions(-)
 create mode 100644 plasma-phone-components-plasma-5.20-compat.patch

diff --git a/.abf.yml b/.abf.yml
index d0bfd3a..12768e4 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  plasma-phone-components-master.tar.bz2: df83570d84dd6de646963e6c5906aa331911dcd1
+  plasma-phone-components-master.tar.bz2: c9fdf5c40c28ca5918b20fe03bc515851e2d64d1
diff --git a/plasma-phone-components-plasma-5.20-compat.patch b/plasma-phone-components-plasma-5.20-compat.patch
new file mode 100644
index 0000000..43c64e5
--- /dev/null
+++ b/plasma-phone-components-plasma-5.20-compat.patch
@@ -0,0 +1,42 @@
+commit 206f74c2314986d9b427b2de71b0b29909c0c5a6
+Author: Bernhard Rosenkränzer <bero@lindev.ch>
+Date:   Wed Dec 30 00:47:57 2020 +0100
+
+    Revert "Use PC3 instead of QQC2"
+    
+    This reverts commit 8014d1000c58fc9627c89d234c6d521d89b193ed.
+    
+    This allows running on top of stable Plasma 5.20.x
+
+diff --git a/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml b/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml
+index ddd4deb..240dc03 100644
+--- a/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml
++++ b/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml
+@@ -20,9 +20,10 @@
+ 
+ import QtQuick 2.0
+ import QtQuick.Layouts 1.1
++import QtQuick.Controls 2.2 as Controls
+ 
+ import org.kde.plasma.core 2.0 as PlasmaCore
+-import org.kde.plasma.components 3.0 as PC3
++import org.kde.plasma.components 2.0 as Components
+ 
+ RowLayout {
+     id: brightnessRoot
+@@ -48,13 +49,13 @@ RowLayout {
+         Layout.alignment: Qt.AlignTop
+         spacing: 0
+ 
+-        PC3.Label {
++        Components.Label {
+             id: brightnessLabel
+             width: parent.width
+             height: paintedHeight
+         }
+ 
+-        PC3.Slider {
++        Controls.Slider {
+             id: brightnessSlider
+             width: parent.width
+             onMoved: brightnessRoot.moved()
diff --git a/plasma-phone-components.spec b/plasma-phone-components.spec
index 48cb3b1..5b88554 100644
--- a/plasma-phone-components.spec
+++ b/plasma-phone-components.spec
@@ -1,4 +1,4 @@
-%define snapshot 20201220
+%define snapshot 20201230
 
 Name:		plasma-phone-components
 Version:	0.0
@@ -9,6 +9,7 @@ Source0:	https://invent.kde.org/plasma/plasma-phone-components/-/archive/master/
 Patch0:		plasma-phone-components-x11-session.patch
 Patch1:		plasma-phone-components-no-dbus-run-session.patch
 Patch2:		plasma-phone-components-dont-start-to-lockscreen.patch
+Patch3:		plasma-phone-components-plasma-5.20-compat.patch
 License:	GPLv2/LGPLv2/LGPLv2.1
 Group:		Graphical desktop/KDE
 BuildRequires:	cmake
Not Available

benbullard79 [@T] cox.netNo Comment.1207d 16hrs
benbullard79 [@T] cox.netNo Comment.1207d 15hrs