2019-08-31 20:18:17 +10:00
|
|
|
# Description: XAudio2 reimplementation
|
|
|
|
# URL: https://github.com/FNA-XNA/FAudio/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: ffmpeg libsdl2
|
|
|
|
|
|
|
|
name=faudio
|
2020-07-04 18:40:39 +10:00
|
|
|
version=20.07
|
2019-08-31 20:18:17 +10:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/FNA-XNA/FAudio/archive/$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2020-05-14 22:56:11 +10:00
|
|
|
cmake -SFAudio-$version -Bbuild -GNinja \
|
2019-08-31 20:18:17 +10:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DFFMPEG=ON
|
|
|
|
|
2020-04-25 19:02:39 +10:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --build build --target install
|
2019-08-31 20:18:17 +10:00
|
|
|
}
|