compat-32/faudio-32/Pkgfile

23 lines
581 B
Plaintext
Raw Normal View History

2019-08-31 14:00:48 +02:00
# 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
2022-07-03 17:03:14 +02:00
version=22.07
2019-08-31 14:00:48 +02:00
release=1
source=(https://github.com/FNA-XNA/FAudio/archive/$version/$name-$version.tar.gz)
build() {
2020-11-15 06:01:21 +01:00
cmake -S FAudio-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib32 \
-D CMAKE_BUILD_TYPE=Release \
2020-12-18 10:55:05 +01:00
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
2019-08-31 14:00:48 +02:00
2020-04-25 11:10:30 +02:00
cmake --build build
DESTDIR=$PKG cmake --build build --target install
2020-05-14 15:04:11 +02:00
2019-08-31 14:00:48 +02:00
rm -r $PKG/usr/include
}