aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-10 15:11:35 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-10 15:54:02 +0200
commitdf80e627aea37d594a60a3061af132cb02b46972 (patch)
tree60e149161192f0b235ef4a59989c736f431d59d3
parentcc36aaf7f9ec7d31f2c1a0fb259a4e31d4f8d318 (diff)
downloadaports-df80e627aea37d594a60a3061af132cb02b46972.tar.gz
aports-df80e627aea37d594a60a3061af132cb02b46972.tar.bz2
aports-df80e627aea37d594a60a3061af132cb02b46972.tar.xz
community/plasma-settings: upgrade to 21.05
-rw-r--r--community/plasma-settings/0001-fix-values-stored-on-disk.patch40
-rw-r--r--community/plasma-settings/APKBUILD11
2 files changed, 5 insertions, 46 deletions
diff --git a/community/plasma-settings/0001-fix-values-stored-on-disk.patch b/community/plasma-settings/0001-fix-values-stored-on-disk.patch
deleted file mode 100644
index 38a5edf2c2..0000000000
--- a/community/plasma-settings/0001-fix-values-stored-on-disk.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From ffacddbbd74cbe9905846ab29b05188fb75055c9 Mon Sep 17 00:00:00 2001
-From: Tomaz Canabrava <tcanabrava@kde.org>
-Date: Tue, 9 Mar 2021 09:23:29 +0000
-Subject: [PATCH] Fix values stored on disk
-
----
- modules/powermanagement/mobilepower.cpp | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/modules/powermanagement/mobilepower.cpp b/modules/powermanagement/mobilepower.cpp
-index bd04ba8..95ef3c7 100644
---- a/modules/powermanagement/mobilepower.cpp
-+++ b/modules/powermanagement/mobilepower.cpp
-@@ -157,7 +157,10 @@ void MobilePower::load()
- qDebug() << "Group is valid";
- KConfigGroup dimSettings = batteryGroup.group("DimDisplay");
- d->sleepScreen = true;
-- d->sleepScreenTime = dimSettings.readEntry("idleTime").toInt() / 60;
-+
-+ // dimdisplayconfig.cpp - here we store time * 60 * 1000
-+ // We should really, really, stop doing that.
-+ d->sleepScreenTime = (dimSettings.readEntry("idleTime").toInt() / 60) / 1000;
- } else {
- qDebug() << "Group is invalid, setting sleep screen to false";
- d->sleepScreen = false;
-@@ -186,7 +189,10 @@ void MobilePower::save()
- batteryGroup.deleteGroup("DimDisplay");
- } else {
- KConfigGroup dimDisplayGroup = batteryGroup.group("DimDisplay");
-- dimDisplayGroup.writeEntry("idleTime", d->sleepScreenTime * 60);
-+
-+ // dimdisplayconfig.cpp - here we store time * 60 * 1000
-+ // We should really, really, stop doing that.
-+ dimDisplayGroup.writeEntry("idleTime", d->sleepScreenTime * 60 * 1000);
- }
-
- KConfigGroup lockScreenGroup = batteryGroup.group("SuspendSession");
---
-GitLab
-
diff --git a/community/plasma-settings/APKBUILD b/community/plasma-settings/APKBUILD
index 575205702c..a3e2567f7c 100644
--- a/community/plasma-settings/APKBUILD
+++ b/community/plasma-settings/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-settings
-pkgver=0.2
+pkgver=21.05
pkgrel=0
pkgdesc="Settings application for Plasma Mobile"
# armhf blocked by extra-cmake-modules
@@ -31,9 +31,7 @@ makedepends="
qt5-qtdeclarative-dev
solid-dev
"
-source="https://download.kde.org/stable/plasma-settings/$pkgver/plasma-settings-$pkgver.tar.xz
- 0001-fix-values-stored-on-disk.patch
- "
+source="https://download.kde.org/stable/plasma-mobile/$pkgver/plasma-settings-$pkgver.tar.xz"
options="!check" # No tests
build() {
@@ -47,5 +45,6 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="fc396b971a8ae7377238be2989c70cd0ec4a70ef79f535887ff5a6fbb678f4e2145d08420e001488df6dcb16829b09253c61071efa64798e0622c92bc09e7c1b plasma-settings-0.2.tar.xz
-f274af41a559b070ab0a1a0228561564327e6a22ff495c49fe0749fab0f2382324cbea0649f8586ddc4fbf48139f7fddcfe9edbde7bbacf65dc4b2279710b85b 0001-fix-values-stored-on-disk.patch"
+sha512sums="
+bdd08e3c296b6e5a2c113215a82cf4a620372c4754f2fe8813d2386981c1e15be1c39633f3d2fc44a767625c29d41351dd14c67a0ea92344e7ddb920b46a62ad plasma-settings-21.05.tar.xz
+"