[gentoo-commits] repo/proj/guru:dev commit in: kde-misc/plasma-applet-thermal-monitor/files/, ...

2020-08-26 Thread Michael Egger
commit: 0e0a9604029cdd36783957342fb61c9fd466179b
Author: Michael Egger  protonmail  com>
AuthorDate: Wed Aug 26 21:36:52 2020 +
Commit: Michael Egger  tsn  at>
CommitDate: Wed Aug 26 21:38:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e0a9604

kde-misc/plasma-applet-thermal-monitor: Version bump to 1.3.0

Signed-off-by: Michael Egger  protonmail.com>

 kde-misc/plasma-applet-thermal-monitor/Manifest|  2 +-
 .../files/01-set-correct-qml-type.patch| 25 --
 ... => plasma-applet-thermal-monitor-1.3.0.ebuild} |  8 +++
 3 files changed, 4 insertions(+), 31 deletions(-)

diff --git a/kde-misc/plasma-applet-thermal-monitor/Manifest 
b/kde-misc/plasma-applet-thermal-monitor/Manifest
index ed8e382..4e2f165 100644
--- a/kde-misc/plasma-applet-thermal-monitor/Manifest
+++ b/kde-misc/plasma-applet-thermal-monitor/Manifest
@@ -1 +1 @@
-DIST plasma-applet-thermal-monitor-1.2.9.tar.gz 836399 BLAKE2B 
3f21c8443acb6132b7f7d1f2241d985d1143a5fd7d61a787517f4ab13d8ec4451c78e0224103e4feebabff187ec8c8886a62382e4197fd49b0816fd56824af29
 SHA512 
f07c2cc7349692b4ab71986f0cb1407224540ae89e6fa152c5833a77a869035184ca42b6e213921b65814c7b5d8a9ebc0aa73bbd8fef45e7d0027abd2009671f
+DIST plasma-applet-thermal-monitor-1.3.0.tar.gz 837734 BLAKE2B 
b7e2346a8b1a9df789e1fa18265a553e2a688e987cafcab0d3b0a360ccbae2d4fe18902dda1704a98d0fadeb3f9f02f9fca5526bdb111ae2e97dc460185109a8
 SHA512 
eedd6335cc08550a86fa0b2b4388de16a6997603e78e71e10615670a7f2a6ecfa73827ab49a76494485764c6d449c7b1e796d89d2468f27595f264c268189dae

diff --git 
a/kde-misc/plasma-applet-thermal-monitor/files/01-set-correct-qml-type.patch 
b/kde-misc/plasma-applet-thermal-monitor/files/01-set-correct-qml-type.patch
deleted file mode 100644
index b563244..000
--- a/kde-misc/plasma-applet-thermal-monitor/files/01-set-correct-qml-type.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From b389b886a7ee759d06c9eb0e6a3b6abbea400035 Mon Sep 17 00:00:00 2001
-From: raochsinai 
-Date: Mon, 21 Jan 2019 11:26:31 +0800
-Subject: [PATCH] let var systemmonitorAvailableSources refer to an empty
- array.
-

- package/contents/ui/main.qml | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml
-index 67e3f4c..75ae04d 100644
 a/package/contents/ui/main.qml
