aports/community/greetd-gtkgreet/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

45 lines
1.2 KiB
Text

# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
pkgname=greetd-gtkgreet
_projname=gtkgreet
pkgver=0.7_git20230509
_gitrev=bf6c07be5019c83b274cefb94e3f7ad25944b29f
pkgrel=0
pkgdesc="GTK-based greeter for greetd"
url="https://git.sr.ht/~kennylevinsen/gtkgreet"
# s390x: blocked by greetd
arch="all !s390x"
license="GPL-3.0-only"
depends="greetd"
makedepends="
gtk+3.0-dev
gtk-layer-shell-dev
json-c-dev
meson
scdoc
"
provides="$_projname=$pkgver-r$pkgrel"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$_gitrev.tar.gz::https://git.sr.ht/~kennylevinsen/gtkgreet/archive/$_gitrev.tar.gz"
builddir="$srcdir/$_projname-$_gitrev"
build() {
abuild-meson \
-Dlayershell=enabled \
-Dman-pages=enabled \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
445f49ecc6ff197823576fc4d74285993dd21563b1df3f91c1862c08deb03ede6ed007f3a1eea0072793f5eb6f0de55f393a2e8d14a4e06419b926b8a69b0010 greetd-gtkgreet-bf6c07be5019c83b274cefb94e3f7ad25944b29f.tar.gz
"