opt/faudio/Pkgfile

22 lines
556 B
Plaintext
Raw Normal View History

2019-08-31 12:18:17 +02:00
# Description: XAudio2 reimplementation
# URL: https://github.com/FNA-XNA/FAudio/
# Maintainer: Danny Rawlins, crux at romster dot me
2020-11-14 13:06:01 +01:00
# Depends on: libsdl2 gst-libav
2019-08-31 12:18:17 +02:00
name=faudio
2021-10-03 08:33:08 +02:00
version=21.10
2019-08-31 12:18:17 +02:00
release=1
source=(https://github.com/FNA-XNA/FAudio/archive/$version/$name-$version.tar.gz)
build() {
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 10:51:18 +01:00
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D GSTREAMER=ON
2019-08-31 12:18:17 +02:00
2020-04-25 11:02:39 +02:00
cmake --build build
2020-07-08 15:14:57 +02:00
DESTDIR=$PKG cmake --install build
2019-08-31 12:18:17 +02:00
}