Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2008 03:00:13 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/126796: Update port: audio/ezstream to 0.5.3
Message-ID:  <20080825030013.9f3643a1.tkato432@yahoo.com>
Resent-Message-ID: <200808241810.m7OIA3WQ002018@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126796
>Category:       ports
>Synopsis:       Update port: audio/ezstream to 0.5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 24 18:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.0-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.3

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/ezstream/Makefile audio/ezstream/Makefile
--- /usr/ports/audio/ezstream/Makefile	2008-08-19 22:32:59.000000000 +0900
+++ audio/ezstream/Makefile	2008-08-22 04:48:21.000000000 +0900
@@ -6,36 +6,58 @@
 #
 
 PORTNAME=	ezstream
-PORTVERSION=	0.2.1
-PORTREVISION=	2
+PORTVERSION=	0.5.3
 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
 
-GNU_CONFIGURE=  yes
+OPTIONS=	TAGLIB "TagLib support" on
 
-CFLAGS+=	${PTHREAD_CFLAGS} -I${LOCALBASE}/include
-LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib
+USE_GNOME=	libxml2
+USE_ICONV=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-libiconv-prefix=${LOCALBASE} \
+		--with-ogg=${LOCALBASE} \
+		--with-vorbis=${LOCALBASE}
+
+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}"
+.include <bsd.port.pre.mk>
 
-PLIST_FILES=	bin/ezstream
-PORTDOCS=	ezstream_mp3.xml ezstream_reencoding_example_vorbis.xml \
-		ezstream_reencoding_example_mp3.xml ezstream_vorbis.xml \
-		ezstream_reencoding_example_theora.xml
+.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 '/^SUBDIRS =/s|examples||g ; \
+		 s|: install-dist_docDATA|:|g' ${WRKSRC}/Makefile.in
 
-.if !defined(NOPORTDOCS)
 post-install:
-	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/conf/${f} ${DOCSDIR}
+.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 -urN /usr/ports/audio/ezstream/distinfo audio/ezstream/distinfo
--- /usr/ports/audio/ezstream/distinfo	2005-12-16 04:22:41.000000000 +0900
+++ audio/ezstream/distinfo	2008-08-22 04:11:35.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (ezstream-0.2.1.tar.gz) = 5c0b6fc2abeef572a2acc1f8e32ec3e2
-SHA256 (ezstream-0.2.1.tar.gz) = 53ffec4e618e5862354d3ab4e94a7cc515412cfd060bdc179ba935e08243a5e1
-SIZE (ezstream-0.2.1.tar.gz) = 320260
+MD5 (ezstream-0.5.3.tar.gz) = a07941d52a4705f8d02c9c9ee6e05750
+SHA256 (ezstream-0.5.3.tar.gz) = 5f279eab49b6d71441358ef046fdbd3749396cf43818e436239fdb3e004e4ecb
+SIZE (ezstream-0.5.3.tar.gz) = 230928
diff -urN /usr/ports/audio/ezstream/pkg-descr audio/ezstream/pkg-descr
--- /usr/ports/audio/ezstream/pkg-descr	2004-10-16 09:13:17.000000000 +0900
+++ audio/ezstream/pkg-descr	2008-08-22 04:47:33.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



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