2016-03-28 14:35:10 +11:00
|
|
|
# Description: Cross-platform 3D audio.
|
|
|
|
# URL: http://kcat.strangesoft.net/openal.html
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: openal alsa-lib-32 cmake
|
|
|
|
|
|
|
|
name=openal-32
|
2017-06-19 19:43:30 +10:00
|
|
|
version=1.18.0
|
2016-03-28 14:35:10 +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:43:30 +10:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
2016-03-28 14:35:10 +11:00
|
|
|
-DOSS=OFF \
|
2016-09-11 16:54:47 +10:00
|
|
|
-DALSOFT_EXAMPLES=OFF \
|
2016-10-26 13:34:05 +11:00
|
|
|
-DQT_QMAKE_EXECUTABLE=qmake-disabled \
|
2016-09-11 16:54:47 +10:00
|
|
|
-DCMAKE_BUILD_TYPE=Release #-DCMAKE_VERBOSE_MAKEFILE:BOOL="on"
|
2016-03-28 14:35:10 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/{bin,include,share}
|
|
|
|
}
|