From owner-svn-ports-head@freebsd.org Mon Mar 19 08:23:14 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CBF6F5AEF6; Mon, 19 Mar 2018 08:23:14 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3F458262B; Mon, 19 Mar 2018 08:23:13 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CEEF9459B; Mon, 19 Mar 2018 08:23:13 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2J8NDox047376; Mon, 19 Mar 2018 08:23:13 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2J8NDSo047371; Mon, 19 Mar 2018 08:23:13 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201803190823.w2J8NDSo047371@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 19 Mar 2018 08:23:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464995 - in head/audio: . alsa-sndio X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/audio: . alsa-sndio X-SVN-Commit-Revision: 464995 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2018 08:23:14 -0000 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@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 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.