aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-07-13 10:42:31 +0800
committermiwi <miwi@FreeBSD.org>2010-07-13 10:42:31 +0800
commita481800baf187fea9716f14515cd3cbad827a8f1 (patch)
tree4d2de6d61dbcf9a5e26ec793858da5524ca784b7
parent07071ce9e83e7728ceed161e2d062605bcf5cd68 (diff)
downloadfreebsd-ports-gnome-a481800baf187fea9716f14515cd3cbad827a8f1.tar.gz
freebsd-ports-gnome-a481800baf187fea9716f14515cd3cbad827a8f1.tar.zst
freebsd-ports-gnome-a481800baf187fea9716f14515cd3cbad827a8f1.zip
- Update to 1.0
PR: 146669 Submitted by: Ports Fury
-rw-r--r--audio/darkice/Makefile21
-rw-r--r--audio/darkice/distinfo6
2 files changed, 16 insertions, 11 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index d3c0c7bba8ec..62a1d3164dd2 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= darkice
-PORTVERSION= 0.20
-PORTREVISION= 1
+PORTVERSION= 1.0
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -19,11 +18,10 @@ 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
+ 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
@@ -69,8 +67,15 @@ CONFIGURE_ARGS+= --with-jack-prefix=${LOCALBASE}
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 --git a/audio/darkice/distinfo b/audio/darkice/distinfo
index ac1d78b7efec..b7d8a1feca49 100644
--- a/audio/darkice/distinfo
+++ b/audio/darkice/distinfo
@@ -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