Add libfaudio support

master
Marko Semet 2019-09-01 00:36:55 +02:00
parent 6cda465a67
commit f26bb328f5
3 changed files with 47 additions and 2 deletions

View File

@ -3,6 +3,7 @@
- libpcap
- libudev
- MinGW
- libFAudio
# Missing
- libv4l2 (for what?)
@ -13,9 +14,8 @@
- libhal (for what? is that not for Android?)
- libgsm (for what?)
- OSSv4 (for what?)
- libsane (Future when required)
# TODO
- libsane
- libFAudio
- vkd3d
- libldap (OpenLDAP)

View File

@ -0,0 +1,44 @@
name: libfaudio-meta
modules:
- name: libfaudio-platform
sources:
- type: archive
url: https://github.com/FNA-XNA/FAudio/archive/19.08.tar.gz
sha256: 78f66af91ec45fe93c0aed9ad40f5ebb226f8ee1e12ec61ab9da6349dc9188a8
builddir: true
buildsystem: cmake
build-options:
make-install-args:
- DESTDIR=/usr/tmp_faudio
- install
post-install:
- rm -rfv /usr/tmp_faudio/usr/share
- cp -rav /usr/tmp_faudio/usr /
- rm -rfv /usr/tmp_faudio
cleanup-platform:
- "*.la"
- "*.a"
- "/include"
- name: libfaudio-32bit
sources:
- type: archive
url: https://github.com/FNA-XNA/FAudio/archive/19.08.tar.gz
sha256: 78f66af91ec45fe93c0aed9ad40f5ebb226f8ee1e12ec61ab9da6349dc9188a8
builddir: true
buildsystem: cmake
config-opts:
- -DCMAKE_C_FLAGS=-m32 -I/usr/include/SDL2
- -DCMAKE_CXX_FLAGS=-m32 -I/usr/include/SDL2
- -DCMAKE_INSTALL_LIBDIR=lib32
build-options:
make-install-args:
- DESTDIR=/usr/tmp_faudio
- install
post-install:
- rm -rfv /usr/tmp_faudio/usr/share /usr/tmp_faudio/usr/include
- cp -rav /usr/tmp_faudio/usr /
- rm -rfv /usr/tmp_faudio
cleanup-platform:
- "*.la"
- "*.a"
- "/include"

View File

@ -7,3 +7,4 @@ modules:
- libglu.yaml
- libpcap.yaml
- libudev.yaml
- libfaudio.yaml