summaryrefslogtreecommitdiffstats
path: root/audio-libs
diff options
context:
space:
mode:
authorIsmael Luceno2021-09-08 19:24:13 +0200
committerIsmael Luceno2021-09-08 19:24:27 +0200
commit89003182c4136e3fe7a369253a633a2cf30d4588 (patch)
tree2c9db8b4f512ea240558f7fcd0d2002abff431ef /audio-libs
parentafa52a04d912d582ba759f29477754d7532c8ac1 (diff)
libsoundio: new spell, cross-platform audio I/O for real-time & consumer software
Diffstat (limited to 'audio-libs')
-rwxr-xr-xaudio-libs/libsoundio/BUILD4
-rwxr-xr-xaudio-libs/libsoundio/CONFIGURE1
-rwxr-xr-xaudio-libs/libsoundio/DEPENDS10
-rwxr-xr-xaudio-libs/libsoundio/DETAILS24
-rw-r--r--audio-libs/libsoundio/HISTORY2
5 files changed, 41 insertions, 0 deletions
diff --git a/audio-libs/libsoundio/BUILD b/audio-libs/libsoundio/BUILD
new file mode 100755
index 0000000000..81f474b6ba
--- /dev/null
+++ b/audio-libs/libsoundio/BUILD
@@ -0,0 +1,4 @@
+OPTS+=' -DBUILD_STATIC_LIBS=OFF' &&
+OPTS+=' -DBUILD_EXAMPLE_PROGRAMS=OFF -DBUILD_TESTS=OFF' &&
+OPTS+=' -DENABLE_COREAUDIO=OFF -DENABLE_WASAPI=OFF' &&
+default_build
diff --git a/audio-libs/libsoundio/CONFIGURE b/audio-libs/libsoundio/CONFIGURE
new file mode 100755
index 0000000000..b1e2770061
--- /dev/null
+++ b/audio-libs/libsoundio/CONFIGURE
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_CONFIGURE
diff --git a/audio-libs/libsoundio/DEPENDS b/audio-libs/libsoundio/DEPENDS
new file mode 100755
index 0000000000..5a44d9f914
--- /dev/null
+++ b/audio-libs/libsoundio/DEPENDS
@@ -0,0 +1,10 @@
+. "$GRIMOIRE"/CMAKE_DEPENDS &&
+optional_depends alsa-lib \
+ -DENABLE_ALSA={ON,OFF} \
+ 'for ALSA support' &&
+optional_depends JACK-DRIVER \
+ -DENABLE_JACK={ON,OFF} \
+ 'for JACK support' &&
+optional_depends LIBPULSE \
+ -DENABLE_PULSEAUDIO={ON,OFF} \
+ 'for PulseAudio support'
diff --git a/audio-libs/libsoundio/DETAILS b/audio-libs/libsoundio/DETAILS
new file mode 100755
index 0000000000..e2f9ac62b0
--- /dev/null
+++ b/audio-libs/libsoundio/DETAILS
@@ -0,0 +1,24 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
+ SPELL=libsoundio
+ VERSION=1.1.0
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL[0]=http://libsound.io/release/$SOURCE
+ SOURCE_HASH=sha512:3de35fa83395faea5e6f4478cd82d49615e470b09847fb076647664238e232ff3d4597ca7a07ce06012ae084f11e5d3903b42d8f4afe64c27b1a4b92d2081b5f
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="http://libsound.io/"
+ LICENSE[0]="MIT"
+ ENTERED=20210908
+ KEYWORDS=""
+ SHORT="cross-platform audio I/O for real-time & consumer software"
+cat << EOF
+libsoundio is a lightweight abstraction over various sound drivers. It
+provides a well-documented API that operates consistently regardless of the
+sound driver it connects to. It performs no buffering or processing on your
+behalf; instead exposing the raw power of the underlying backend.
+
+libsoundio is appropriate for games, music players, digital audio workstations,
+and various utilities.
+
+libsoundio is serious about robustness. It even handles out of memory
+conditions correctly.
+EOF
diff --git a/audio-libs/libsoundio/HISTORY b/audio-libs/libsoundio/HISTORY
new file mode 100644
index 0000000000..18f1988d0f
--- /dev/null
+++ b/audio-libs/libsoundio/HISTORY
@@ -0,0 +1,2 @@
+2021-09-08 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS: spell created