svn commit: r464995 - in head/audio: . alsa-sndio

Tobias Kortkamp tobik at FreeBSD.org
Mon Mar 19 08:23:14 UTC 2018


Author: tobik
Date: Mon Mar 19 08:23:13 2018
New Revision: 464995
URL: https://svnweb.freebsd.org/changeset/ports/464995

Log:
  New port: audio/alsa-sndio
  
  The alsa-sndio plugin provides a PCM that connects to a sndiod server
  as a fallback for applications that don't support sndio.
  
  Only playback is supported and the plugin does not report accurate
  buffer positions at the moment.  Do not expect this to work in a good
  way for video playback, browsers, etc.
  
  WWW: https://github.com/Duncaen/alsa-sndio

Added:
  head/audio/alsa-sndio/
  head/audio/alsa-sndio/Makefile   (contents, props changed)
  head/audio/alsa-sndio/distinfo   (contents, props changed)
  head/audio/alsa-sndio/pkg-descr   (contents, props changed)
  head/audio/alsa-sndio/pkg-message   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Mon Mar 19 07:45:25 2018	(r464994)
+++ head/audio/Makefile	Mon Mar 19 08:23:13 2018	(r464995)
@@ -21,6 +21,7 @@
     SUBDIR += alienwah
     SUBDIR += alsa-lib
     SUBDIR += alsa-plugins
+    SUBDIR += alsa-sndio
     SUBDIR += alsa-utils
     SUBDIR += alure
     SUBDIR += amarok-kde4

Added: head/audio/alsa-sndio/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/alsa-sndio/Makefile	Mon Mar 19 08:23:13 2018	(r464995)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	alsa-sndio
+DISTVERSION=	0.1
+CATEGORIES=	audio
+
+MAINTAINER=	tobik at FreeBSD.org
+COMMENT=	ALSA PCM sndio plugin
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libasound.so:audio/alsa-lib \
+		libsndio.so:audio/sndio
+
+USES=		gmake localbase pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	Duncaen
+
+PLIST_FILES=	lib/alsa-lib/libasound_module_pcm_sndio.so
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,-ldl,,' ${WRKSRC}/Makefile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/alsa-lib
+	${INSTALL_LIB} ${WRKSRC}/libasound_module_pcm_sndio.so \
+		${STAGEDIR}${PREFIX}/lib/alsa-lib
+
+.include <bsd.port.mk>

Added: head/audio/alsa-sndio/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/alsa-sndio/distinfo	Mon Mar 19 08:23:13 2018	(r464995)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521444368
+SHA256 (Duncaen-alsa-sndio-0.1_GH0.tar.gz) = e2e11746efe5cff44150efba8acb7204a8ccbc38f194a8d2116a3082db6c7c3f
+SIZE (Duncaen-alsa-sndio-0.1_GH0.tar.gz) = 4139

Added: head/audio/alsa-sndio/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/alsa-sndio/pkg-descr	Mon Mar 19 08:23:13 2018	(r464995)
@@ -0,0 +1,8 @@
+The alsa-sndio plugin provides a PCM that connects to a sndiod server
+as a fallback for applications that don't support sndio.
+
+Only playback is supported and the plugin does not report accurate
+buffer positions at the moment.  Do not expect this to work in a good
+way for video playback, browsers, etc.
+
+WWW: https://github.com/Duncaen/alsa-sndio

Added: head/audio/alsa-sndio/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/alsa-sndio/pkg-message	Mon Mar 19 08:23:13 2018	(r464995)
@@ -0,0 +1,8 @@
+To set the default PCM to the sndio plugin, create ~/.asoundrc with
+
+pcm.!default {
+	type sndio
+}
+
+Optionally, use the 'volume' option to set the initial volume and
+'device' to set the device to use.


More information about the svn-ports-all mailing list