ports/146669: Update port: audio/darkice to 1.0
KATO Tsuguru
tkato432 at yahoo.com
Mon May 17 20:20:04 UTC 2010
>Number: 146669
>Category: ports
>Synopsis: Update port: audio/darkice to 1.0
>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: Mon May 17 20:20:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile 2009-11-12 22:17:04.000000000 +0900
+++ audio/darkice/Makefile 2010-05-10 21:19:31.000000000 +0900
@@ -7,7 +7,7 @@
#
PORTNAME= darkice
-PORTVERSION= 0.20
+PORTVERSION= 1.0
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -18,11 +18,10 @@
LAME "LAME support for MP3" off \
TWOLAME "TwoLAME support for MP2" off \
FAAC "FAAC support for AAC" off \
- JACK "Jack support" off
+ JACK "Jack support" off \
+ SAMPLERATE "Libsamplerate support" off
-USE_AUTOTOOLS= aclocal:110 autoheader:262 automake:110 autoconf:262
-ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
-AUTOMAKE_ARGS= --add-missing
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \
ac_cv_prog_acx_pthread_config=no
CONFIGURE_ARGS= --without-alsa --without-aacplus
@@ -68,8 +67,15 @@
CONFIGURE_ARGS+= --without-jack
.endif
+.if defined(WITH_SAMPLERATE)
+LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate
+CONFIGURE_ARGS+= --with-samplerate-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --without-samplerate
+.endif
+
post-patch:
- @${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure.in
- @${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.am
+ @${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo 2009-11-12 22:17:04.000000000 +0900
+++ audio/darkice/distinfo 2010-05-10 17:30:17.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (darkice-0.20.tar.gz) = bcc41ac68a5bf64b12ed8c82f183f767
-SHA256 (darkice-0.20.tar.gz) = 791acb54ce0ddf413bc38d54df4800e5d0d4f843c1c0de9b291f74ce7d3528dd
-SIZE (darkice-0.20.tar.gz) = 311239
+MD5 (darkice-1.0.tar.gz) = 1804e63d42a9703d01fe378c9a77c473
+SHA256 (darkice-1.0.tar.gz) = 61a05c4dab206c22c3e3d5570ee4841f9c8875241098adf687717e7dcc6df332
+SIZE (darkice-1.0.tar.gz) = 311567
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list