From f26bb328f5394fd07d2ae8bb9036dca23712a84e Mon Sep 17 00:00:00 2001 From: Marko Semet Date: Sun, 1 Sep 2019 00:36:55 +0200 Subject: [PATCH] Add libfaudio support --- Platform/v1.0/README.md | 4 +-- Platform/v1.0/platform/libfaudio.yaml | 44 +++++++++++++++++++++++++++ Platform/v1.0/platform/platform.yaml | 1 + 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 Platform/v1.0/platform/libfaudio.yaml diff --git a/Platform/v1.0/README.md b/Platform/v1.0/README.md index 5685a65..c3a183e 100644 --- a/Platform/v1.0/README.md +++ b/Platform/v1.0/README.md @@ -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) diff --git a/Platform/v1.0/platform/libfaudio.yaml b/Platform/v1.0/platform/libfaudio.yaml new file mode 100644 index 0000000..cb1b5e3 --- /dev/null +++ b/Platform/v1.0/platform/libfaudio.yaml @@ -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" diff --git a/Platform/v1.0/platform/platform.yaml b/Platform/v1.0/platform/platform.yaml index 05710a5..a59b9b9 100644 --- a/Platform/v1.0/platform/platform.yaml +++ b/Platform/v1.0/platform/platform.yaml @@ -7,3 +7,4 @@ modules: - libglu.yaml - libpcap.yaml - libudev.yaml + - libfaudio.yaml