2016-08-07 22:05:08 +00:00
|
|
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - drop dependency on libxnvctrl (nvidia-settings)
|
|
|
|
|
|
|
|
pkgname=sensors-applet
|
2018-01-15 16:35:42 +00:00
|
|
|
pkgver=3.0.0+13+g0728426
|
2023-03-12 17:59:49 +00:00
|
|
|
pkgrel=6
|
2022-04-25 12:53:54 +00:00
|
|
|
pkgdesc='Applet for GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings'
|
2018-01-15 16:35:42 +00:00
|
|
|
arch=('x86_64')
|
2022-04-25 12:53:54 +00:00
|
|
|
url='http://sensors-applet.sourceforge.net/'
|
2016-08-07 22:05:08 +00:00
|
|
|
license=('GPL')
|
|
|
|
depends=('gnome-panel' 'libatasmart' 'lm_sensors')
|
2016-08-12 12:29:16 +00:00
|
|
|
makedepends=('git' 'gnome-common' 'intltool' 'yelp-tools')
|
2017-01-21 18:09:40 +00:00
|
|
|
optdepends=('hddtemp: get HDD temperatures')
|
2018-01-15 16:35:42 +00:00
|
|
|
_commit=07284262768e3a7066da09845370d78526be6bc1 # master
|
2020-10-22 12:57:35 +00:00
|
|
|
source=("$pkgname::git+https://git.code.sf.net/p/sensors-applet/code#commit=$_commit"
|
2022-04-25 12:53:54 +00:00
|
|
|
'fix-crash-destroying-active-sensor.patch'
|
|
|
|
'port-to-libgnome-panel.patch')
|
2020-10-22 12:57:35 +00:00
|
|
|
sha256sums=('SKIP'
|
|
|
|
'9c4cc2accf326c44cb625f5db0b82a782351cdf8829f1a4067a30f287b6b7156'
|
|
|
|
'cb0e35e0d6e6568f14836da7e5b78154bd4d9a4127f0f6dd476e4f7c9d62339d')
|
2016-08-07 22:05:08 +00:00
|
|
|
|
2018-01-15 16:35:42 +00:00
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --tags | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
2016-08-07 22:05:08 +00:00
|
|
|
prepare() {
|
2016-08-12 12:29:16 +00:00
|
|
|
cd $pkgname
|
2020-10-22 12:57:35 +00:00
|
|
|
patch -Np1 -i ../port-to-libgnome-panel.patch
|
|
|
|
patch -Np1 -i ../fix-crash-destroying-active-sensor.patch
|
2016-08-07 22:05:08 +00:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2016-08-12 12:29:16 +00:00
|
|
|
cd $pkgname
|
2022-04-25 12:53:54 +00:00
|
|
|
./configure --prefix=/usr
|
2016-08-12 12:29:16 +00:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
2016-08-07 22:05:08 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-08-12 12:29:16 +00:00
|
|
|
cd $pkgname
|
2016-08-07 22:05:08 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|