1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

community/xfce4-sensors-plugin: upgrade to 1.5.0, switch to meson

This commit is contained in:
fossdd 2025-07-06 10:30:11 +02:00
parent ef3ae6796a
commit 53ce64d862

View file

@ -1,34 +1,31 @@
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-sensors-plugin
pkgver=1.4.5
pkgver=1.5.0
pkgrel=0
pkgdesc="Reads your hardware sensor values and displays them in your panel"
url="https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin/start"
arch="all"
license="GPL-2.0-or-later"
depends_dev="xfce4-panel-dev lm-sensors-dev"
makedepends="$depends_dev bash libxfce4ui-dev"
subpackages="$pkgname-dev $pkgname-lang $pkgname-doc"
source="https://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/${pkgver%.*}/xfce4-sensors-plugin-$pkgver.tar.bz2"
makedepends="$depends_dev bash libxfce4ui-dev meson"
subpackages="$pkgname-lang $pkgname-doc"
source="https://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/${pkgver%.*}/xfce4-sensors-plugin-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static
make
abuild-meson \
output .
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
f47007e1673b0309865a786240b64b4f1392e94035dc524beb09196d3309fd9a5b49fd3c2b5532a0b3c514b85f6345ec127c01f85ade170ae26ed2bbbe3fa299 xfce4-sensors-plugin-1.4.5.tar.bz2
0ffd1e223a91740151ec3a114ca08df6c1a9451656ba59180a2a3e1a23661f441a31e6d4dbe87c417240875071430671029da63541acdd3069af517b7afcfe9e xfce4-sensors-plugin-1.5.0.tar.xz
"