mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 17:25:17 +03: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
45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=labwc
|
|
pkgver=0.8.4
|
|
pkgrel=0
|
|
pkgdesc="Wayland stacking compositor"
|
|
url="https://github.com/labwc/labwc"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
depends="xwayland"
|
|
makedepends="
|
|
cairo-dev
|
|
glib-dev
|
|
libinput-dev
|
|
libsfdo-dev
|
|
librsvg-dev
|
|
libxml2-dev
|
|
meson
|
|
pango-dev
|
|
scdoc
|
|
wayland-protocols
|
|
wlroots-dev
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
source="https://github.com/labwc/labwc/archive/$pkgver/labwc-$pkgver.tar.gz
|
|
remove-aports-git-version.patch
|
|
"
|
|
|
|
build() {
|
|
abuild-meson . output -Dman-pages=enabled
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
20e45bd274e93cc68b6645ec4dc368fcdc25cc31d0d7d4f35f7f141faec842e09f39e2d511128927fd8d9a6f005faf975d59f7503c64d52ef86d3ce652702279 labwc-0.8.4.tar.gz
|
|
08b1c7f45eda434400b61b8cad1d0e800c8f4ecd9e3f93fc42b10f4e8e0e599ed61a7a7e363dfa0acb45b174269278c136a244ec87940e84cc2362cdda5f5ef6 remove-aports-git-version.patch
|
|
"
|