blob: 48fe30a403c9b100e4ee61897e40a9e48c14d1f0 (
plain)
1 # Description: XAudio2 reimplementation
2 # URL: https://github.com/FNA-XNA/FAudio/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: libsdl2-32 faudio
5
6 name=faudio-32
7 version=20.08
8 release=1
9 source=(https://github.com/FNA-XNA/FAudio/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 cmake -SFAudio-$version -Bbuild -GNinja \
13 -DCMAKE_INSTALL_PREFIX=/usr \
14 -DCMAKE_BUILD_TYPE=Release \
15 -DCMAKE_INSTALL_LIBDIR=lib32
16 # -DFFMPEG=ON
17
18 cmake --build build
19 DESTDIR=$PKG cmake --build build --target install
20
21 rm -r $PKG/usr/include
22 }
|