From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: kde-misc/plasma-applet-thermal-monitor/, ...
Date: Fri, 13 Mar 2020 17:45:50 +0000 (UTC) [thread overview]
Message-ID: <1584050764.6b120967376bc269919683fae58c6539548d8f59.andrewammerlaan@gentoo> (raw)
commit: 6b120967376bc269919683fae58c6539548d8f59
Author: Michael Egger <michael.egger <AT> tsn <DOT> at>
AuthorDate: Thu Mar 12 22:06:04 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 12 22:06:04 2020 +0000
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 <michael.egger <AT> 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 0000000..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 0000000..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 <roachsinai@qq.com>
+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 0000000..355f07f
--- /dev/null
+++ b/kde-misc/plasma-applet-thermal-monitor/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>michael.egger@tsn.at</email>
+ <name>Michael Egger</name>
+ </maintainer>
+ <longdescription>
+ Plasma 5 applet for monitoring CPU, GPU and other available temperature sensors.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/kotelnik/plasma-applet-thermal-monitor/issues</bugs-to>
+ <doc>https://github.com/kotelnik/plasma-applet-thermal-monitor/blob/master/README.md</doc>
+ </upstream>
+</pkgmetadata>
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 0000000..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
+}
next reply other threads:[~2020-03-13 17:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-13 17:45 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-27 7:59 [gentoo-commits] repo/proj/guru:master commit in: kde-misc/plasma-applet-thermal-monitor/, Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584050764.6b120967376bc269919683fae58c6539548d8f59.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox