ports: Add openal-soft port
This commit is contained in:
parent
bd9015e474
commit
9233049356
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='openal-soft'
|
||||
VERSION='1.24.3'
|
||||
DOWNLOAD_URL="https://github.com/kcat/openal-soft/archive/refs/tags/$VERSION.tar.gz#7e1fecdeb45e7f78722b776c5cf30bd33934b961d7fd2a11e0494e064cc631ce"
|
||||
DEPENDENCIES=('zlib' 'libsndfile')
|
||||
|
||||
configure() {
|
||||
$BANAN_CMAKE \
|
||||
--toolchain="$BANAN_TOOLCHAIN_DIR/Toolchain.txt" \
|
||||
-B build -G Ninja --fresh . \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DALSOFT_EXAMPLES=OFF \
|
||||
-DALSOFT_NO_CONFIG_UTIL=ON \
|
||||
-DALSOFT_BACKEND_SDL2=ON \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
build() {
|
||||
$BANAN_CMAKE --build build || exit 1
|
||||
}
|
||||
|
||||
install() {
|
||||
$BANAN_CMAKE --install build || exit 1
|
||||
}
|
||||
Loading…
Reference in New Issue