25 lines
677 B
Plaintext
25 lines
677 B
Plaintext
# Description: Cross-platform 3D audio.
|
|
# URL: https://github.com/kcat/openal-soft
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: alsa-lib-32 openal
|
|
|
|
name=openal-32
|
|
version=1.24.2
|
|
release=1
|
|
source=(https://github.com/kcat/openal-soft/archive/$version/openal-soft-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S openal-soft-$version -B build ${PKGMK_OPENAL_32} -G Ninja \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_INSTALL_LIBDIR=lib32 \
|
|
-D ALSOFT_UTILS=OFF \
|
|
-D ALSOFT_EXAMPLES=OFF \
|
|
-D QT_QMAKE_EXECUTABLE=qmake-disabled \
|
|
-D CMAKE_BUILD_TYPE=Release
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
rm -r $PKG/usr/{include,share}
|
|
}
|