Lines 1-9
Link Here
|
1 |
PORTNAME= audacity |
1 |
PORTNAME= audacity |
2 |
DISTVERSIONPREFIX= Audacity- |
2 |
DISTVERSIONPREFIX= Audacity- |
3 |
DISTVERSION= 3.4.2 |
3 |
DISTVERSION= 3.5.0 |
4 |
PORTREVISION= 3 |
|
|
5 |
CATEGORIES= audio |
4 |
CATEGORIES= audio |
6 |
|
5 |
|
|
|
6 |
PATCH_SITES= https://github.com/audacity/audacity/commit/ |
7 |
# FreeBSD compilation fixes: https://github.com/audacity/audacity/pull/6331 |
8 |
PATCHFILES+= 4191cfb8376d19d044cadaf31214182375a9af55.patch:-p1 |
9 |
|
7 |
MAINTAINER= xxjack12xx@gmail.com |
10 |
MAINTAINER= xxjack12xx@gmail.com |
8 |
COMMENT= GUI editor for digital audio waveforms |
11 |
COMMENT= GUI editor for digital audio waveforms |
9 |
WWW= https://www.audacityteam.org/ |
12 |
WWW= https://www.audacityteam.org/ |
Lines 13-30
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
Link Here
|
13 |
|
16 |
|
14 |
BUILD_DEPENDS= conan:sysutils/conan \ |
17 |
BUILD_DEPENDS= conan:sysutils/conan \ |
15 |
rapidjson>0:devel/rapidjson |
18 |
rapidjson>0:devel/rapidjson |
16 |
LIB_DEPENDS= libasound.so:audio/alsa-lib \ |
19 |
LIB_DEPENDS= libexpat.so:textproc/expat2 \ |
17 |
libcurl.so:ftp/curl \ |
|
|
18 |
libexpat.so:textproc/expat2 \ |
19 |
liblilv-0.so:audio/lilv \ |
20 |
liblilv-0.so:audio/lilv \ |
20 |
libmp3lame.so:audio/lame \ |
21 |
libmp3lame.so:audio/lame \ |
21 |
libmpg123.so:audio/mpg123 \ |
22 |
libmpg123.so:audio/mpg123 \ |
22 |
libopenjp2.so:graphics/openjpeg \ |
|
|
23 |
libopus.so:audio/opus \ |
23 |
libopus.so:audio/opus \ |
24 |
libopusfile.so:audio/opusfile \ |
24 |
libopusfile.so:audio/opusfile \ |
25 |
libportaudio.so:audio/portaudio \ |
25 |
libportaudio.so:audio/portaudio \ |
26 |
libportmidi.so:audio/portmidi \ |
26 |
libportmidi.so:audio/portmidi \ |
27 |
libpng.so:graphics/png \ |
|
|
28 |
libserd-0.so:devel/serd \ |
27 |
libserd-0.so:devel/serd \ |
29 |
libsndfile.so:audio/libsndfile \ |
28 |
libsndfile.so:audio/libsndfile \ |
30 |
libsord-0.so:devel/sord \ |
29 |
libsord-0.so:devel/sord \ |
Lines 32-50
LIB_DEPENDS= libasound.so:audio/alsa-lib \
Link Here
|
32 |
libsratom-0.so:audio/sratom \ |
31 |
libsratom-0.so:audio/sratom \ |
33 |
libsqlite3.so:databases/sqlite3 \ |
32 |
libsqlite3.so:databases/sqlite3 \ |
34 |
libsuil-0.so:audio/suil \ |
33 |
libsuil-0.so:audio/suil \ |
35 |
libturbojpeg.so:graphics/libjpeg-turbo \ |
|
|
36 |
libwavpack.so:audio/wavpack \ |
34 |
libwavpack.so:audio/wavpack \ |
37 |
libuuid.so:misc/e2fsprogs-libuuid |
35 |
libuuid.so:misc/e2fsprogs-libuuid |
38 |
|
36 |
|
39 |
USES= cmake compiler:c++20-lang cpe desktop-file-utils gettext \ |
37 |
USES= cmake compiler:c++20-lang cpe desktop-file-utils gettext \ |
40 |
gnome libtool python:build pkgconfig shared-mime-info |
38 |
gnome libtool python:build pkgconfig shared-mime-info |
|
|
39 |
CPE_VENDOR= audacityteam |
41 |
|
40 |
|
42 |
USE_GITHUB= yes |
41 |
USE_GITHUB= yes |
43 |
USE_GNOME= cairo gdkpixbuf2 gtk30 |
42 |
USE_GNOME= cairo gdkpixbuf2 gtk30 |
44 |
USE_WX= 3.2+ |
43 |
USE_WX= 3.2+ |
45 |
CPE_VENDOR= audacityteam |
|
|
46 |
WX_COMPS= wx |
44 |
WX_COMPS= wx |
47 |
PORTDOCS= README.md |
|
|
48 |
|
45 |
|
49 |
CMAKE_ARGS= -DAUDACITY_BUILD_LEVEL=2 \ |
46 |
CMAKE_ARGS= -DAUDACITY_BUILD_LEVEL=2 \ |
50 |
-Daudacity_lib_preference:STRING=system \ |
47 |
-Daudacity_lib_preference:STRING=system \ |
Lines 74-85
CMAKE_OFF= audacity_has_audiocom_upload audacity_conan_enabled audacity_conan_fo
Link Here
|
74 |
audacity_has_crashreports audacity_has_networking audacity_has_updates_check audacity_has_url_schemes_support \ |
71 |
audacity_has_crashreports audacity_has_networking audacity_has_updates_check audacity_has_url_schemes_support \ |
75 |
audacity_has_tests audacity_has_vst3 audacity_perform_codesign audacity_use_pch |
72 |
audacity_has_tests audacity_has_vst3 audacity_perform_codesign audacity_use_pch |
76 |
|
73 |
|
|
|
74 |
# TODO: fix NLS support properly |
75 |
PLIST_SUB+= NLS="" |
76 |
PORTDOCS= README.md |
77 |
|
77 |
OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA MANUAL \ |
78 |
OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA MANUAL \ |
78 |
OGG SBSMS SOUNDTOUCH TWOLAME VAMP \ |
79 |
OGG SBSMS SOUNDTOUCH TWOLAME VAMP \ |
79 |
VORBIS VST |
80 |
VORBIS VST |
80 |
OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA OGG SBSMS \ |
81 |
OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA OGG SBSMS \ |
81 |
SOUNDTOUCH TWOLAME VAMP VORBIS VST |
82 |
SOUNDTOUCH TWOLAME VAMP VORBIS VST |
82 |
OPTIONS_EXCLUDE_i386= SBSMS |
83 |
OPTIONS_EXCLUDE_i386= SBSMS |
|
|
84 |
OPTIONS_SUB= yes |
83 |
|
85 |
|
84 |
MANUAL_DESC= Include manual |
86 |
MANUAL_DESC= Include manual |
85 |
SBSMS_DESC= Use libsbsms for pitch and tempo changing |
87 |
SBSMS_DESC= Use libsbsms for pitch and tempo changing |
Lines 94-144
DOCS_BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man \
Link Here
|
94 |
docbook2man:textproc/docbook-utils |
96 |
docbook2man:textproc/docbook-utils |
95 |
DOCS_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz |
97 |
DOCS_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz |
96 |
|
98 |
|
97 |
FFMPEG_CMAKE_ON= -Daudacity_use_ffmpeg:STRING=loaded |
|
|
98 |
FFMPEG_CMAKE_OFF= -Daudacity_use_ffmpeg:STRING=off |
99 |
FFMPEG_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libavcodec.pc:multimedia/ffmpeg |
99 |
FFMPEG_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libavcodec.pc:multimedia/ffmpeg |
100 |
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg |
100 |
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg |
|
|
101 |
FFMPEG_CMAKE_ON= -Daudacity_use_ffmpeg:STRING=loaded |
102 |
FFMPEG_CMAKE_OFF= -Daudacity_use_ffmpeg:STRING=off |
101 |
|
103 |
|
|
|
104 |
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac |
102 |
FLAC_CMAKE_ON= -Daudacity_use_libflac:STRING=system |
105 |
FLAC_CMAKE_ON= -Daudacity_use_libflac:STRING=system |
103 |
FLAC_CMAKE_OFF= -Daudacity_use_libflac:STRING=off |
106 |
FLAC_CMAKE_OFF= -Daudacity_use_libflac:STRING=off |
104 |
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac |
|
|
105 |
|
107 |
|
|
|
108 |
ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag |
106 |
ID3TAG_CMAKE_ON= -Daudacity_use_libid3tag:STRING=system |
109 |
ID3TAG_CMAKE_ON= -Daudacity_use_libid3tag:STRING=system |
107 |
ID3TAG_CMAKE_OFF= -Daudacity_use_libid3tag:STRING=off |
110 |
ID3TAG_CMAKE_OFF= -Daudacity_use_libid3tag:STRING=off |
108 |
ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag |
|
|
109 |
|
111 |
|
110 |
LADSPA_CMAKE_BOOL= audacity_use_ladspa |
|
|
111 |
LADSPA_RUN_DEPENDS= listplugins:audio/ladspa |
112 |
LADSPA_RUN_DEPENDS= listplugins:audio/ladspa |
|
|
113 |
LADSPA_CMAKE_BOOL= audacity_use_ladspa |
112 |
|
114 |
|
113 |
MANUAL_CMAKE_BOOL= audacity_package_manual |
115 |
MANUAL_CMAKE_BOOL= audacity_package_manual |
114 |
|
116 |
|
115 |
# TODO: fix NLS support properly |
117 |
OGG_LIB_DEPENDS= libogg.so:audio/libogg |
116 |
PLIST_SUB+= NLS="" |
|
|
117 |
OPTIONS_SUB= yes |
118 |
|
119 |
OGG_CMAKE_ON= -Daudacity_use_libogg:STRING=system |
118 |
OGG_CMAKE_ON= -Daudacity_use_libogg:STRING=system |
120 |
OGG_CMAKE_OFF= -Daudacity_use_libogg:STRING=off |
119 |
OGG_CMAKE_OFF= -Daudacity_use_libogg:STRING=off |
121 |
OGG_LIB_DEPENDS= libogg.so:audio/libogg |
|
|
122 |
|
120 |
|
123 |
SBSMS_CMAKE_ON= -Daudacity_use_sbsms:STRING=local |
121 |
SBSMS_CMAKE_ON= -Daudacity_use_sbsms:STRING=local |
124 |
SBSMS_CMAKE_OFF= -Daudacity_use_sbsms:STRING=off |
122 |
SBSMS_CMAKE_OFF= -Daudacity_use_sbsms:STRING=off |
125 |
|
123 |
|
|
|
124 |
SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch |
126 |
SOUNDTOUCH_CMAKE_ON= -Daudacity_use_soundtouch:STRING=system |
125 |
SOUNDTOUCH_CMAKE_ON= -Daudacity_use_soundtouch:STRING=system |
127 |
SOUNDTOUCH_CMAKE_OFF= -Daudacity_use_soundtouch:STRING=off |
126 |
SOUNDTOUCH_CMAKE_OFF= -Daudacity_use_soundtouch:STRING=off |
128 |
SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch |
|
|
129 |
|
127 |
|
|
|
128 |
TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame |
130 |
TWOLAME_CMAKE_ON= -Daudacity_use_twolame:STRING=system |
129 |
TWOLAME_CMAKE_ON= -Daudacity_use_twolame:STRING=system |
131 |
TWOLAME_CMAKE_OFF= -Daudacity_use_twolame:STRING=off |
130 |
TWOLAME_CMAKE_OFF= -Daudacity_use_twolame:STRING=off |
132 |
TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame |
|
|
133 |
|
131 |
|
|
|
132 |
VAMP_LIB_DEPENDS= libvamp-hostsdk.so:audio/vamp-plugin-sdk |
134 |
VAMP_CMAKE_ON= -Daudacity_use_vamp:STRING=system |
133 |
VAMP_CMAKE_ON= -Daudacity_use_vamp:STRING=system |
135 |
VAMP_CMAKE_OFF= -Daudacity_use_vamp:STRING=off |
134 |
VAMP_CMAKE_OFF= -Daudacity_use_vamp:STRING=off |
136 |
VAMP_LIB_DEPENDS= libvamp-hostsdk.so:audio/vamp-plugin-sdk |
|
|
137 |
|
135 |
|
138 |
VORBIS_CMAKE_ON= -Daudacity_use_libvorbis:STRING=system |
|
|
139 |
VORBIS_CMAKE_OFF= -Daudacity_use_libvorbis:STRING=off |
140 |
VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ |
136 |
VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ |
141 |
libvorbis.so:audio/libvorbis |
137 |
libvorbis.so:audio/libvorbis |
|
|
138 |
VORBIS_CMAKE_ON= -Daudacity_use_libvorbis:STRING=system |
139 |
VORBIS_CMAKE_OFF= -Daudacity_use_libvorbis:STRING=off |
142 |
|
140 |
|
143 |
VST_CMAKE_BOOL= audacity_use_vst |
141 |
VST_CMAKE_BOOL= audacity_use_vst |
144 |
|
142 |
|