From d8da26d096c67f2ce50c9e66132586375756c620 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 23 May 2021 16:39:49 +0000 Subject: [PATCH] community/psensor to 1.2.1-2 --- community/psensor/PKGBUILD | 30 ++++++++++++----------- community/psensor/psensor.appdata.xml | 34 +++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 14 deletions(-) create mode 100644 community/psensor/psensor.appdata.xml diff --git a/community/psensor/PKGBUILD b/community/psensor/PKGBUILD index 9f70430d6..e1c3594b0 100644 --- a/community/psensor/PKGBUILD +++ b/community/psensor/PKGBUILD @@ -1,4 +1,5 @@ -# Maintainer: Robin Broda +# Maintainer: Balló György +# Contributor: Robin Broda # Contributor: X0rg # Contributor: marlock # Contributor: Diogo Leal @@ -8,30 +9,31 @@ pkgname=psensor pkgver=1.2.1 -pkgrel=1 -pkgdesc='A graphical hardware temperature monitor for Linux' +pkgrel=2 +pkgdesc='Graphical hardware temperature monitoring application' arch=('x86_64') url='https://wpitchoune.net/psensor' license=('GPL2') -depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify' - 'json-c' 'libmicrohttpd') -makedepends=('help2man') -source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz") -sha512sums=('931b8ab654cd708d128e0a659e94049fa69dd33dc354b17ef08e05b8da65588f5c5c1c2a4a42f7341a7990f999152c9aebf3c58484eea38e476034d60ac2ff41') +depends=('curl' 'gtk3' 'json-c' 'libgtop' 'libmicrohttpd' 'libnotify' 'lm_sensors' + 'udisks2') +source=("https://wpitchoune.net/$pkgname/files/$pkgname-$pkgver.tar.gz" + 'psensor.appdata.xml') +sha256sums=('084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab' + 'f8079f06959447af0baf3b00ab74cbf6d9ed55a2995114071189cf501bc55009') prepare() { - find $pkgname-$pkgver -name Makefile* | xargs sed -e 's|-Werror||g' -i # Kill -Werror + cd $pkgname-$pkgver + sed -i 's/ -Werror//' {src/lib,src/server,tests}/Makefile.{am,in} } build() { - cd "${pkgname}-${pkgver}" - + cd $pkgname-$pkgver ./configure --prefix=/usr make } package() { - cd "${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}/" install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml" } diff --git a/community/psensor/psensor.appdata.xml b/community/psensor/psensor.appdata.xml new file mode 100644 index 000000000..27bd6ca2b --- /dev/null +++ b/community/psensor/psensor.appdata.xml @@ -0,0 +1,34 @@ + + + net.wpitchoune.psensor + psensor.desktop + Psensor + Graphical temperature monitor for Linux + CC0-1.0 + GPL-2.0 + Jean-Philippe Orsini + +

psensor is a graphical hardware temperature monitor for Linux.

+

It can monitor:

+
    +
  • the temperature of the motherboard and CPU sensors (using lm-sensors).
  • +
  • the temperature of the NVidia GPUs (using XNVCtrl).
  • +
  • the temperature of the Hard Disk Drives (using hddtemp or libatasmart).
  • +
  • the rotation speed of the fans (using lm-sensors).
  • +
  • the CPU usage (since 0.6.2.10 and using Gtop2).
  • +
+

The application is designed to be simple and easy to use. The CPU and memory consumption are not significant.

+
+ + + https://wpitchoune.net/psensor/screenshots/psensor-last.png + + + https://wpitchoune.net/psensor/screenshots/psensor-2011-06-16.png + + + https://gitlab.com/jeanfi/psensor/-/issues + https://wpitchoune.net/psensor/ + jeanfi@gmail.com + psensor +