Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 11:25:05 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443440 - head/audio/siren
Message-ID:  <201706121125.v5CBP53H045598@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Jun 12 11:25:04 2017
New Revision: 443440
URL: https://svnweb.freebsd.org/changeset/ports/443440

Log:
  Allow building of more than one output plugin.  Output plugins can be
  selected at run time with e.g. ':set output-plugin pulse'.
  
  - Add SNDIO option
  - Add LICENSE_FILE (yes, the filename is really LICENCE ;))
  
  Approved by:	mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11120

Modified:
  head/audio/siren/Makefile
  head/audio/siren/pkg-plist

Modified: head/audio/siren/Makefile
==============================================================================
--- head/audio/siren/Makefile	Mon Jun 12 10:39:32 2017	(r443439)
+++ head/audio/siren/Makefile	Mon Jun 12 11:25:04 2017	(r443440)
@@ -3,6 +3,7 @@
 
 PORTNAME=	siren
 PORTVERSION=	0.7
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://www.kariliq.nl/${PORTNAME}/dist/
 
@@ -10,6 +11,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Text-based audio player
 
 LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENCE
 
 LIB_DEPENDS=	libFLAC.so:audio/flac \
 		libid3tag.so:audio/libid3tag \
@@ -27,12 +29,18 @@ HAS_CONFIGURE=	yes
 USE_CSTD=	c99
 
 OPTIONS_DEFINE=		FFMPEG MPG123
-OPTIONS_SINGLE=		SOUND
-OPTIONS_SINGLE_SOUND=	OSS PULSEAUDIO
+OPTIONS_MULTI=		SOUND
+OPTIONS_MULTI_SOUND=	OSS PULSEAUDIO SNDIO
 OPTIONS_DEFAULT=	OSS
-OSS_CONFIGURE_ON=	oss=yes pulse=no
+OSS_CONFIGURE_ON=	oss=yes
+OSS_CONFIGURE_OFF=	oss=no
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
-PULSEAUDIO_CONFIGURE_ON=	oss=no pulse=yes
+PULSEAUDIO_CONFIGURE_ON=	pulse=yes
+PULSEAUDIO_CONFIGURE_OFF=	pulse=no
+SNDIO_CONFIGURE_ON=	sndio=yes
+SNDIO_CONFIGURE_OFF=	sndio=no
+SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
+SNDIO_USES=		localbase:ldflags
 FFMPEG_CONFIGURE_ON=	ffmpeg=yes
 FFMPEG_CONFIGURE_OFF=	ffmpeg=no
 FFMPEG_LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg
@@ -44,7 +52,6 @@ OPTIONS_SUB=	yes
 CONFIGURE_ARGS=	sndfile=no \
 		alsa=no \
 		ao=no \
-		sndio=no \
 		sun=no \
 		portaudio=no \
 		aac=no

Modified: head/audio/siren/pkg-plist
==============================================================================
--- head/audio/siren/pkg-plist	Mon Jun 12 10:39:32 2017	(r443439)
+++ head/audio/siren/pkg-plist	Mon Jun 12 11:25:04 2017	(r443440)
@@ -8,4 +8,5 @@ lib/siren/ip/wavpack.so
 %%MPG123%%lib/siren/ip/mpg123.so
 %%OSS%%lib/siren/op/oss.so
 %%PULSEAUDIO%%lib/siren/op/pulse.so
+%%SNDIO%%lib/siren/op/sndio.so
 man/man1/siren.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706121125.v5CBP53H045598>