freebsd-ports/audio/alsa-sndio/Makefile
Tobias Kortkamp ec9e0a665c 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
2018-03-19 08:23:13 +00:00

30 lines
616 B
Makefile

# $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>