2011-10-17 22:15:57 +11:00
|
|
|
# Description: Cross-platform 3D audio.
|
|
|
|
# URL: http://kcat.strangesoft.net/openal.html
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2011-10-17 22:15:57 +11:00
|
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
|
|
# Depends on: alsa-lib cmake
|
|
|
|
|
|
|
|
name=openal
|
2017-06-19 19:41:42 +10:00
|
|
|
version=1.18.0
|
2011-10-17 22:15:57 +11:00
|
|
|
release=1
|
|
|
|
source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd openal-soft-$version/build
|
|
|
|
|
|
|
|
cmake ../ \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-06-19 19:41:42 +10:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2011-10-17 22:15:57 +11:00
|
|
|
-DOSS=OFF \
|
2016-09-11 16:49:00 +10:00
|
|
|
-DALSOFT_EXAMPLES=OFF \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release #-DCMAKE_VERBOSE_MAKEFILE:BOOL="on"
|
2011-10-17 22:15:57 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|