diff options
author | miwi <miwi@FreeBSD.org> | 2010-07-13 10:42:31 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-07-13 10:42:31 +0800 |
commit | a481800baf187fea9716f14515cd3cbad827a8f1 (patch) | |
tree | 4d2de6d61dbcf9a5e26ec793858da5524ca784b7 /audio/darkice/Makefile | |
parent | 07071ce9e83e7728ceed161e2d062605bcf5cd68 (diff) | |
download | freebsd-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
Diffstat (limited to 'audio/darkice/Makefile')
-rw-r--r-- | audio/darkice/Makefile | 21 |
1 files changed, 13 insertions, 8 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> |