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

community/xfce4-cpugraph-plugin: upgrade to 1.3.0, switch to meson

This commit is contained in:
fossdd 2025-07-06 09:50:47 +02:00
parent 51639a6bc7
commit be055b4ec3

View file

@ -1,31 +1,34 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpugraph-plugin
pkgver=1.2.11
pkgver=1.3.0
pkgrel=0
pkgdesc="CPU monitor for the Xfce panel"
url="https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin/start"
arch="all"
license="GPL-2.0-or-later"
makedepends="libxfce4ui-dev xfce4-panel-dev"
makedepends="
libxfce4ui-dev
meson
xfce4-panel-dev
"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/${pkgver%.*}/xfce4-cpugraph-plugin-$pkgver.tar.bz2"
source="https://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/${pkgver%.*}/xfce4-cpugraph-plugin-$pkgver.tar.xz"
options="!check" # no tests
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
abuild-meson \
output .
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
make -j1 DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
c9c9b32028c223146b5ae73df3dfff14fff38d15695459f96d9428d4b2e82d08e46eee6d2f83a2b261845b1a03df20287d7bb83a8323f48813ccb56299009d93 xfce4-cpugraph-plugin-1.2.11.tar.bz2
aefb0f94b7a4a480ca5769bd09aed29404316562a70abcb243c538de8637062de2eb6defe424d1f2cd2555a49d5aae4393b623b4d65dca84f87b420d38da4443 xfce4-cpugraph-plugin-1.3.0.tar.xz
"