mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/sensors-applet to 3.0.0-4
This commit is contained in:
parent
97fd4fdd0b
commit
e5c2a261e9
2 changed files with 39 additions and 22 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = sensors-applet
|
||||
pkgdesc = Applet for GNOME Panel to display readings from hardware sensors
|
||||
pkgver = 3.0.0
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
epoch = 1
|
||||
url = https://sensors-applet.sourceforge.net/
|
||||
arch = x86_64
|
||||
|
@ -22,15 +22,17 @@ pkgbase = sensors-applet
|
|||
depends = lm_sensors
|
||||
optdepends = hddtemp: get HDD temperatures
|
||||
optdepends = udisks2: get HDD temperatures
|
||||
source = sensors-applet::git+https://git.code.sf.net/p/sensors-applet/code#commit=07284262768e3a7066da09845370d78526be6bc1
|
||||
source = fix-crash-destroying-active-sensor.patch
|
||||
source = sensors-applet::git+https://git.code.sf.net/p/sensors-applet/code#tag=3.0.0
|
||||
source = port-to-libgnome-panel.patch
|
||||
source = sensors-applet-3.0.0-udisks2-plugin.patch
|
||||
source = fix-crash-destroying-active-sensor.patch
|
||||
source = include-unistd.h.patch
|
||||
source = drop-gnome-common.patch
|
||||
sha256sums = 6ec258baf1bb697de8492ba231d23cd849d964ccfae801d52c9b199864c0fea9
|
||||
sha256sums = 9c4cc2accf326c44cb625f5db0b82a782351cdf8829f1a4067a30f287b6b7156
|
||||
sha256sums = cb0e35e0d6e6568f14836da7e5b78154bd4d9a4127f0f6dd476e4f7c9d62339d
|
||||
sha256sums = ca6489da2e82df77e5a3b4e71e99689954132d5110f1c7bffc2f0ee7c35d4b33
|
||||
sha256sums = 82f2ea8cae09976f1c82c000e1b135d1e3081dc47355d4aad7fe4166995599c0
|
||||
source = sensors-applet-3.0.0-udisks2-plugin.patch
|
||||
b2sums = d47a432fca9389d000a2ed2a0c8e4adea8ae3293efb8b06ae8ec95a61414954288838736bc52d6dc3449a73f9856acd8613b93e59c34b1ff0b5cbf27117a429d
|
||||
b2sums = cf4bba7ab01623b9a0b1c80b364bef8414e25184e1ecc8e332f4280bb890d457b72a5c4f3a06f8e2e5bfc35a7f0a799251a9e1b31d8bb5620e95fa7c0edba1a1
|
||||
b2sums = 67f2fd1b99204fedc2a73142ac253c6c7bf73c915218b69cd99d9967825f986e74bf33568ce642d5debe00906674e0f5e30fd05938a6ba6f19d609a71cb34a5f
|
||||
b2sums = 6646ddbbeb2105b96a798755bec940878fd255f483463b6559b364a1158b4a027aa0375c295b92c2db10abca269a2cc5ed06554d1348b11c06bc78734d89e0eb
|
||||
b2sums = c93fc3d3cc937331e7e264d27ebe2f1ec8d7323490bbcaaa63c75033fc4a49a75bf571dd4ae533309d934653fba77c28b0d22ba377549498bee0fb19d6d7ad1a
|
||||
b2sums = 9d50a46954b19a1bc9fe3350153020623313bea9f15f3997fbd92a0a4920c50bfdab6c0347b3f5eaf9fadb15998e982cd69dd9bdbb8f1e0e6f14465222ab2151
|
||||
|
||||
pkgname = sensors-applet
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
pkgname=sensors-applet
|
||||
pkgver=3.0.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
epoch=1
|
||||
pkgdesc='Applet for GNOME Panel to display readings from hardware sensors'
|
||||
arch=('x86_64')
|
||||
|
@ -16,25 +16,40 @@ depends=('cairo' 'dconf' 'gdk-pixbuf2' 'glib2' 'glibc' 'gnome-panel' 'gtk3' 'hic
|
|||
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'
|
||||
source=("$pkgname::git+https://git.code.sf.net/p/sensors-applet/code#tag=$pkgver"
|
||||
'port-to-libgnome-panel.patch'
|
||||
'sensors-applet-3.0.0-udisks2-plugin.patch'
|
||||
'drop-gnome-common.patch')
|
||||
sha256sums=('6ec258baf1bb697de8492ba231d23cd849d964ccfae801d52c9b199864c0fea9'
|
||||
'9c4cc2accf326c44cb625f5db0b82a782351cdf8829f1a4067a30f287b6b7156'
|
||||
'cb0e35e0d6e6568f14836da7e5b78154bd4d9a4127f0f6dd476e4f7c9d62339d'
|
||||
'ca6489da2e82df77e5a3b4e71e99689954132d5110f1c7bffc2f0ee7c35d4b33'
|
||||
'82f2ea8cae09976f1c82c000e1b135d1e3081dc47355d4aad7fe4166995599c0')
|
||||
'fix-crash-destroying-active-sensor.patch'
|
||||
'include-unistd.h.patch'
|
||||
'drop-gnome-common.patch'
|
||||
'sensors-applet-3.0.0-udisks2-plugin.patch')
|
||||
b2sums=('d47a432fca9389d000a2ed2a0c8e4adea8ae3293efb8b06ae8ec95a61414954288838736bc52d6dc3449a73f9856acd8613b93e59c34b1ff0b5cbf27117a429d'
|
||||
'cf4bba7ab01623b9a0b1c80b364bef8414e25184e1ecc8e332f4280bb890d457b72a5c4f3a06f8e2e5bfc35a7f0a799251a9e1b31d8bb5620e95fa7c0edba1a1'
|
||||
'67f2fd1b99204fedc2a73142ac253c6c7bf73c915218b69cd99d9967825f986e74bf33568ce642d5debe00906674e0f5e30fd05938a6ba6f19d609a71cb34a5f'
|
||||
'6646ddbbeb2105b96a798755bec940878fd255f483463b6559b364a1158b4a027aa0375c295b92c2db10abca269a2cc5ed06554d1348b11c06bc78734d89e0eb'
|
||||
'c93fc3d3cc937331e7e264d27ebe2f1ec8d7323490bbcaaa63c75033fc4a49a75bf571dd4ae533309d934653fba77c28b0d22ba377549498bee0fb19d6d7ad1a'
|
||||
'9d50a46954b19a1bc9fe3350153020623313bea9f15f3997fbd92a0a4920c50bfdab6c0347b3f5eaf9fadb15998e982cd69dd9bdbb8f1e0e6f14465222ab2151')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
patch -Np1 -i ../fix-crash-destroying-active-sensor.patch
|
||||
|
||||
# Various fixes from upstream
|
||||
git cherry-pick -n 9b8ca0e2e368c40fdfb64565e45eb1aa3cdeccf9..07284262768e3a7066da09845370d78526be6bc1
|
||||
|
||||
# Port to libgnome-panel
|
||||
patch -Np1 -i ../port-to-libgnome-panel.patch
|
||||
patch -Np1 -i ../sensors-applet-3.0.0-udisks2-plugin.patch
|
||||
|
||||
# Fix crash destroying active sensor
|
||||
patch -Np1 -i ../fix-crash-destroying-active-sensor.patch
|
||||
|
||||
# Fix build
|
||||
patch -Np1 -i ../include-unistd.h.patch
|
||||
|
||||
# Remove usage of deprecated gnome-common
|
||||
patch -Np1 -i ../drop-gnome-common.patch
|
||||
|
||||
# Port to udisks2
|
||||
patch -Np1 -i ../sensors-applet-3.0.0-udisks2-plugin.patch
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue