mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
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@tsn.at>
This commit is contained in:
1
kde-misc/plasma-applet-thermal-monitor/Manifest
Normal file
1
kde-misc/plasma-applet-thermal-monitor/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST plasma-applet-thermal-monitor-1.2.9.tar.gz 836399 BLAKE2B 3f21c8443acb6132b7f7d1f2241d985d1143a5fd7d61a787517f4ab13d8ec4451c78e0224103e4feebabff187ec8c8886a62382e4197fd49b0816fd56824af29 SHA512 f07c2cc7349692b4ab71986f0cb1407224540ae89e6fa152c5833a77a869035184ca42b6e213921b65814c7b5d8a9ebc0aa73bbd8fef45e7d0027abd2009671f
|
||||
@@ -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 = []
|
||||
}
|
||||
15
kde-misc/plasma-applet-thermal-monitor/metadata.xml
Normal file
15
kde-misc/plasma-applet-thermal-monitor/metadata.xml
Normal file
@@ -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>
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user