2023-08-19 11:57:32 +02:00
|
|
|
# Description: Cross-platform 3D audio.
|
|
|
|
# URL: https://github.com/kcat/openal-soft
|
2023-09-16 07:28:52 -04:00
|
|
|
# Maintainer: unmaintained
|
|
|
|
# Depends on: alsa-lib
|
|
|
|
# Optional: qt5
|
2023-08-19 11:57:32 +02:00
|
|
|
|
|
|
|
name=openal
|
|
|
|
version=1.23.1
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/kcat/openal-soft/archive/$version/openal-soft-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2023-09-16 07:28:52 -04:00
|
|
|
cmake -S openal-soft-$version -B build -G Ninja \
|
2023-08-19 11:57:32 +02:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D ALSOFT_EXAMPLES=OFF \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release
|
|
|
|
|
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
}
|