aboutsummaryrefslogtreecommitdiffstats
path: root/audio/audacity
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-10 06:58:16 +0800
committerwg <wg@FreeBSD.org>2013-09-10 06:58:16 +0800
commit275a4f82928adaf86ac7143114a9867a3ea0f57b (patch)
tree0c0c6b23f3458e61f9f196c6628c3e01186e6d63 /audio/audacity
parentb5c29fa46f9e9393584db0ee57dbe53798a7b96f (diff)
downloadfreebsd-ports-gnome-275a4f82928adaf86ac7143114a9867a3ea0f57b.tar.gz
freebsd-ports-gnome-275a4f82928adaf86ac7143114a9867a3ea0f57b.tar.zst
freebsd-ports-gnome-275a4f82928adaf86ac7143114a9867a3ea0f57b.zip
audio/audacity: update to 2.0.4
- Update to 2.0.4 [1] - Add SOXR option [1] - Convert lib depends to new syntax PR: ports/181922 [1] Submitted by: Jack Low <xxjack12xx gmail.com> (maintainer)
Diffstat (limited to 'audio/audacity')
-rw-r--r--audio/audacity/Makefile32
-rw-r--r--audio/audacity/distinfo4
2 files changed, 20 insertions, 16 deletions
diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile
index 90afb233ce91..e920610300ef 100644
--- a/audio/audacity/Makefile
+++ b/audio/audacity/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= audacity
-PORTVERSION= 2.0.3
-PORTREVISION= 1
+PORTVERSION= 2.0.4
CATEGORIES= audio
MASTER_SITES= GOOGLE_CODE \
SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
@@ -14,7 +13,7 @@ COMMENT= GUI editor for digital audio waveforms
LICENSE= GPLv2
-LIB_DEPENDS= sndfile:${PORTSDIR}/audio/libsndfile
+LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION}
@@ -31,14 +30,15 @@ MANCOMPRESSED= yes
PORTDOCS= README.txt
OPTIONS_DEFINE= DOCS FFMPEG FLAC ID3TAG JACK LADSPA MAD NYQUIST PORTMIXER \
- SAMPLERATE SBSMS SSE TAGLIB TWOLAME VAMP VORBIS
+ SAMPLERATE SBSMS SOXR SSE TAGLIB TWOLAME VAMP VORBIS
OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG JACK LADSPA MAD NYQUIST \
- PORTMIXER SAMPLERATE SBSMS SSE TAGLIB \
+ PORTMIXER SAMPLERATE SBSMS SOXR SSE TAGLIB \
TWOLAME VAMP VORBIS
NYQUIST_DESC= Nyquist plug-in support
PORTMIXER_DESC= Compile with PortMixer support
SBSMS_DESC= Use libsbsms for pitch and tempo changing
+SOXR_DESC= Use libsoxr for sample rate conversion
SSE= Enable SSE optimizations
TAGLIB_DESC= Use TagLib for metadata support
TWOLAME_DESC= Use libtwolame for MP2 export support
@@ -73,21 +73,21 @@ CONFIGURE_ARGS+= --without-ffmpeg
.endif
.if ${PORT_OPTIONS:MFLAC}
-LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac
+LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac
CONFIGURE_ARGS+= --with-libflac
.else
CONFIGURE_ARGS+= --without-libflac
.endif
.if ${PORT_OPTIONS:MID3TAG}
-LIB_DEPENDS+= id3tag:${PORTSDIR}/audio/libid3tag
+LIB_DEPENDS+= libid3tag.so:${PORTSDIR}/audio/libid3tag
CONFIGURE_ARGS+= --with-libid3tag
.else
CONFIGURE_ARGS+= --without-libid3tag
.endif
.if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack
+LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack
CONFIGURE_ARGS+= --with-jack
.else
CONFIGURE_ARGS+= --without-jack
@@ -101,7 +101,7 @@ CONFIGURE_ARGS+= --disable-ladspa
.endif
.if ${PORT_OPTIONS:MMAD}
-LIB_DEPENDS+= mad:${PORTSDIR}/audio/libmad
+LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad
CONFIGURE_ARGS+= --with-libmad
.else
CONFIGURE_ARGS+= --without-libmad
@@ -120,10 +120,10 @@ CONFIGURE_ARGS+= --without-portmixer
.endif
.if ${PORT_OPTIONS:MSAMPLERATE}
-LIB_DEPENDS+= samplerate:${PORTSDIR}/audio/libsamplerate
+LIB_DEPENDS+= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
CONFIGURE_ARGS+= --with-libsamplerate
.else
-BUILD_DEPENDS+= cmake:${PORTSDIR}/devel/cmake
+USES+= cmake
CONFIGURE_ARGS+= --without-libsamplerate
.endif
@@ -137,15 +137,19 @@ CONFIGURE_ARGS+= --without-sbsms
CONFIGURE_ARGS+= --with-sse
.endif
+.if ${PORT_OPTIONS:MSOXR}
+CONFIGURE_ARGS+= --with-libsoxr
+.endif
+
.if ${PORT_OPTIONS:MTWOLAME}
-LIB_DEPENDS+= twolame:${PORTSDIR}/audio/twolame
+LIB_DEPENDS+= libtwolame.so:${PORTSDIR}/audio/twolame
CONFIGURE_ARGS+= --with-libtwolame
.else
CONFIGURE_ARGS+= --without-libtwolame
.endif
.if ${PORT_OPTIONS:MTAGLIB}
-LIB_DEPENDS+= tag:${PORTSDIR}/audio/taglib
+LIB_DEPENDS+= libtag.so:${PORTSDIR}/audio/taglib
CONFIGURE_ARGS+= --with-taglib
.else
CONFIGURE_ARGS+= --without-taglib
@@ -158,7 +162,7 @@ CONFIGURE_ARGS+= --without-libvamp
.endif
.if ${PORT_OPTIONS:MVORBIS}
-LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+= --with-libvorbis
.else
CONFIGURE_ARGS+= --without-libvorbis
diff --git a/audio/audacity/distinfo b/audio/audacity/distinfo
index ff790f1794e7..e08282bdb756 100644
--- a/audio/audacity/distinfo
+++ b/audio/audacity/distinfo
@@ -1,2 +1,2 @@
-SHA256 (audacity-minsrc-2.0.3.tar.xz) = 2e481eab900a31817d273e7e3e8b8c127b0d3cc55d8efa46dd005177615f8bcc
-SIZE (audacity-minsrc-2.0.3.tar.xz) = 5116320
+SHA256 (audacity-minsrc-2.0.4.tar.xz) = 772ba2336fc3f2c7b6e0dfa927b91143c987db14201e7bc523fa4f4fa313895e
+SIZE (audacity-minsrc-2.0.4.tar.xz) = 5331376