[arch-commits] Commit in plasma5-applets-thermal-monitor/repos (3 files)
Bruno Pagani
archange at archlinux.org
Sun May 28 22:10:38 UTC 2017
Date: Sunday, May 28, 2017 @ 22:10:37
Author: archange
Revision: 230719
archrelease: copy trunk to community-any
Added:
plasma5-applets-thermal-monitor/repos/community-any/
plasma5-applets-thermal-monitor/repos/community-any/PKGBUILD
(from rev 230718, plasma5-applets-thermal-monitor/trunk/PKGBUILD)
plasma5-applets-thermal-monitor/repos/community-any/remove-spammer.patch
(from rev 230718, plasma5-applets-thermal-monitor/trunk/remove-spammer.patch)
----------------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
remove-spammer.patch | 21 +++++++++++++++++++++
2 files changed, 59 insertions(+)
Copied: plasma5-applets-thermal-monitor/repos/community-any/PKGBUILD (from rev 230718, plasma5-applets-thermal-monitor/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2017-05-28 22:10:37 UTC (rev 230719)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+# Contributor: Martin Kostolný <clearmartin at zoho dot com>
+
+pkgname=plasma5-applets-thermal-monitor
+pkgver=1.2.7
+pkgrel=1
+pkgdesc="Plasma applet for monitoring temperatures of existing sensors including CPU, GPU and HDD."
+arch=('any')
+url="https://github.com/kotelnik/plasma-applet-thermal-monitor"
+license=('GPL')
+depends=('plasma-workspace' 'qt5-graphicaleffects')
+makedepends=('extra-cmake-modules')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz"
+ "remove-spammer.patch")
+sha256sums=('09a66d02ddd658eee0b8aeea02fb8e305da3f057b436cfb6b8ad8454ebbd1ca2'
+ 'aa411a4b53fa81815cc2bc17c6818e5ebcd7646eda87b51cc829f4e5fef37385')
+
+prepare() {
+ mkdir -p build
+ cd plasma-applet-thermal-monitor-${pkgver}
+ patch -p1 -i ../remove-spammer.patch
+}
+
+build() {
+ cd build
+
+ cmake ../plasma-applet-thermal-monitor-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+}
+
+package() {
+ cd build
+
+ make DESTDIR="${pkgdir}" install
+}
Copied: plasma5-applets-thermal-monitor/repos/community-any/remove-spammer.patch (from rev 230718, plasma5-applets-thermal-monitor/trunk/remove-spammer.patch)
===================================================================
--- community-any/remove-spammer.patch (rev 0)
+++ community-any/remove-spammer.patch 2017-05-28 22:10:37 UTC (rev 230719)
@@ -0,0 +1,21 @@
+From 7ceb9a2c09caca063aa938d2aea2775326be19e6 Mon Sep 17 00:00:00 2001
+From: Keziolio <keziolio123 at gmail.com>
+Date: Tue, 2 Aug 2016 22:55:29 +0200
+Subject: [PATCH] remove spammer
+
+---
+ package/contents/code/temperature-utils.js | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/package/contents/code/temperature-utils.js b/package/contents/code/temperature-utils.js
+index 5bcea6e..70a8787 100644
+--- a/package/contents/code/temperature-utils.js
++++ b/package/contents/code/temperature-utils.js
+@@ -3,7 +3,6 @@ function toFahrenheit(celsia) {
+ }
+
+ function getTemperature(celsiaDouble, fahrenheitEnabled) {
+- dbgprint('getTemperature: ' + celsiaDouble)
+ var fl = celsiaDouble
+ if (fahrenheitEnabled) {
+ fl = toFahrenheit(fl)
More information about the arch-commits
mailing list