Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 23:00:16 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92608: Update port: audio/darkice to 0.17
Message-ID:  <20060131230016.44f4ed1e.tkato432@yahoo.com>
Resent-Message-ID: <200601311410.k0VEA2jQ056939@freefall.freebsd.org>

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

>Number:         92608
>Category:       ports
>Synopsis:       Update port: audio/darkice to 0.17
>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:   Tue Jan 31 14:10:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p14 i386
>Organization:
>Environment:
>Description:
- Update to version 0.17

New file:
files/patch-src__DarkIce.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile	Thu Jan 26 13:44:53 2006
+++ audio/darkice/Makefile	Fri Jan 27 23:52:32 2006
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	darkice
-PORTVERSION=	0.16
+PORTVERSION=	0.17
 CATEGORIES=	audio net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -17,6 +17,7 @@
 
 OPTIONS=	VORBIS "Ogg Vorbis support" on \
 		LAME "LAME support for MP3" off \
+		TWOLAME "TwoLAME support for MP2" off \
 		FAAC "FAAC support for AAC" off \
 		JACK "Jack support" off
 
@@ -44,6 +45,13 @@
 CONFIGURE_ARGS+=	--with-lame-prefix=${LOCALBASE}
 .else
 CONFIGURE_ARGS+=	--without-lame
+.endif
+
+.if defined(WITH_TWOLAME)
+LIB_DEPENDS+=	twolame.0:${PORTSDIR}/audio/twolame
+CONFIGURE_ARGS+=	--with-twolame-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=	--without-twolame
 .endif
 
 .if defined(WITH_FAAC)
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo	Thu Nov 24 16:01:27 2005
+++ audio/darkice/distinfo	Fri Jan 27 22:18:17 2006
@@ -1,3 +1,3 @@
-MD5 (darkice-0.16.tar.gz) = c21709b72eefb01f658f3d09d3f360c4
-SHA256 (darkice-0.16.tar.gz) = 69272d424fdbffcebb527cb2db0a7fde7d46dc5197da357f0a7da2c39d81d2bd
-SIZE (darkice-0.16.tar.gz) = 1363664
+MD5 (darkice-0.17.tar.gz) = 48d6cbbe5db12f95199fe99eb4413cbd
+SHA256 (darkice-0.17.tar.gz) = f29d93ac10e65bb844d39d9e3037ea15936e440165efa3205b7f6a8c657639e7
+SIZE (darkice-0.17.tar.gz) = 1402309
diff -urN /usr/ports/audio/darkice/files/patch-src__DarkIce.cpp audio/darkice/files/patch-src__DarkIce.cpp
--- /usr/ports/audio/darkice/files/patch-src__DarkIce.cpp	Thu Jan  1 09:00:00 1970
+++ audio/darkice/files/patch-src__DarkIce.cpp	Fri Jan 27 23:15:08 2006
@@ -0,0 +1,18 @@
+--- src/DarkIce.cpp.orig	Thu Jan 26 07:47:15 2006
++++ src/DarkIce.cpp	Fri Jan 27 22:40:02 2006
+@@ -355,6 +355,7 @@
+ 													   channel,
+ 													   lowpass,
+ 													   highpass );
++#ifdef HAVE_TWOLAME
+         } else if ( Util::strEq( str, "mp2") ) {
+ 			audioOuts[u].encoder = new TwoLameLibEncoder(
+                                                       audioOuts[u].server.get(),
+@@ -363,6 +364,7 @@
+ 													  bitrate,
+ 													  sampleRate,
+ 													  channel );
++#endif // HAVE_TWOLAME
+         } else {
+             throw Exception( __FILE__, __LINE__,
+                              "unsupported stream format: ", str);
>Release-Note:
>Audit-Trail:
>Unformatted:



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