summaryrefslogtreecommitdiffstats
path: root/audio-drivers
diff options
context:
space:
mode:
authorIsmael Luceno2017-02-07 03:06:25 -0200
committerIsmael Luceno2017-02-07 03:06:25 -0200
commit63cac2d1ba1a29fcad9e653c132cffc24389a4ac (patch)
treebe58ba8a8d3f25c052b4916c540e7ef3b2da67cf /audio-drivers
parent8ee44da314b8b166c0703b7809569edb816e8328 (diff)
sndio: new spell, Audio and MIDI framework
Diffstat (limited to 'audio-drivers')
-rwxr-xr-xaudio-drivers/sndio/BUILD2
-rwxr-xr-xaudio-drivers/sndio/DEPENDS1
-rwxr-xr-xaudio-drivers/sndio/DETAILS20
-rw-r--r--audio-drivers/sndio/HISTORY2
-rwxr-xr-xaudio-drivers/sndio/INSTALL5
5 files changed, 30 insertions, 0 deletions
diff --git a/audio-drivers/sndio/BUILD b/audio-drivers/sndio/BUILD
new file mode 100755
index 0000000000..349589cf8d
--- /dev/null
+++ b/audio-drivers/sndio/BUILD
@@ -0,0 +1,2 @@
+./configure --prefix="$INSTALL_ROOT"/usr $OPTS &&
+make
diff --git a/audio-drivers/sndio/DEPENDS b/audio-drivers/sndio/DEPENDS
new file mode 100755
index 0000000000..d851231e3c
--- /dev/null
+++ b/audio-drivers/sndio/DEPENDS
@@ -0,0 +1 @@
+depends alsa-lib
diff --git a/audio-drivers/sndio/DETAILS b/audio-drivers/sndio/DETAILS
new file mode 100755
index 0000000000..2abad253ae
--- /dev/null
+++ b/audio-drivers/sndio/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=sndio
+ VERSION=1.2.0
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ WEB_SITE="http://www.sndio.org/"
+ SOURCE_URL[0]=$WEB_SITE/$SOURCE
+ SOURCE_HASH=sha512:c164818c57f61a8b68c96674159e7a45fe2be8b1e15dde933357fe4a91ac4d3d787171746fc5bb99e20f4123c705a571f1dc0a9d35b64f4f5e20c2cf977b30f4
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ LICENSE[0]="ISC"
+ ENTERED=20170207
+ KEYWORDS=""
+ SHORT="Audio and MIDI framework"
+cat << EOF
+Sndio is a small audio and MIDI framework part of the OpenBSD project and
+ported to FreeBSD, Linux and NetBSD. It provides a lightweight audio & MIDI
+server and a fully documented user-space API to access either the server or
+directly the hardware in a uniform way. Sndio is designed to work for desktop
+applications, but pays special attention to synchronization mechanisms and
+reliability required by music applications. Reliability through simplicity
+are part of the project goals.
+EOF
diff --git a/audio-drivers/sndio/HISTORY b/audio-drivers/sndio/HISTORY
new file mode 100644
index 0000000000..481515412d
--- /dev/null
+++ b/audio-drivers/sndio/HISTORY
@@ -0,0 +1,2 @@
+2017-02-07 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/audio-drivers/sndio/INSTALL b/audio-drivers/sndio/INSTALL
new file mode 100755
index 0000000000..835eed7b55
--- /dev/null
+++ b/audio-drivers/sndio/INSTALL
@@ -0,0 +1,5 @@
+default_install &&
+mkdir /var/run/sndiod &&
+if ! exists_account sndiod; then
+ useradd -r -g audio -s /sbin/nologin -d /var/run/sndiod sndiod
+fi