wildmidi: optionally enable sndio output

This commit is contained in:
2026-02-16 21:01:32 +00:00
parent 490bebad47
commit 744f326a60
2 changed files with 9 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxOMTbZ9CZRbNxXdIvYWdFaQCw1w+ZGjULbJi34b1iPKCr0/QHmOy4mWpPcl7DF95BoV0TKOJbvACtA9GDFEnxgs=
SHA256 (Pkgfile) = 8f5fb4965564511a7bdac8411d336572f939045d29bdbe06ff830d91abae4174
RWTTPlFarK9CxLneKeSVxEgj6ooGhkAmJfXdjTpakTyIu0X/xyQbwm0kp0gxC8+OlvzuQh03C+EW7xHk02INCt0eV/fZ1F+y6gw=
SHA256 (Pkgfile) = ee6939203ed1f5b2036b1419bd772cc4ecc5905cf2a72a7c1e7e18c883bdc3f8
SHA256 (.footprint) = 32b4b32dda933c58cb1efa0f90fe997c3c3d8ae1255f35fc59be335a7d8abdf3
SHA256 (wildmidi-0.4.6.tar.gz) = 051b8c51699af594ddd3e4e3b06bad3564e9499c3c6b9e6f880cb2f92bcfa9c8

View File

@@ -2,20 +2,24 @@
# URL: https://www.mindwerks.net/projects/wildmidi/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: alsa-lib
# Optional: sndio
name=wildmidi
version=0.4.6
release=1
release=2
source=(https://github.com/Mindwerks/$name/archive/refs/tags/$name-$version.tar.gz)
build() {
cd $name-$name-$version
[ -e /usr/lib/libsndio.so ] && PKGMK_WILDMIDI="-D WANT_SNDIO=ON"
cmake -DCMAKE_INSTALL_PREFIX="/usr/" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_INSTALL_LIBDIR=lib .
-DCMAKE_INSTALL_LIBDIR=lib \
$PKGMK_WILDMIDI .
cmake --build .
make DESTDIR=$PKG install
make DESTDIR="$PKG" install
}