-+++ b/package/contents/ui/main.qml
-@@ -190,6 +190,10 @@ Item {
-
- temperatureModel.clear()
-
-+if (!systemmonitorAvailableSources) {
-+systemmonitorAvailableSources = []
-+}
-+
- if (!systemmonitorSourcesToAdd) {
- systemmonitorSourcesToAdd = []
- }

diff --git 
a/kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.2.9.ebuild
 
b/kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.3.0.ebuild
similarity index 67%
rename from 
kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.2.9.ebuild
rename to 
kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.3.0.ebuild
index 647e3ee..d889c90 100644
--- 
a/kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.2.9.ebuild
+++ 
b/kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.3.0.ebuild
@@ -7,12 +7,12 @@ inherit ecm
 
 DESCRIPTION="Plasma 5 applet for monitoring CPU, GPU and other available 
temperature sensors"
 HOMEPAGE="https://store.kde.org/p/998915/
-   https://github.com/kotelnik/plasma-applet-thermal-monitor;
+   https://gitlab.com/agurenko/plasma-applet-thermal-monitor;
 
 if [[ ${KDE_BUILD_TYPE} = live ]] ; then
-   EGIT_REPO_URI="https://github.com/kotelnik/${PN}.git;
+   EGIT_REPO_URI="https://gitlab.com/agurenko/${PN}.git;
 else
-   SRC_URI="https://github.com/kotelnik/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://gitlab.com/agurenko/${PN}/-/archive/${PV}/${P}.tar.gz 
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
 fi
 
@@ -25,5 +25,3 @@ DEPEND="
>=kde-frameworks/plasma-5.60.0:5
 "
 RDEPEND="${DEPEND}"
-
-PATCHES=("${FILESDIR}/01-set-correct-qml-type.patch")



[gentoo-commits] repo/proj/guru:dev commit in: kde-misc/plasma-applet-thermal-monitor/files/, ...

2020-03-12 Thread Michael Egger
commit: 6b120967376bc269919683fae58c6539548d8f59
Author: Michael Egger  tsn  at>
AuthorDate: Thu Mar 12 22:06:04 2020 +
Commit: Michael Egger  tsn  at>
CommitDate: Thu Mar 12 22:06:04 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6b120967

kde-misc/plasma-applet-thermal-monitor: new package

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Michael Egger  tsn.at>

 kde-misc/plasma-applet-thermal-monitor/Manifest|  1 +
 .../files/01-set-correct-qml-type.patch| 25 
 .../plasma-applet-thermal-monitor/metadata.xml | 15 ++
 .../plasma-applet-thermal-monitor-1.2.9.ebuild | 33 ++
 4 files changed, 74 insertions(+)

diff --git a/kde-misc/plasma-applet-thermal-monitor/Manifest 
b/kde-misc/plasma-applet-thermal-monitor/Manifest
new file mode 100644
index 000..ed8e382
--- /dev/null
+++ b/kde-misc/plasma-applet-thermal-monitor/Manifest
@@ -0,0 +1 @@
+DIST plasma-applet-thermal-monitor-1.2.9.tar.gz 836399 BLAKE2B 
3f21c8443acb6132b7f7d1f2241d985d1143a5fd7d61a787517f4ab13d8ec4451c78e0224103e4feebabff187ec8c8886a62382e4197fd49b0816fd56824af29
 SHA512 
f07c2cc7349692b4ab71986f0cb1407224540ae89e6fa152c5833a77a869035184ca42b6e213921b65814c7b5d8a9ebc0aa73bbd8fef45e7d0027abd2009671f

diff --git 
a/kde-misc/plasma-applet-thermal-monitor/files/01-set-correct-qml-type.patch 
b/kde-misc/plasma-applet-thermal-monitor/files/01-set-correct-qml-type.patch
new file mode 100644
index 000..b563244
--- /dev/null
+++ b/kde-misc/plasma-applet-thermal-monitor/files/01-set-correct-qml-type.patch
@@ -0,0 +1,25 @@
+From b389b886a7ee759d06c9eb0e6a3b6abbea400035 Mon Sep 17 00:00:00 2001
+From: raochsinai 
+Date: Mon, 21 Jan 2019 11:26:31 +0800
+Subject: [PATCH] let var systemmonitorAvailableSources refer to an empty
+ array.
+
+---
+ package/contents/ui/main.qml | 4 
+ 1 file changed, 4 insertions(+)
+
+diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml
+index 67e3f4c..75ae04d 100644
+--- a/package/contents/ui/main.qml
 b/package/contents/ui/main.qml
+@@ -190,6 +190,10 @@ Item {
+
+ temperatureModel.clear()
+
++if (!systemmonitorAvailableSources) {
++systemmonitorAvailableSources = []
++}
++
+ if (!systemmonitorSourcesToAdd) {
+ systemmonitorSourcesToAdd = []
+ }

diff --git a/kde-misc/plasma-applet-thermal-monitor/metadata.xml 
b/kde-misc/plasma-applet-thermal-monitor/metadata.xml
new file mode 100644
index 000..355f07f
--- /dev/null
+++ b/kde-misc/plasma-applet-thermal-monitor/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   michael.eg...@tsn.at
+   Michael Egger
+   
+   
+   Plasma 5 applet for monitoring CPU, GPU and other available 
temperature sensors.
+   
+   
+   
https://github.com/kotelnik/plasma-applet-thermal-monitor/issues
+   
https://github.com/kotelnik/plasma-applet-thermal-monitor/blob/master/README.md
+   
+

diff --git 
a/kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.2.9.ebuild
 
b/kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.2.9.ebuild
new file mode 100644
index 000..3a4aca4
--- /dev/null
+++ 
b/kde-misc/plasma-applet-thermal-monitor/plasma-applet-thermal-monitor-1.2.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kde5 cmake-utils
+
+DESCRIPTION="Plasma 5 applet for monitoring CPU, GPU and other available 
temperature sensors"
+HOMEPAGE="https://store.kde.org/p/998915/
+https://github.com/kotelnik/plasma-applet-thermal-monitor;
+
+if [[ ${KDE_BUILD_TYPE} = live ]] ; then
+   EGIT_REPO_URI="https://github.com/kotelnik/${PN}.git;
+else
+   SRC_URI="https://github.com/kotelnik/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   $(add_frameworks_dep plasma)
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md )
+
+src_prepare() {
+   local PATCHES=("${FILESDIR}/01-set-correct-qml-type.patch")
+   cmake-utils_src_prepare
+}