ports/88186: Update port: audio/darkice to 0.16

KATO Tsuguru tkato432 at yahoo.com
Sat Oct 29 18:10:18 UTC 2005


>Number:         88186
>Category:       ports
>Synopsis:       Update port: audio/darkice to 0.16
>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:   Sat Oct 29 18:10:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to version 0.16

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile	Sat Apr 16 10:30:30 2005
+++ audio/darkice/Makefile	Sun Oct 23 12:57:59 2005
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	darkice
-PORTVERSION=	0.15
+PORTVERSION=	0.16
 CATEGORIES=	audio net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,7 +15,10 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	An IceCast, IceCast2 and ShoutCast live audio streamer
 
-LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis
+OPTIONS=	VORBIS "Ogg Vorbis support" on \
+		LAME "LAME support for MP3" off \
+		FAAD "FAAC support for AAC" off \
+		JACK "Jack support" off
 
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
@@ -28,6 +31,14 @@
 MAN5=		darkice.cfg.5
 PLIST_FILES=	bin/darkice etc/darkice.cfg
 
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_VORBIS)
+CONFIGURE_ARGS+=	--without-vorbis
+.else
+LIB_DEPENDS+=	vorbis.3:${PORTSDIR}/audio/libvorbis
+.endif
+
 .if defined(WITH_LAME)
 LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
 CONFIGURE_ARGS+=	--with-lame-prefix=${LOCALBASE}
@@ -35,6 +46,13 @@
 CONFIGURE_ARGS+=	--without-lame
 .endif
 
+.if defined(WITH_FAAC)
+LIB_DEPENDS+=	faac.0:${PORTSDIR}/audio/faac
+CONFIGURE_ARGS+=	--with-faac-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=	--without-faac
+.endif
+
 .if defined(WITH_JACK)
 LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
 .else
@@ -42,9 +60,10 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|PTHREAD_CFLAGS=.*$$|PTHREAD_CFLAGS=|g ; \
+	@${REINPLACE_CMD} -e '/test/s|==|=|g ; \
+		s|PTHREAD_CFLAGS=.*$$|PTHREAD_CFLAGS=|g ; \
 		s|PTHREAD_LIBS=.*$$|PTHREAD_LIBS=|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo	Sat Apr 16 10:30:30 2005
+++ audio/darkice/distinfo	Sun Oct 23 12:36:40 2005
@@ -1,2 +1,2 @@
-MD5 (darkice-0.15.tar.gz) = 313470008e387b70745ae2d75d5626c9
-SIZE (darkice-0.15.tar.gz) = 1181764
+MD5 (darkice-0.16.tar.gz) = c21709b72eefb01f658f3d09d3f360c4
+SIZE (darkice-0.16.tar.gz) = 1363664
diff -urN /usr/ports/audio/darkice/pkg-descr audio/darkice/pkg-descr
--- /usr/ports/audio/darkice/pkg-descr	Fri Dec 28 03:43:40 2001
+++ audio/darkice/pkg-descr	Sun Oct 23 12:39:33 2005
@@ -1,8 +1,17 @@
-DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It takes
-audio input from a sound card, encodes it into mp3 and/or Ogg Vorbis, and
-sends the mp3 stream to one or more IceCast and/or ShoutCast servers, the
-Ogg Vorbis stream to one or more IceCast2 servers. DarkIce uses lame as a
-shared object as its mp3 encoder, and the Ogg Vorbis as its Ogg Vorbis
-encoder.
+DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
+records audio from an audio interface (e.g. sound card), encodes it and
+sends it to a stream server.
+
+DarkIce can encode in the following formats:
+
+ mp3 - using the lame library
+ Ogg Vorbis
+ aac - using the faac library
+
+DarkIce can send the encoded stream to the following streaming servers:
+
+ ShoutCast
+ IceCast 1.3.x and 2.x
+ Darwin Streaming Server
 
 WWW: http://darkice.sourceforge.net/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list