mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-12 14:08:15 +02:00
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
37 lines
886 B
Text
37 lines
886 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=lightsoff
|
|
pkgver=40.0.1
|
|
pkgrel=2
|
|
arch="all"
|
|
url="https://wiki.gnome.org/Apps/Lightsoff"
|
|
pkgdesc="Turn off all the lights"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
clutter-dev
|
|
clutter-gtk-dev
|
|
gtk+3.0-dev
|
|
itstool
|
|
librsvg-dev
|
|
meson
|
|
samurai
|
|
vala
|
|
"
|
|
checkdepends="desktop-file-utils"
|
|
source="https://download.gnome.org/sources/lightsoff/${pkgver%.*.*}/lightsoff-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="ac1f812c3297a42f1e5aa8b8cdda2884b5c2aea2ea0190047ba5a0f47254b191d2105d7d1b548f0233fdee1b0e6033a97265a1cb28503daf403ee4e2c53a1aca lightsoff-40.0.1.tar.xz"
|