aports/community/gnome-console/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

52 lines
1.2 KiB
Text

# Maintainer: team/gnome <david@ixit.cz>
# Contributor: David Heidelberg <david@ixit.cz>
pkgname=gnome-console
pkgver=48.0.1
pkgrel=0
pkgdesc="User-friendly terminal for GNOME"
url="https://gitlab.gnome.org/GNOME/console"
arch="all"
license="GPL-3.0-only"
depends="
dbus
gsettings-desktop-schemas
"
makedepends="
desktop-file-utils
glib-dev
gsettings-desktop-schemas-dev
gtk4.0-dev
libadwaita-dev
libgtop-dev
meson
pcre2-dev
sassc
vte3-dev
"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-console/${pkgver%%.*}/gnome-console-$pkgver.tar.xz
bin-test.patch
"
replaces="kgx"
provides="kgx=$pkgver-r$pkgrel"
build() {
abuild-meson \
-Db_lto=true \
-Dtests="$(want_check && echo true || echo false)" \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
69fe38398efe6bbcbf3f399ea156432345bfd1f2bec331bc155b1feb9e37c0f5f4762c565f7b5126610359463b550e7c918bffd2838623798c814a7c3dbadafb gnome-console-48.0.1.tar.xz
59081e2167a4909bce45629a1c95d3e0a5fcf6f7bb149580b5e09d8ffb0ea8ca7294edb99131c0ec7486a4335685a238cdc4cbc10768e8f1c3a108b94c61cdb7 bin-test.patch
"