|
Lines 2-9
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= audacity |
4 |
PORTNAME= audacity |
| 5 |
PORTVERSION= 2.0.6 |
5 |
PORTVERSION= 2.1.0 |
| 6 |
PORTREVISION= 2 |
6 |
PORTREVISION= 0 |
| 7 |
CATEGORIES= audio |
7 |
CATEGORIES= audio |
| 8 |
MASTER_SITES= GOOGLE_CODE \ |
8 |
MASTER_SITES= GOOGLE_CODE \ |
| 9 |
SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} |
9 |
SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} |
|
Lines 16-22
Link Here
|
| 16 |
|
16 |
|
| 17 |
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
17 |
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
| 18 |
|
18 |
|
| 19 |
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION} |
19 |
WRKSRC= ${WRKDIR}/${PORTNAME}-minsrc-${PORTVERSION} |
| 20 |
|
20 |
|
| 21 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
| 22 |
USES= desktop-file-utils gettext gmake pkgconfig shared-mime-info \ |
22 |
USES= desktop-file-utils gettext gmake pkgconfig shared-mime-info \ |
|
Lines 28-38
Link Here
|
| 28 |
PORTDOCS= README.txt |
28 |
PORTDOCS= README.txt |
| 29 |
|
29 |
|
| 30 |
OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA LAME MAD MIDI NYQUIST \ |
30 |
OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA LAME MAD MIDI NYQUIST \ |
| 31 |
PORTMIXER SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS |
31 |
PORTMIXER SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST |
| 32 |
OPTIONS_SINGLE= SAMPLERATED |
32 |
OPTIONS_SINGLE= SAMPLERATED |
| 33 |
OPTIONS_SINGLE_SAMPLERATED= SAMPLERATE SOXR |
33 |
OPTIONS_SINGLE_SAMPLERATED= SAMPLERATE #SOXR |
| 34 |
OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA MAD MIDI NYQUIST \ |
34 |
OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA MAD MIDI NYQUIST \ |
| 35 |
PORTMIXER SBSMS SOUNDTOUCH SOXR TWOLAME VAMP VORBIS |
35 |
PORTMIXER SBSMS SOUNDTOUCH SAMPLERATE TWOLAME VAMP VORBIS VST |
| 36 |
|
36 |
|
| 37 |
DEBUG_DESC= Enable debug support |
37 |
DEBUG_DESC= Enable debug support |
| 38 |
LAME_DESC= Use lame for import and export support |
38 |
LAME_DESC= Use lame for import and export support |
|
Lines 44-60
Link Here
|
| 44 |
PORTMIXER_DESC= Compile with PortMixer support |
44 |
PORTMIXER_DESC= Compile with PortMixer support |
| 45 |
SBSMS_DESC= Use libsbsms for pitch and tempo changing |
45 |
SBSMS_DESC= Use libsbsms for pitch and tempo changing |
| 46 |
SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing |
46 |
SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing |
| 47 |
SOXR_DESC= Use libsoxr for sample rate conversion |
47 |
#SOXR_DESC= Use libsoxr for sample rate conversion |
| 48 |
TAGLIB_DESC= Use TagLib for metadata support |
48 |
TAGLIB_DESC= Use TagLib for metadata support |
| 49 |
TWOLAME_DESC= Use libtwolame for MP2 export support |
49 |
TWOLAME_DESC= Use libtwolame for MP2 export support |
| 50 |
VAMP_DESC= Vamp plug-in support |
50 |
VAMP_DESC= Vamp plug-in support |
|
|
51 |
VST_DESC= VST plug-in support |
| 51 |
|
52 |
|
| 52 |
|
53 |
|
| 53 |
CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" |
54 |
CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" |
| 54 |
|
55 |
|
| 55 |
CONFIGURE_ARGS+= --with-lib-preference="local system" \ |
56 |
CONFIGURE_ARGS+= --with-lib-preference="local system" \ |
| 56 |
--enable-portaudio --enable-unicode --without-lv2 |
57 |
--enable-portaudio --enable-unicode |
| 57 |
|
|
|
| 58 |
.if ${MACHINE_CPU:Msse} |
58 |
.if ${MACHINE_CPU:Msse} |
| 59 |
CONFIGURE_ARGS+= --enable-sse |
59 |
CONFIGURE_ARGS+= --enable-sse |
| 60 |
.else |
60 |
.else |
|
Lines 100-107
Link Here
|
| 100 |
SOUNDTOUCH_CONFIGURE_WITH= soundtouch |
100 |
SOUNDTOUCH_CONFIGURE_WITH= soundtouch |
| 101 |
SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:${PORTSDIR}/audio/soundtouch |
101 |
SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:${PORTSDIR}/audio/soundtouch |
| 102 |
|
102 |
|
| 103 |
SOXR_CONFIGURE_WITH= libsoxr |
103 |
#SOXR_CONFIGURE_WITH= libsoxr |
| 104 |
SOXR_BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake |
104 |
#SOXR_BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake |
| 105 |
|
105 |
|
| 106 |
TWOLAME_CONFIGURE_WITH= libtwolame |
106 |
TWOLAME_CONFIGURE_WITH= libtwolame |
| 107 |
TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame |
107 |
TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame |
|
Lines 111-116
Link Here
|
| 111 |
VORBIS_CONFIGURE_WITH= libvorbis |
111 |
VORBIS_CONFIGURE_WITH= libvorbis |
| 112 |
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis |
112 |
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis |
| 113 |
|
113 |
|
|
|
114 |
VST_CONFIGURE_ENABLE= vst |
| 115 |
|
| 114 |
.include <bsd.port.pre.mk> |
116 |
.include <bsd.port.pre.mk> |
| 115 |
|
117 |
|
| 116 |
LDFLAGS+= -lpthread -L${LOCALBASE}/lib |
118 |
LDFLAGS+= -lpthread -L${LOCALBASE}/lib |