ports/92608: Update port: audio/darkice to 0.17
KATO Tsuguru
tkato432 at yahoo.com
Tue Jan 31 14:10:06 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list