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
|
2020-11-14 12:06:01 +00:00
|
|
|
# Depends on: libsdl2 gst-libav
|
2019-08-31 20:18:17 +10:00
|
|
|
|
|
|
|
name=faudio
|
2022-09-11 17:21:34 +02:00
|
|
|
version=22.09.01
|
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-11-13 22:13:39 +11:00
|
|
|
cmake -S FAudio-$version -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-12-18 20:51:18 +11:00
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2022-03-05 17:24:36 +01:00
|
|
|
-Wno-dev
|
2019-08-31 20:18:17 +10:00
|
|
|
|
2020-04-25 19:02:39 +10:00
|
|
|
cmake --build build
|
2020-07-08 23:14:57 +10:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2019-08-31 20:18:17 +10:00
|
|
|
}
|