Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2017 17:04:32 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441321 - in head/audio/siren: . files
Message-ID:  <201705201704.v4KH4Wue018630@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat May 20 17:04:32 2017
New Revision: 441321
URL: https://svnweb.freebsd.org/changeset/ports/441321

Log:
  * Update to 0.7
  * Convert SOUND from OPTIONS_MULTI to OPTIONS_SINGLE. The arguments show that it is meant to be exclusive.
  * Add options for FFMPEG and MPG123 as they are picked up if installed. Further patch in toggleability for FFMPEG.
  
  Reviewed by:	rakuco
  Approved by:	rakuco (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D10836

Added:
  head/audio/siren/files/
  head/audio/siren/files/patch-configure   (contents, props changed)
Modified:
  head/audio/siren/Makefile
  head/audio/siren/distinfo
  head/audio/siren/pkg-plist

Modified: head/audio/siren/Makefile
==============================================================================
--- head/audio/siren/Makefile	Sat May 20 16:58:10 2017	(r441320)
+++ head/audio/siren/Makefile	Sat May 20 17:04:32 2017	(r441321)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	siren
-PORTVERSION=	0.6
-PORTREVISION=	1
+PORTVERSION=	0.7
 CATEGORIES=	audio
 MASTER_SITES=	http://www.kariliq.nl/${PORTNAME}/dist/
 
@@ -18,17 +17,23 @@ LIB_DEPENDS=	libFLAC.so:audio/flac \
 		libvorbis.so:audio/libvorbis \
 		libwavpack.so:audio/wavpack \
 		libopusfile.so:audio/opusfile
-
 USES=		ncurses pkgconfig
 HAS_CONFIGURE=	yes
 USE_CSTD=	c99
 
-OPTIONS_MULTI=	SOUND
-OPTIONS_MULTI_SOUND=	OSS PULSEAUDIO
+OPTIONS_DEFINE=		FFMPEG MPG123
+OPTIONS_SINGLE=		SOUND
+OPTIONS_SINGLE_SOUND=	OSS PULSEAUDIO
 OPTIONS_DEFAULT=	OSS
 OSS_CONFIGURE_ON=	oss=yes pulse=no
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 PULSEAUDIO_CONFIGURE_ON=	oss=no pulse=yes
+FFMPEG_CONFIGURE_ON=	ffmpeg=yes
+FFMPEG_CONFIGURE_OFF=	ffmpeg=no
+FFMPEG_LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg
+MPG123_CONFIGURE_ON=	mpg123=yes
+MPG123_CONFIGURE_OFF=	mpg123=no
+MPG123_LIB_DEPENDS=	libmpg123.so:audio/mpg123
 OPTIONS_SUB=	yes
 
 CONFIGURE_ARGS=	sndfile=no \

Modified: head/audio/siren/distinfo
==============================================================================
--- head/audio/siren/distinfo	Sat May 20 16:58:10 2017	(r441320)
+++ head/audio/siren/distinfo	Sat May 20 17:04:32 2017	(r441321)
@@ -1,2 +1,3 @@
-SHA256 (siren-0.6.tar.gz) = 5ac944e5d2737942afa1270bf66d72d631b896d37b4c084bdd3a766a5e735a14
-SIZE (siren-0.6.tar.gz) = 96833
+TIMESTAMP = 1495297978
+SHA256 (siren-0.7.tar.gz) = 9be67c83c9ef127127ce4645a5919bd3f963e47d3c12492bc8fbc7c1d20b3d3c
+SIZE (siren-0.7.tar.gz) = 99891

Added: head/audio/siren/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/siren/files/patch-configure	Sat May 20 17:04:32 2017	(r441321)
@@ -0,0 +1,14 @@
+Make ffmpeg toggleable.
+
+--- configure.orig	2017-05-20 16:53:55 UTC
++++ configure
+@@ -314,6 +314,9 @@ for arg; do
+ 	sun=*)
+ 		get_option_value enable_sun "$arg"
+ 		;;
++	ffmpeg=*)
++		get_option_value enable_ffmpeg "$arg"
++		;;
+ 	help|-h|--help)
+ 		error "see the INSTALL file for more information"
+ 		;;

Modified: head/audio/siren/pkg-plist
==============================================================================
--- head/audio/siren/pkg-plist	Sat May 20 16:58:10 2017	(r441320)
+++ head/audio/siren/pkg-plist	Sat May 20 17:04:32 2017	(r441321)
@@ -4,6 +4,8 @@ lib/siren/ip/mad.so
 lib/siren/ip/opus.so
 lib/siren/ip/vorbis.so
 lib/siren/ip/wavpack.so
+%%FFMPEG%%lib/siren/ip/ffmpeg.so
+%%MPG123%%lib/siren/ip/mpg123.so
 %%OSS%%lib/siren/op/oss.so
 %%PULSEAUDIO%%lib/siren/op/pulse.so
 man/man1/siren.1.gz



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