svn commit: r427071 - in head/audio/sndio: . files
Carlos J. Puga Medina
cpm at FreeBSD.org
Fri Nov 25 01:11:43 UTC 2016
Author: cpm
Date: Fri Nov 25 01:11:41 2016
New Revision: 427071
URL: https://svnweb.freebsd.org/changeset/ports/427071
Log:
audio/sndio: Update to 1.2.0
- Update PORTVERSION and distinfo checksum (1.2.0)
- Remove unneeded patches
- Update pkg-message according to changes
- Improved OSS support
- Support for snd_uaudio(4) /dev/umidi* interfaces. /dev/umidi1.0 maps to rmidi/1 in sndio, /dev/umidi1.1 to rmidi/1.1
- The configure script has support for DragonFly
- More detailed changes: https://pkg.tobik.me/sndio-1.2.0-changes.txt
PR: 214210
Submitted by: Tobias Kortkamp <t at tobik.me> (maintainer)
Approved by: feld (mentor)
Deleted:
head/audio/sndio/files/patch-configure
head/audio/sndio/files/patch-libsndio_Makefile.in
head/audio/sndio/files/patch-libsndio_sio.c
head/audio/sndio/files/patch-libsndio_sio__oss.c
head/audio/sndio/files/patch-libsndio_sio__priv.h
Modified:
head/audio/sndio/Makefile
head/audio/sndio/distinfo
head/audio/sndio/files/sndiod.in
head/audio/sndio/pkg-message
Modified: head/audio/sndio/Makefile
==============================================================================
--- head/audio/sndio/Makefile Fri Nov 25 00:40:40 2016 (r427070)
+++ head/audio/sndio/Makefile Fri Nov 25 01:11:41 2016 (r427071)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sndio
-PORTVERSION= 1.1.0
-PORTREVISION= 1
+PORTVERSION= 1.2.0
CATEGORIES= audio
MASTER_SITES= http://www.sndio.org/
Modified: head/audio/sndio/distinfo
==============================================================================
--- head/audio/sndio/distinfo Fri Nov 25 00:40:40 2016 (r427070)
+++ head/audio/sndio/distinfo Fri Nov 25 01:11:41 2016 (r427071)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1465315037
-SHA256 (sndio-1.1.0.tar.gz) = fcd7f845ff70f38c2898d737450b8aa3e1bb0afb9d147e8429ef22c0b2c2db57
-SIZE (sndio-1.1.0.tar.gz) = 121018
+TIMESTAMP = 1478437502
+SHA256 (sndio-1.2.0.tar.gz) = b9808e189481904a4404b0c1715ad0c4b301e72abca8e49653bb526ff4e16cdc
+SIZE (sndio-1.2.0.tar.gz) = 123703
Modified: head/audio/sndio/files/sndiod.in
==============================================================================
--- head/audio/sndio/files/sndiod.in Fri Nov 25 00:40:40 2016 (r427070)
+++ head/audio/sndio/files/sndiod.in Fri Nov 25 01:11:41 2016 (r427071)
@@ -3,19 +3,10 @@
# $FreeBSD$
#
# PROVIDE: sndiod
-# REQUIRE: NETWORKING
+# REQUIRE: NETWORKING sysctl
# BEFORE: DAEMON
# KEYWORD: shutdown
-# By default sndiod will use the audio device from
-# hw.snd.default_unit. You can override this by setting sndiod_flags.
-#
-# To connect to a remote sndiod use e.g.
-# sndiod_flags="-f snd at remotehost/0"
-#
-# To use /dev/dsp5
-# sndiod_flags="-f rsnd/5"
-
. /etc/rc.subr
name=sndiod
@@ -23,8 +14,9 @@ rcvar=sndiod_enable
load_rc_config $name
+: ${sndiod_dev="rsnd/$($SYSCTL -n hw.snd.default_unit)"}
: ${sndiod_enable="NO"}
-: ${sndiod_flags="-s default -m mon -s monitor"}
+: ${sndiod_flags="-f ${sndiod_dev} -c 0:7 -j off -s default -m mon -s monitor"}
command="%%PREFIX%%/bin/sndiod"
Modified: head/audio/sndio/pkg-message
==============================================================================
--- head/audio/sndio/pkg-message Fri Nov 25 00:40:40 2016 (r427070)
+++ head/audio/sndio/pkg-message Fri Nov 25 01:11:41 2016 (r427071)
@@ -1,7 +1,3 @@
-Sndio's OSS support (i.e. local playback/recording support) is highly
-experimental. If you run into problems please file a bug at
-https://github.com/t6/sndio or send an email to t+sndio at tobik.me.
-
Enable the sndiod server with:
sysrc sndiod_enable=YES
@@ -13,19 +9,12 @@ plays through sndiod:
aucat -f snd/0.monitor -o recording.wav
-Make sure you override sndiod_flags if this is not wanted:
-
- sysrc sndiod_flags=""
-
-If you want clients to auto-play to your remote sndio server set
-sndiod_flags accordingly:
-
- sysrc sndiod_flags="-f snd at remotehost/0"
-
-Alternatively you can always set the AUDIODEVICE environment variable
-so clients know where to stream to:
+Make sure you override sndiod_flags if this is not wanted.
- export AUDIODEVICE=snd at remotehost/0
+By default the rc.d script passes '-c 0:7 -j off' to sndiod, so that
+it uses all 8 virtual channels provided by OSS. If you override
+sndiod_flags consider keeping these options, so that multi-channel
+audio works as you'd expect.
There is little sndio support in the FreeBSD ports tree right now. If
your favourite port is missing support please take a look at the fork
More information about the svn-ports-all
mailing list