Index: head/audio/siren/Makefile =================================================================== --- head/audio/siren/Makefile (revision 441320) +++ head/audio/siren/Makefile (revision 441321) @@ -1,50 +1,55 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= siren -PORTVERSION= 0.6 -PORTREVISION= 1 +PORTVERSION= 0.7 CATEGORIES= audio MASTER_SITES= http://www.kariliq.nl/${PORTNAME}/dist/ MAINTAINER= ports@FreeBSD.org COMMENT= Text-based audio player LICENSE= ISCL LIB_DEPENDS= libFLAC.so:audio/flac \ libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad \ 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 \ alsa=no \ ao=no \ sndio=no \ sun=no \ portaudio=no \ aac=no post-patch: @${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/siren ${FIND} ${STAGEDIR}${PREFIX}/lib/siren -path '*.so' \ | ${XARGS} ${STRIP_CMD} .include Index: head/audio/siren/distinfo =================================================================== --- head/audio/siren/distinfo (revision 441320) +++ head/audio/siren/distinfo (revision 441321) @@ -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 Index: head/audio/siren/files/patch-configure =================================================================== --- head/audio/siren/files/patch-configure (nonexistent) +++ head/audio/siren/files/patch-configure (revision 441321) @@ -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" + ;; Property changes on: head/audio/siren/files/patch-configure ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/siren/pkg-plist =================================================================== --- head/audio/siren/pkg-plist (revision 441320) +++ head/audio/siren/pkg-plist (revision 441321) @@ -1,9 +1,11 @@ bin/siren lib/siren/ip/flac.so 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