alsa-lib: add version check override
authorAlexandru Ardelean <redacted>
Sat, 30 May 2026 18:12:17 +0000 (21:12 +0300)
committerAlexandru Ardelean <redacted>
Sun, 31 May 2026 06:12:43 +0000 (09:12 +0300)
alsa-lib ships only a shared library and aserver has no --version, so
neither can satisfy the generic version probe. Add a test-version.sh
that exits 0 for both arms and exits 1 for unknown subpackages.

Signed-off-by: Alexandru Ardelean <redacted>
libs/alsa-lib/test-version.sh [new file with mode: 0755]

diff --git a/libs/alsa-lib/test-version.sh b/libs/alsa-lib/test-version.sh
new file mode 100755 (executable)
index 0000000..a3af523
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# shellcheck shell=busybox
+
+case "$PKG_NAME" in
+alsa-lib)
+       # Shared library
+       exit 0
+       ;;
+
+aserver)
+       # aserver does not implement --version
+       exit 0
+       ;;
+
+*)
+       echo "Untested package: $PKG_NAME" >&2
+       exit 1
+       ;;
+esac
git clone https://git.99rst.org/PROJECT