diff options
author | Michael Egger <michael.egger@tsn.at> | 2020-03-12 23:06:04 +0100 |
---|---|---|
committer | Michael Egger <michael.egger@tsn.at> | 2020-03-12 23:06:04 +0100 |
commit | 6b120967376bc269919683fae58c6539548d8f59 (patch) | |
tree | 5c7f43f1c6171fb9e39e2c13329774682961a474 /kde-misc | |
parent | dev-python/black: new package (diff) | |
download | guru-6b120967376bc269919683fae58c6539548d8f59.tar.gz guru-6b120967376bc269919683fae58c6539548d8f59.tar.bz2 guru-6b120967376bc269919683fae58c6539548d8f59.zip |
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>
Diffstat (limited to 'kde-misc')
4 files changed, 74 insertions, 0 deletions
diff --git a/kde-misc/plasma-applet-thermal-monitor/Manifest b/kde-misc/plasma-applet-thermal-monitor/Manifest new file mode 100644 index 000000000..ed8e382be --- /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 000000000..b563244ba --- /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 000000000..355f07fb1 --- /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 000000000..3a4aca4b1 --- /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 +} |