aboutsummaryrefslogtreecommitdiffstats
path: root/community/snapcast
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-15 16:35:53 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-15 14:54:28 +0000
commitd6f8a861773e47ff7c9aa9ddcc026c7cca5cc754 (patch)
tree722b3154a1bfb833ddc26eb0aca6a53d35789e38 /community/snapcast
parent39cef475452d224401e9bf571594f4acdf1493d9 (diff)
downloadaports-d6f8a861773e47ff7c9aa9ddcc026c7cca5cc754.tar.gz
aports-d6f8a861773e47ff7c9aa9ddcc026c7cca5cc754.tar.bz2
aports-d6f8a861773e47ff7c9aa9ddcc026c7cca5cc754.tar.xz
community/snapcast: enable unit tests
Diffstat (limited to 'community/snapcast')
-rw-r--r--community/snapcast/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/community/snapcast/APKBUILD b/community/snapcast/APKBUILD
index a8d0657938..04174d91e4 100644
--- a/community/snapcast/APKBUILD
+++ b/community/snapcast/APKBUILD
@@ -19,7 +19,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/badaix/snapcast/archive/v$pk
$pkgname-server.initd
$pkgname-server.confd
"
-options="!check" # No testsuite
build() {
cmake -B build \
@@ -29,16 +28,15 @@ build() {
-DBUILD_WITH_VORBIS=ON \
-DBUILD_WITH_OPUS=ON \
-DBUILD_WITH_AVAHI=ON
- make -C build
+ cmake --build build
}
check() {
- cd build
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+ bin/snapcast_test
}
package() {
- DESTDIR="$pkgdir" make -C build install
+ DESTDIR="$pkgdir" cmake --install build
}
client() {