aports/community/gnome-system-monitor/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

49 lines
1.1 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <pabloyoyoista@postmarketos.org>
pkgname=gnome-system-monitor
pkgver=48.1
pkgrel=0
pkgdesc="GNOME system monitor"
url="https://www.gnome.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
catch2-3
glibmm-dev>2.68
gnome-desktop-dev
gtkmm4-dev
itstool
libadwaita-dev
libgtop-dev
librsvg-dev
libxml2-dev
libxml2-utils
libxslt
meson
polkit-dev
"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-system-monitor/${pkgver%%.*}/gnome-system-monitor-$pkgver.tar.xz"
build() {
# localtime_r
CFLAGS="$CFLAGS -D_BSD_SOURCE" \
abuild-meson \
-Db_lto=true \
-Dsystemd=false \
output .
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
4286f1b51a77097cbc249f88e3f0807e9ef7e83fcbca7326df37e017ed3f5b6528f377c6906c4a02dc7ad4b9931282775a0654c53c5228bee6e0d17b3c28cd78 gnome-system-monitor-48.1.tar.xz
"