mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 18:45:05 +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
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Contributor: Clayton Craft <clayton@craftyguy.net>
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
pkgname=wys
|
|
pkgver=0.1.12
|
|
pkgrel=0
|
|
pkgdesc="A daemon to bring up and take down PulseAudio loopbacks for phone call audio."
|
|
arch="all"
|
|
url="https://source.puri.sm/Librem5/wys"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="meson pulseaudio-dev glib-dev modemmanager-dev"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/wys/-/archive/v$pkgver/wys-v$pkgver.tar.gz
|
|
wys.desktop"
|
|
builddir=$srcdir/$pkgname-v$pkgver
|
|
|
|
build() {
|
|
abuild-meson build
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C build
|
|
install -D -m644 $srcdir/wys.desktop $pkgdir/etc/xdg/autostart/wys.desktop
|
|
}
|
|
|
|
sha512sums="
|
|
8401a6391af8c438afd790e245cf85a11c60c112168d41fc1b5c1fe51164af2a0cf54c2cc6e07119639a157dbb990464d32e17b3e02c136e921aafa351b4185b wys-0.1.12.tar.gz
|
|
0f67c24d9af727e803d5cdb2dc01c7d99a2bfe33414fdc29cf5ec34c5a308b3a5f65970832087310e25e4ba7dc706b5a1d1ae99ab595d7264e972047a08f71e4 wys.desktop
|
|
"
|