- Add taglib support
PR: 130472 Submitted by: Ports Fury
This commit is contained in:
parent
da8adf524a
commit
09ecaf2260
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226097
@ -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
|
||||
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
MAN1= ezstream.1
|
||||
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user