mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
This commit is contained in:
parent
7aafb41498
commit
ec9e0a665c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464995
5 changed files with 50 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
SUBDIR += alienwah
|
||||
SUBDIR += alsa-lib
|
||||
SUBDIR += alsa-plugins
|
||||
SUBDIR += alsa-sndio
|
||||
SUBDIR += alsa-utils
|
||||
SUBDIR += alure
|
||||
SUBDIR += amarok-kde4
|
||||
|
|
30
audio/alsa-sndio/Makefile
Normal file
30
audio/alsa-sndio/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
3
audio/alsa-sndio/distinfo
Normal file
3
audio/alsa-sndio/distinfo
Normal file
|
@ -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
|
8
audio/alsa-sndio/pkg-descr
Normal file
8
audio/alsa-sndio/pkg-descr
Normal file
|
@ -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
|
8
audio/alsa-sndio/pkg-message
Normal file
8
audio/alsa-sndio/pkg-message
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue