dot

packages and services management
Log | Files | Refs | README

commit 8fefe60694a97ab2bdc313d3dd6c64494d14509d
parent cff7ac4407f4af204c011a3afa7990120fa15ab9
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat,  8 Dec 2018 10:04:30 +0100

sndiod: added package and service

Diffstat:
Mpack/sndio/build | 7++++++-
Apack/sndio/dependencies/libalsa | 2++
As6/sndiod/x/env/BIND | 1+
As6/sndiod/x/run | 8++++++++
As6/sndiod/x/type | 1+
5 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/pack/sndio/build b/pack/sndio/build @@ -1,6 +1,11 @@ #!/bin/sh -ex -./configure --prefix="$PREFIX" +export CFLAGS="$CFLAGS -I${libalsa}/include" +export LDFLAGS="$LDFLAGS -L${libalsa}/lib" + +./configure --prefix="$PREFIX" \ + --enable-alsa \ + --without-libbsd make make install diff --git a/pack/sndio/dependencies/libalsa b/pack/sndio/dependencies/libalsa @@ -0,0 +1 @@ +../../libalsa/version+ \ No newline at end of file diff --git a/s6/sndiod/x/env/BIND b/s6/sndiod/x/env/BIND @@ -0,0 +1 @@ +127.0.0.1 diff --git a/s6/sndiod/x/run b/s6/sndiod/x/run @@ -0,0 +1,8 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 +s6-envdir env +multisubstitute { + importas BIND BIND +} + +sndiod -d -L ${BIND} -s default diff --git a/s6/sndiod/x/type b/s6/sndiod/x/type @@ -0,0 +1 @@ +longrun