git: 71bbabadf9f2 - main - audio/sonivox: New port: Fork of the AOSP 'platform_external_sonivox' to use out of Android
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Sep 2022 19:11:58 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=71bbabadf9f2b6911a88a82869244f09c85ba756
commit 71bbabadf9f2b6911a88a82869244f09c85ba756
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-02 15:58:23 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-02 19:11:54 +0000
audio/sonivox: New port: Fork of the AOSP 'platform_external_sonivox' to use out of Android
---
audio/Makefile | 1 +
audio/sonivox/Makefile | 24 ++++++++++++++++++++++++
audio/sonivox/distinfo | 3 +++
audio/sonivox/pkg-descr | 13 +++++++++++++
audio/sonivox/pkg-plist | 14 ++++++++++++++
5 files changed, 55 insertions(+)
diff --git a/audio/Makefile b/audio/Makefile
index 6fbf5bcb626c..72a2f50c8e0b 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -734,6 +734,7 @@
SUBDIR += somafm-cli
SUBDIR += sonata
SUBDIR += sonic-visualiser
+ SUBDIR += sonivox
SUBDIR += sorcer-lv2
SUBDIR += sound-juicer
SUBDIR += soundgrab
diff --git a/audio/sonivox/Makefile b/audio/sonivox/Makefile
new file mode 100644
index 000000000000..e2425a17fa99
--- /dev/null
+++ b/audio/sonivox/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= sonivox
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.6.11
+CATEGORIES= audio
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Fork of the AOSP 'platform_external_sonivox' to use out of Android
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= googletest>0:devel/googletest
+
+USES= cmake:testing
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= pedrolcl
+
+CXXFLAGS+= -DO_LARGEFILE=0 # workaround for linuxism in tests
+
+CMAKE_OFF= BUILD_TESTING
+
+.include <bsd.port.mk>
diff --git a/audio/sonivox/distinfo b/audio/sonivox/distinfo
new file mode 100644
index 000000000000..7e6c1c30ff8c
--- /dev/null
+++ b/audio/sonivox/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662133371
+SHA256 (pedrolcl-sonivox-v3.6.11_GH0.tar.gz) = 7d7f34508c5475dc6f1c13d1facea084c17a5bca73d085ee9842dae62329a473
+SIZE (pedrolcl-sonivox-v3.6.11_GH0.tar.gz) = 15518706
diff --git a/audio/sonivox/pkg-descr b/audio/sonivox/pkg-descr
new file mode 100644
index 000000000000..55cb1dbeebeb
--- /dev/null
+++ b/audio/sonivox/pkg-descr
@@ -0,0 +1,13 @@
+sonivox is a fork of the Android Open Source Project
+'platform_external_sonivox', including a CMake based build system to be used
+not on Android, but on any other computer Operating System. Google licensed
+this work originally named Sonivox EAS (Embedded Audio Synthesis) from the
+company Sonic Network Inc. under the terms of the Apache License 2.0.
+
+This is a Wave Table synthesizer, not using external soundfont files but
+embedded samples instead. It is also a real time GM synthesizer. It consumes
+very little resources, so it may be indicated in projects for small embedded
+devices. There is neither MIDI input nor Audio output facilities included in
+the library. You need to provide your own input/output.
+
+WWW: https://github.com/pedrolcl/sonivox
diff --git a/audio/sonivox/pkg-plist b/audio/sonivox/pkg-plist
new file mode 100644
index 000000000000..75103f758825
--- /dev/null
+++ b/audio/sonivox/pkg-plist
@@ -0,0 +1,14 @@
+include/sonivox/eas.h
+include/sonivox/eas_chorus.h
+include/sonivox/eas_reverb.h
+include/sonivox/eas_types.h
+lib/cmake/sonivox/sonivox-config-version.cmake
+lib/cmake/sonivox/sonivox-config.cmake
+lib/cmake/sonivox/sonivox-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/sonivox/sonivox-targets.cmake
+lib/libsonivox-static.a
+lib/libsonivox.so
+lib/libsonivox.so.3
+lib/libsonivox.so.3.6.11.0
+libdata/pkgconfig/sonivox-static.pc
+libdata/pkgconfig/sonivox.pc