Lines 2-12
Link Here
|
2 |
# $FreeBSD: head/audio/audacity/Makefile 397077 2015-09-16 19:51:26Z bapt $ |
2 |
# $FreeBSD: head/audio/audacity/Makefile 397077 2015-09-16 19:51:26Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= audacity |
4 |
PORTNAME= audacity |
5 |
PORTVERSION= 2.1.0 |
5 |
PORTVERSION= 2.1.1 |
6 |
PORTREVISION= 5 |
|
|
7 |
CATEGORIES= audio |
6 |
CATEGORIES= audio |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} |
7 |
MASTER_SITES= https://github.com/audacity/audacity/archive/ |
9 |
DISTNAME= ${PORTNAME}-minsrc-${PORTVERSION} |
8 |
DISTNAME= Audacity-${PORTVERSION} |
10 |
|
9 |
|
11 |
MAINTAINER= xxjack12xx@gmail.com |
10 |
MAINTAINER= xxjack12xx@gmail.com |
12 |
COMMENT= GUI editor for digital audio waveforms |
11 |
COMMENT= GUI editor for digital audio waveforms |
Lines 16-38
Link Here
|
16 |
|
15 |
|
17 |
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
16 |
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
18 |
|
17 |
|
19 |
WRKSRC= ${WRKDIR}/${PORTNAME}-minsrc-${PORTVERSION} |
18 |
BUILD_DEPENDS+= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \ |
|
|
19 |
autogen:${PORTSDIR}/devel/autogen \ |
20 |
bash:${PORTSDIR}/shells/bash \ |
21 |
cmake:${PORTSDIR}/devel/cmake |
22 |
|
23 |
WRKSRC= ${WRKDIR}/${PORTNAME}-Audacity-${PORTVERSION} |
20 |
|
24 |
|
21 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
22 |
USES= cpe desktop-file-utils gettext gmake pkgconfig shared-mime-info \ |
26 |
USES= cpe desktop-file-utils gmake pkgconfig shared-mime-info shebangfix zip:infozip |
23 |
tar:xz |
27 |
NLS_USES= gettext |
|
|
28 |
NLS_CONFIGURE_ENABLE= nls |
29 |
OPTIONS_SUB= yes |
24 |
USE_WX= 2.8+ |
30 |
USE_WX= 2.8+ |
25 |
WX_UNICODE= yes |
|
|
26 |
WX_COMPS= wx |
31 |
WX_COMPS= wx |
27 |
INSTALLS_ICONS= yes |
32 |
INSTALLS_ICONS= yes |
28 |
PORTDOCS= README.txt |
33 |
PORTDOCS= README.txt |
|
|
34 |
INSTALL_TARGET= install-strip |
29 |
|
35 |
|
30 |
OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA LAME MAD MIDI NYQUIST \ |
36 |
OPTIONS_DEFINE= NLS DEBUG DOCS FLAC ID3TAG LADSPA LAME MAD MIDI NYQUIST \ |
31 |
PORTMIXER SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST |
37 |
PORTMIXER SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST |
32 |
OPTIONS_SINGLE= SAMPLERATED |
38 |
OPTIONS_DEFAULT= FLAC ID3TAG LADSPA MAD MIDI NYQUIST \ |
33 |
OPTIONS_SINGLE_SAMPLERATED= SAMPLERATE #SOXR |
39 |
PORTMIXER SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST |
34 |
OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA MAD MIDI NYQUIST \ |
|
|
35 |
PORTMIXER SBSMS SOUNDTOUCH SAMPLERATE TWOLAME VAMP VORBIS VST |
36 |
OPTIONS_DEFINE_amd64= SSE |
40 |
OPTIONS_DEFINE_amd64= SSE |
37 |
OPTIONS_DEFINE_i386= SSE |
41 |
OPTIONS_DEFINE_i386= SSE |
38 |
OPTIONS_DEFAULT_amd64= SSE |
42 |
OPTIONS_DEFAULT_amd64= SSE |
Lines 43-54
Link Here
|
43 |
MAD_DESC= Use libmad for mp2/3 decoding support |
47 |
MAD_DESC= Use libmad for mp2/3 decoding support |
44 |
MIDI_DESC= Use portSMF for Midi support |
48 |
MIDI_DESC= Use portSMF for Midi support |
45 |
NYQUIST_DESC= Nyquist plug-in support |
49 |
NYQUIST_DESC= Nyquist plug-in support |
46 |
SAMPLERATE_DESC= Use libsamplerate for sample rate conversion |
|
|
47 |
SAMPLERATED_DESC= Default sample rate conversion support |
48 |
PORTMIXER_DESC= Compile with PortMixer support |
50 |
PORTMIXER_DESC= Compile with PortMixer support |
49 |
SBSMS_DESC= Use libsbsms for pitch and tempo changing |
51 |
SBSMS_DESC= Use libsbsms for pitch and tempo changing |
50 |
SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing |
52 |
SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing |
51 |
#SOXR_DESC= Use libsoxr for sample rate conversion |
|
|
52 |
TAGLIB_DESC= Use TagLib for metadata support |
53 |
TAGLIB_DESC= Use TagLib for metadata support |
53 |
TWOLAME_DESC= Use libtwolame for MP2 export support |
54 |
TWOLAME_DESC= Use libtwolame for MP2 export support |
54 |
VAMP_DESC= Vamp plug-in support |
55 |
VAMP_DESC= Vamp plug-in support |
Lines 56-72
Link Here
|
56 |
|
57 |
|
57 |
CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" |
58 |
CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" |
58 |
|
59 |
|
59 |
CONFIGURE_ARGS+= --with-lib-preference="local system" \ |
60 |
CONFIGURE_ARGS+= --with-lib-preference="local system" --without-lv2 --without-ffmpeg \ |
60 |
--enable-portaudio --enable-unicode |
61 |
--enable-portaudio --enable-unicode --with-libsoxr |
61 |
|
62 |
|
62 |
DEBUG_CONFIGURE_WITH= debug |
63 |
CONFIGURE_SHELL?=${LOCALBASE}/bin/bash |
63 |
|
64 |
|
64 |
FFMPEG_CONFIGURE_WITH= ffmpeg |
65 |
DEBUG_CONFIGURE_WITH= debug |
65 |
FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffmpeg:${PORTSDIR}/multimedia/ffmpeg |
|
|
66 |
FFMPEG_LIB_DEPENDS= libavformat.so:${PORTSDIR}/multimedia/ffmpeg |
67 |
FFMPEG_CFLAGS= -I${LOCALBASE}/include/ffmpeg |
68 |
FFMPEG_CPPFLAGS= -I${LOCALBASE}/include/ffmpeg |
69 |
FFMPEG_CXXFLAGS= -I${LOCALBASE}/include/ffmpeg |
70 |
|
66 |
|
71 |
FLAC_CONFIGURE_WITH= libflac |
67 |
FLAC_CONFIGURE_WITH= libflac |
72 |
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac |
68 |
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac |
Lines 91-107
Link Here
|
91 |
|
87 |
|
92 |
PORTMIXER_CONFIGURE_WITH= portmixer |
88 |
PORTMIXER_CONFIGURE_WITH= portmixer |
93 |
|
89 |
|
94 |
SAMPLERATE_CONFIGURE_WITH= libsamplerate |
|
|
95 |
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate |
96 |
|
97 |
SBSMS_CONFIGURE_WITH= sbsms |
90 |
SBSMS_CONFIGURE_WITH= sbsms |
98 |
|
91 |
|
99 |
SOUNDTOUCH_CONFIGURE_WITH= soundtouch |
92 |
SOUNDTOUCH_CONFIGURE_WITH= soundtouch |
100 |
SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:${PORTSDIR}/audio/soundtouch |
93 |
SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:${PORTSDIR}/audio/soundtouch |
101 |
|
94 |
|
102 |
#SOXR_CONFIGURE_WITH= libsoxr |
|
|
103 |
#SOXR_BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake |
104 |
|
105 |
SSE_CONFIGURE_ENABLE= sse |
95 |
SSE_CONFIGURE_ENABLE= sse |
106 |
|
96 |
|
107 |
TWOLAME_CONFIGURE_WITH= libtwolame |
97 |
TWOLAME_CONFIGURE_WITH= libtwolame |