2016-03-28 14:35:10 +11:00
|
|
|
# Description: Cross-platform 3D audio.
|
2019-04-14 21:25:40 +10:00
|
|
|
# URL: https://kcat.strangesoft.net/openal.html
|
2016-03-28 14:35:10 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2017-11-01 22:41:39 +11:00
|
|
|
# Depends on: alsa-lib-32 openal
|
2016-03-28 14:35:10 +11:00
|
|
|
|
|
|
|
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
|
2019-04-14 21:25:40 +10:00
|
|
|
source=(https://kcat.strangesoft.net/openal-releases/openal-soft-$version.tar.bz2)
|
2016-03-28 14:35:10 +11:00
|
|
|
|
|
|
|
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 \
|
2017-06-20 02:13:19 +10:00
|
|
|
-DALSOFT_UTILS=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}
|
|
|
|
}
|