diff options
author | miwi <miwi@FreeBSD.org> | 2009-01-15 00:00:26 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-01-15 00:00:26 +0800 |
commit | d1e82dc235dcda3a11d6ca3863dff080df220395 (patch) | |
tree | 3b0d2f33d2b028a5b76ac08277e3828f46628192 /audio | |
parent | 6be3c1ecd1edebf38aa632ffacd66fef2b8a7226 (diff) | |
download | freebsd-ports-gnome-d1e82dc235dcda3a11d6ca3863dff080df220395.tar.gz freebsd-ports-gnome-d1e82dc235dcda3a11d6ca3863dff080df220395.tar.zst freebsd-ports-gnome-d1e82dc235dcda3a11d6ca3863dff080df220395.zip |
- Add taglib support
PR: 130472
Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ezstream/Makefile | 55 | ||||
-rw-r--r-- | audio/ezstream/pkg-descr | 24 |
2 files changed, 54 insertions, 25 deletions
diff --git a/audio/ezstream/Makefile b/audio/ezstream/Makefile index bad86d73fd80..9eac217a99c6 100644 --- a/audio/ezstream/Makefile +++ b/audio/ezstream/Makefile @@ -7,40 +7,59 @@ PORTNAME= ezstream PORTVERSION= 0.5.3 +PORTREVISION= 1 CATEGORIES= audio -MASTER_SITES= http://svn.xiph.org/releases/ezstream/ +MASTER_SITES= http://downloads.xiph.org/releases/ezstream/ MAINTAINER= ports@FreeBSD.org COMMENT= A command line utility for streaming to icecast servers LIB_DEPENDS= shout.5:${PORTSDIR}/audio/libshout2 \ - vorbis.4:${PORTSDIR}/audio/libvorbis \ - xml2.5:${PORTSDIR}/textproc/libxml2 + vorbis.4:${PORTSDIR}/audio/libvorbis +OPTIONS= TAGLIB "TagLib support" on + +USE_GNOME= libxml2 +USE_ICONV= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib +MAN1= ezstream.1 +PORTDOCS= NEWS README +PORTEXAMPLES= ezstream_metadata.xml ezstream_mp3.xml \ + ezstream_reencode_mp3.xml ezstream_reencode_theora.xml \ + ezstream_reencode_vorbis.xml ezstream_stdin_vorbis.xml \ + ezstream_vorbis.xml meta.sh play.sh +PLIST_FILES= bin/ezstream -CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -PLIST_FILES= bin/ezstream -PORTEXAMPLES= ezstream_metadata.xml ezstream_mp3.xml ezstream_reencode_mp3.xml \ - ezstream_reencode_theora.xml ezstream_reencode_vorbis.xml \ - ezstream_stdin_vorbis.xml ezstream_vorbis.xml meta.sh play.sh +.include <bsd.port.pre.mk> -MAN1= ezstream.1 +.if defined(WITHOUT_TAGLIB) +CONFIGURE_ARGS+= --without-taglib +.else +LIB_DEPENDS+= tag.6:${PORTSDIR}/audio/taglib +CONFIGURE_ARGS+= --with-taglib=${LOCALBASE} +.endif post-patch: - ${REINPLACE_CMD} -e 's|COPYING NEWS README||g; s|examples||g; \ - s|install-dist_docDATA||g' ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^SUBDIRS =/s|examples||g ; \ + s|: install-dist_docDATA|:|g' ${WRKSRC}/Makefile.in -.if !defined(NOPORTEXAMPLES) post-install: - ${INSTALL} -d ${EXAMPLESDIR} -.for ex in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} +.for file in ${PORTEXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR} .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/audio/ezstream/pkg-descr b/audio/ezstream/pkg-descr index 200cf938cc8e..845de074aed8 100644 --- a/audio/ezstream/pkg-descr +++ b/audio/ezstream/pkg-descr @@ -1,8 +1,18 @@ -ezstream is a command line utility which is a improved version -of the old "shout" utility. It enables you to stream mp3 or vorbis -files to an icecast server without reencoding and thus requires -very little CPU. ezstream is controlled via a XML config file. -ezstream can stream mp3 and ogg vorbis files as well as reading -from stdin. ID3v1 tags are supported in mp3 files and all ogg -vorbis tags are propagated as metadata as well. +Ezstream is a command line source client for Icecast media streaming servers. +It began as the successor of the old "shout" utility, and has since gained a +lot of useful features. + +In its basic mode of operation, it streams media files or data from standard +input without reencoding and thus requires only very little CPU resources. +It can also use various external decoders and encoders to reencode from one +format to another, and stream the result to an Icecast server. Additional +features include scriptable playlist and metadata handling. All of its +features make ezstream a very flexible source client. + +Supported media formats for streaming are MP3, Ogg Vorbis and Ogg Theora. +Native metadata support includes MP3 (ID3v1 only) and Ogg Vorbis, and many +more formats when the optional TagLib support has been compiled in. + +Ezstream is free software and licensed under the GNU General Public License. + WWW: http://www.icecast.org/ezstream.php |