[vlc-commits] contrib: add spatialaudio
Adrien Maglo
git at videolan.org
Wed Jul 19 18:58:09 CEST 2017
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Apr 14 15:08:20 2017 +0200| [900dc1a1bc9e932af873352fe00af27ce5d4e341] | committer: Thomas Guillem
contrib: add spatialaudio
An Ambisonics / Binaural decoding library.
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=900dc1a1bc9e932af873352fe00af27ce5d4e341
---
contrib/src/spatialaudio/SHA512SUMS | 1 +
contrib/src/spatialaudio/rules.mak | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/contrib/src/spatialaudio/SHA512SUMS b/contrib/src/spatialaudio/SHA512SUMS
new file mode 100644
index 0000000000..06298025f5
--- /dev/null
+++ b/contrib/src/spatialaudio/SHA512SUMS
@@ -0,0 +1 @@
+83bedade2b229de7b0668779f54669eef9f10688f77f27b52b8ce581cadd175112649f4062c166d3a9459888eb14917fdb92c6b06459e9eaf2593cdc1872943b spatialaudio-0.2.0.tar.gz
diff --git a/contrib/src/spatialaudio/rules.mak b/contrib/src/spatialaudio/rules.mak
new file mode 100644
index 0000000000..ed3e5220fd
--- /dev/null
+++ b/contrib/src/spatialaudio/rules.mak
@@ -0,0 +1,27 @@
+# Spatialaudio
+
+SPATIALAUDIO_VERSION := 0.2.0
+SPATIALAUDIO_URL = https://github.com/videolabs/libspatialaudio/releases/download/$(SPATIALAUDIO_VERSION)/spatialaudio-$(SPATIALAUDIO_VERSION).tar.gz
+
+DEPS_spatialaudio = zlib mysofa
+
+PKGS += spatialaudio
+
+ifeq ($(call need_pkg,"spatialaudio"),)
+PKGS_FOUND += spatialaudio
+endif
+
+$(TARBALLS)/spatialaudio-$(SPATIALAUDIO_VERSION).tar.gz:
+ $(call download_pkg,$(SPATIALAUDIO_URL),spatialaudio)
+
+.sum-spatialaudio: spatialaudio-$(SPATIALAUDIO_VERSION).tar.gz
+
+spatialaudio: spatialaudio-$(SPATIALAUDIO_VERSION).tar.gz .sum-spatialaudio
+ $(UNPACK)
+ $(MOVE)
+
+.spatialaudio: spatialaudio toolchain.cmake
+ -cd $< && rm CMakeCache.txt
+ cd $< && $(HOSTVARS) $(CMAKE) -DMYSOFA_ROOT_DIR=$(PREFIX)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list