mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/psensor to 1.2.1-2
This commit is contained in:
parent
cfd26bbb5b
commit
d8da26d096
2 changed files with 50 additions and 14 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Maintainer: Robin Broda <robin@broda.me>
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
||||||
|
# Contributor: Robin Broda <robin@broda.me>
|
||||||
# Contributor: X0rg
|
# Contributor: X0rg
|
||||||
# Contributor: marlock <marlock87@hotmail.com>
|
# Contributor: marlock <marlock87@hotmail.com>
|
||||||
# Contributor: Diogo Leal <estranho@diogoleal.com>
|
# Contributor: Diogo Leal <estranho@diogoleal.com>
|
||||||
|
@ -8,30 +9,31 @@
|
||||||
|
|
||||||
pkgname=psensor
|
pkgname=psensor
|
||||||
pkgver=1.2.1
|
pkgver=1.2.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='A graphical hardware temperature monitor for Linux'
|
pkgdesc='Graphical hardware temperature monitoring application'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://wpitchoune.net/psensor'
|
url='https://wpitchoune.net/psensor'
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('lm_sensors' 'dconf' 'gtk3' 'udisks2' 'curl' 'libgtop' 'libnotify'
|
depends=('curl' 'gtk3' 'json-c' 'libgtop' 'libmicrohttpd' 'libnotify' 'lm_sensors'
|
||||||
'json-c' 'libmicrohttpd')
|
'udisks2')
|
||||||
makedepends=('help2man')
|
source=("https://wpitchoune.net/$pkgname/files/$pkgname-$pkgver.tar.gz"
|
||||||
source=("https://wpitchoune.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
|
'psensor.appdata.xml')
|
||||||
sha512sums=('931b8ab654cd708d128e0a659e94049fa69dd33dc354b17ef08e05b8da65588f5c5c1c2a4a42f7341a7990f999152c9aebf3c58484eea38e476034d60ac2ff41')
|
sha256sums=('084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab'
|
||||||
|
'f8079f06959447af0baf3b00ab74cbf6d9ed55a2995114071189cf501bc55009')
|
||||||
|
|
||||||
prepare() {
|
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() {
|
build() {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd $pkgname-$pkgver
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
make DESTDIR="${pkgdir}/" install
|
install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
|
||||||
}
|
}
|
||||||
|
|
34
community/psensor/psensor.appdata.xml
Normal file
34
community/psensor/psensor.appdata.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>net.wpitchoune.psensor</id>
|
||||||
|
<launchable type="desktop-id">psensor.desktop</launchable>
|
||||||
|
<name>Psensor</name>
|
||||||
|
<summary>Graphical temperature monitor for Linux</summary>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<project_license>GPL-2.0</project_license>
|
||||||
|
<developer_name>Jean-Philippe Orsini</developer_name>
|
||||||
|
<description>
|
||||||
|
<p>psensor is a graphical hardware temperature monitor for Linux.</p>
|
||||||
|
<p>It can monitor:</p>
|
||||||
|
<ul>
|
||||||
|
<li>the temperature of the motherboard and CPU sensors (using lm-sensors).</li>
|
||||||
|
<li>the temperature of the NVidia GPUs (using XNVCtrl).</li>
|
||||||
|
<li>the temperature of the Hard Disk Drives (using hddtemp or libatasmart).</li>
|
||||||
|
<li>the rotation speed of the fans (using lm-sensors).</li>
|
||||||
|
<li>the CPU usage (since 0.6.2.10 and using Gtop2).</li>
|
||||||
|
</ul>
|
||||||
|
<p>The application is designed to be simple and easy to use. The CPU and memory consumption are not significant.</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://wpitchoune.net/psensor/screenshots/psensor-last.png</image>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://wpitchoune.net/psensor/screenshots/psensor-2011-06-16.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<url type="bugtracker">https://gitlab.com/jeanfi/psensor/-/issues</url>
|
||||||
|
<url type="homepage">https://wpitchoune.net/psensor/</url>
|
||||||
|
<update_contact>jeanfi@gmail.com</update_contact>
|
||||||
|
<translation type="gettext">psensor</translation>
|
||||||
|
</component>
|
Loading…
Reference in a new issue