23 lines
551 B
Plaintext
23 lines
551 B
Plaintext
# Description: XAudio2 reimplementation
|
|
# URL: https://github.com/FNA-XNA/FAudio/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: libsdl2-32 faudio
|
|
|
|
name=faudio-32
|
|
version=20.07
|
|
release=1
|
|
source=(https://github.com/FNA-XNA/FAudio/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -SFAudio-$version -Bbuild -GNinja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib32
|
|
# -DFFMPEG=ON
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --build build --target install
|
|
|
|
rm -r $PKG/usr/include
|
|
}
|