2016-03-28 14:35:10 +11:00
|
|
|
# Description: Cross-platform 3D audio.
|
2019-04-28 16:01:13 +10:00
|
|
|
# URL: https://github.com/kcat/openal-soft
|
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
|
2019-04-28 16:01:13 +10:00
|
|
|
version=1.19.1
|
2016-03-28 14:35:10 +11:00
|
|
|
release=1
|
2019-04-28 16:01:13 +10:00
|
|
|
source=(https://github.com/kcat/openal-soft/archive/openal-soft-$version.tar.gz)
|
2016-03-28 14:35:10 +11:00
|
|
|
|
|
|
|
build() {
|
2019-04-28 16:01:13 +10:00
|
|
|
cd openal-soft-openal-soft-$version/build
|
2016-03-28 14:35:10 +11:00
|
|
|
|
2019-04-28 16:01:13 +10:00
|
|
|
cmake .. \
|
2016-03-28 14:35:10 +11:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-06-19 19:43:30 +10:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
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}
|
|
|
|
}
|