2019-05-12 02:23:37 +02:00
|
|
|
# Template file for 'FAudio'
|
|
|
|
pkgname=FAudio
|
2019-08-08 10:53:26 +02:00
|
|
|
version=19.08
|
2019-05-12 02:23:37 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DFFMPEG=ON"
|
|
|
|
makedepends="SDL2-devel ffmpeg-devel"
|
|
|
|
short_desc="Accuracy-focused XAudio reimplementation for open platforms"
|
|
|
|
maintainer="Franc[e]sco <lolisamurai@tfwno.gf>"
|
|
|
|
license="custom:zlib"
|
|
|
|
homepage="https://github.com/FNA-XNA/FAudio"
|
|
|
|
distfiles="https://github.com/FNA-XNA/FAudio/archive/${version}.tar.gz"
|
2019-08-08 10:53:26 +02:00
|
|
|
checksum=78f66af91ec45fe93c0aed9ad40f5ebb226f8ee1e12ec61ab9da6349dc9188a8
|
2019-05-12 02:23:37 +02:00
|
|
|
|
|
|
|
# sdl2 cmake file appears to be broken for cross compilation
|
|
|
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/SDL2 "
|
|
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/SDL2 "
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
FAudio-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|