mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
51 lines
1.8 KiB
Bash
51 lines
1.8 KiB
Bash
# 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
|
|
pkgver=3.0.0
|
|
pkgrel=3
|
|
epoch=1
|
|
pkgdesc='Applet for GNOME Panel to display readings from hardware sensors'
|
|
arch=('x86_64')
|
|
url='https://sensors-applet.sourceforge.net/'
|
|
license=('GPL-2.0-or-later')
|
|
depends=('cairo' 'dconf' 'gdk-pixbuf2' 'glib2' 'glibc' 'gnome-panel' 'gtk3' 'hicolor-icon-theme'
|
|
'libx11' 'lm_sensors')
|
|
makedepends=('git' 'intltool' 'yelp-tools')
|
|
optdepends=('hddtemp: get HDD temperatures'
|
|
'udisks2: get HDD temperatures')
|
|
_commit=07284262768e3a7066da09845370d78526be6bc1 # master
|
|
source=("$pkgname::git+https://git.code.sf.net/p/sensors-applet/code#commit=$_commit"
|
|
'fix-crash-destroying-active-sensor.patch'
|
|
'port-to-libgnome-panel.patch'
|
|
'sensors-applet-3.0.0-udisks2-plugin.patch'
|
|
'drop-gnome-common.patch')
|
|
sha256sums=('6ec258baf1bb697de8492ba231d23cd849d964ccfae801d52c9b199864c0fea9'
|
|
'9c4cc2accf326c44cb625f5db0b82a782351cdf8829f1a4067a30f287b6b7156'
|
|
'cb0e35e0d6e6568f14836da7e5b78154bd4d9a4127f0f6dd476e4f7c9d62339d'
|
|
'ca6489da2e82df77e5a3b4e71e99689954132d5110f1c7bffc2f0ee7c35d4b33'
|
|
'82f2ea8cae09976f1c82c000e1b135d1e3081dc47355d4aad7fe4166995599c0')
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
patch -Np1 -i ../fix-crash-destroying-active-sensor.patch
|
|
patch -Np1 -i ../port-to-libgnome-panel.patch
|
|
patch -Np1 -i ../sensors-applet-3.0.0-udisks2-plugin.patch
|
|
patch -Np1 -i ../drop-gnome-common.patch
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
./configure --prefix=/usr
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|