summaryrefslogtreecommitdiff
path: root/audio/audacity
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity')
-rw-r--r--audio/audacity/Makefile42
-rw-r--r--audio/audacity/distinfo10
-rw-r--r--audio/audacity/files/patch-cmake-proxies_cmake-modules_dependencies_rapidjson.cmake11
-rw-r--r--audio/audacity/files/patch-src_CMakeLists.txt18
-rw-r--r--audio/audacity/pkg-plist11
5 files changed, 64 insertions, 28 deletions
diff --git a/audio/audacity/Makefile b/audio/audacity/Makefile
index 7a23e1def995..cf9bd7f23e34 100644
--- a/audio/audacity/Makefile
+++ b/audio/audacity/Makefile
@@ -1,6 +1,6 @@
PORTNAME= audacity
DISTVERSIONPREFIX= Audacity-
-DISTVERSION= 3.7.3
+DISTVERSION= 3.7.5
CATEGORIES= audio
MASTER_SITES+= https://github.com/${PORTNAME}/${PORTNAME}-manual/releases/download/v${DISTVERSION}/:manual
DISTFILES+= ${PORTNAME}-manual-${DISTVERSION}.tar.gz:manual
@@ -13,10 +13,8 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= conan:sysutils/conan \
- rapidjson>0:devel/rapidjson \
- lv2>0:audio/lv2
-BUILD_DEPENDS_amd64= nasm:devel/nasm
-BUILD_DEPENDS_i386= nasm:devel/nasm
+ lv2>0:audio/lv2 \
+ rapidjson>0:devel/rapidjson
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libharfbuzz.so:print/harfbuzz \
liblilv-0.so:audio/lilv \
@@ -30,14 +28,14 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libsndfile.so:audio/libsndfile \
libsord-0.so:devel/sord \
libsoxr.so:audio/libsoxr \
- libsratom-0.so:audio/sratom \
libsqlite3.so:databases/sqlite3 \
+ libsratom-0.so:audio/sratom \
libsuil-0.so:audio/suil \
- libuuid.so:misc/e2fsprogs-libuuid \
+ libuuid.so:misc/libuuid \
libwavpack.so:audio/wavpack
-USES= cmake compiler:c++20-lang cpe desktop-file-utils gettext \
- gnome python:build pkgconfig shared-mime-info
+USES= cmake compiler:c++20-lang cpe desktop-file-utils \
+ gettext-runtime gnome python:build pkgconfig shared-mime-info
CPE_VENDOR= audacityteam
USE_GITHUB= yes
@@ -57,10 +55,10 @@ CMAKE_ARGS= -DAUDACITY_BUILD_LEVEL=2 \
-Daudacity_use_lv2:STRING=system \
-Daudacity_use_midi:STRING=system \
-Daudacity_use_nyquist:STRING=local \
+ -Daudacity_use_png:STRING=system \
-Daudacity_use_portaudio:STRING=system \
-Daudacity_use_portmixer:STRING=local \
-Daudacity_use_portsmf:STRING=local \
- -Daudacity_use_png:STRING=system \
-Daudacity_use_rapidjson:STRING=system \
-Daudacity_use_soxr:STRING=system \
-Daudacity_use_sqlite:STRING=system \
@@ -68,19 +66,20 @@ CMAKE_ARGS= -DAUDACITY_BUILD_LEVEL=2 \
-Daudacity_use_wxwidgets:STRING=system \
-Daudacity_use_zlib:STRING=system
-CMAKE_ON= audacity_bundle_gplv3 audacity_conan_allow_prebuilt_binaries audacity_obey_system_dependencies
-CMAKE_OFF= audacity_has_audiocom_upload audacity_conan_enabled audacity_conan_force_build_dependencies \
- audacity_has_crashreports audacity_has_networking audacity_has_updates_check audacity_has_url_schemes_support \
- audacity_has_tests audacity_has_vst3 audacity_perform_codesign audacity_use_pch
+CMAKE_ON= audacity_bundle_gplv3 audacity_conan_allow_prebuilt_binaries \
+ audacity_obey_system_dependencies
+CMAKE_OFF= audacity_conan_enabled audacity_conan_force_build_dependencies \
+ audacity_has_audiocom_upload audacity_has_crashreports \
+ audacity_has_networking audacity_has_tests \
+ audacity_has_updates_check audacity_has_url_schemes_support \
+ audacity_has_vst3 audacity_perform_codesign audacity_use_pch
-# TODO: fix NLS support properly
-PLIST_SUB+= NLS=""
PORTDOCS= README.md
-OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA MANUAL \
- OGG SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST
-OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA OGG SBSMS \
- SOUNDTOUCH TWOLAME VAMP VORBIS VST
+OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA MANUAL NLS OGG \
+ SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST
+OPTIONS_DEFAULT= FFMPEG FLAC ID3TAG LADSPA OGG SBSMS SOUNDTOUCH TWOLAME \
+ VAMP VORBIS VST
OPTIONS_EXCLUDE_i386= SBSMS
OPTIONS_SUB= yes
@@ -111,6 +110,9 @@ LADSPA_CMAKE_BOOL= audacity_use_ladspa
MANUAL_CMAKE_BOOL= audacity_package_manual
+NLS_USES= gettext-tools
+NLS_CMAKE_BOOL= audacity_locale
+
OGG_LIB_DEPENDS= libogg.so:audio/libogg
OGG_CMAKE_ON= -Daudacity_use_libogg:STRING=system
OGG_CMAKE_OFF= -Daudacity_use_libogg:STRING=off
diff --git a/audio/audacity/distinfo b/audio/audacity/distinfo
index db4101aa2027..d76881ab130d 100644
--- a/audio/audacity/distinfo
+++ b/audio/audacity/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1741926513
-SHA256 (audacity-manual-3.7.3.tar.gz) = 81c3f161cf025104994b79186dd5e985807b6212e0b27b40d03fe4eee3f2cf95
-SIZE (audacity-manual-3.7.3.tar.gz) = 26209190
-SHA256 (audacity-audacity-Audacity-3.7.3_GH0.tar.gz) = f5bfef1db18fab2c6a729da68f66779decc8cb0e2cc16111cd160b5e9f93577a
-SIZE (audacity-audacity-Audacity-3.7.3_GH0.tar.gz) = 61936865
+TIMESTAMP = 1754512004
+SHA256 (audacity-manual-3.7.5.tar.gz) = 5e1632dbd649418c25b3d52ae92c5e72395fd8276e209261c5f4981ab1168476
+SIZE (audacity-manual-3.7.5.tar.gz) = 26572320
+SHA256 (audacity-audacity-Audacity-3.7.5_GH0.tar.gz) = 2520d9ff2e8f7d69d62e033b167eb6c53d1db89e89876689545769a2f8ef72ac
+SIZE (audacity-audacity-Audacity-3.7.5_GH0.tar.gz) = 64123656
diff --git a/audio/audacity/files/patch-cmake-proxies_cmake-modules_dependencies_rapidjson.cmake b/audio/audacity/files/patch-cmake-proxies_cmake-modules_dependencies_rapidjson.cmake
new file mode 100644
index 000000000000..afd85ba6a828
--- /dev/null
+++ b/audio/audacity/files/patch-cmake-proxies_cmake-modules_dependencies_rapidjson.cmake
@@ -0,0 +1,11 @@
+--- cmake-proxies/cmake-modules/dependencies/rapidjson.cmake.orig 2025-06-10 12:52:05 UTC
++++ cmake-proxies/cmake-modules/dependencies/rapidjson.cmake
+@@ -3,7 +3,7 @@ if(NOT ${_OPT}use_rapidjson STREQUAL "off")
+ if(NOT ${_OPT}use_rapidjson STREQUAL "off")
+ if(NOT TARGET rapidjson::rapidjson)
+ if(TARGET rapidjson)
+- add_library( rapidjson::rapidjson ALIAS rapidjson )
++ add_library( rapidjson::rapidjson ALIAS RapidJSON )
+ else()
+ # At least on Arch RapidJSONConfig.cmake does not define a target at all
+ # so we have to do it ourselves
diff --git a/audio/audacity/files/patch-src_CMakeLists.txt b/audio/audacity/files/patch-src_CMakeLists.txt
new file mode 100644
index 000000000000..b154ab0c0c55
--- /dev/null
+++ b/audio/audacity/files/patch-src_CMakeLists.txt
@@ -0,0 +1,18 @@
+--- src/CMakeLists.txt.orig 2025-08-04 16:27:57 UTC
++++ src/CMakeLists.txt
+@@ -13,7 +13,15 @@ add_executable( ${TARGET} )
+ set( CMAKE_ENABLE_EXPORTS ON )
+
+ add_executable( ${TARGET} )
++# Handle locale option
++cmd_option(
++ ${_OPT}locale
++ "Native Language Support [on, off]"
++ ON
++)
++if( ${_OPT}locale )
+ add_dependencies( ${TARGET} locale )
++endif()
+ add_dependencies( ${TARGET} nyquist )
+ add_dependencies( ${TARGET} plug-ins )
+
diff --git a/audio/audacity/pkg-plist b/audio/audacity/pkg-plist
index 4ec9334c909e..a45cf5b1b412 100644
--- a/audio/audacity/pkg-plist
+++ b/audio/audacity/pkg-plist
@@ -389,6 +389,7 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/4/48/waveform_colorway_3_1_0.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/4/49/export_wav_3_4_0.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/4/49/extra_devicemenu.png
+%%MANUAL%%%%DATADIR%%/help/manual/m/images/4/49/front_page_3_7_3_78_numbered.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/4/49/glitch_repair_after.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/4/49/spectrogramview_11.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/4/49/uca202tolaptop.jpg
@@ -450,6 +451,7 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/5/57/status_bar_disc_space_remaining.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/5/58/multi_view_stereo_default_50_50.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/5/58/splitting_and_joining_stereo_tracks_04.png
+%%MANUAL%%%%DATADIR%%/help/manual/m/images/5/59/horizontal_scrollbar.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/5/59/spectraledit_01.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/5/59/toolstoolbarmulti.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/5/5a/regular_interval_labels_3_5_0.png
@@ -554,7 +556,6 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/7/74/editmenuclipboundaries_split_01.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/7/74/label_menu_delete_highlighted.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/7/74/mono_track_for_add_new.png
-%%MANUAL%%%%DATADIR%%/help/manual/m/images/7/75/manage_plugins_dialog_3_5_0.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/7/75/sltg_edits_15.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/7/75/sltg_stretching_2.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/7/76/audio_stereo_1_8_small.jpg
@@ -720,6 +721,7 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/a3/low_pass_filter_3_5_0.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/a3/splitting_and_joining_stereo_tracks_02.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/a4/compressor_parameters_smoothing_waveform_attack_1ms_%%CMAKE_BUILD_TYPE%%_10ms.png
+%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/a4/effect_menu_3_7_4.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/a5/message.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/a5/move_cursor_to_selection_end_post.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/a5/render_clip_speed.png
@@ -752,6 +754,7 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/ac/tutorial3labelsinplace.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/ad/compressor_parameters_smoothing_spectrum_lookahead.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/ad/ex2b_before.png
+%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/ad/manage_plugins_dialog_3_7_4.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/ad/samsongtrackconnections.jpg
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/ad/smartclip_03.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/a/ad/timeshift.png
@@ -884,7 +887,6 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/c/cb/wahwah_3_5_0.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/c/cc/labelregionmove1after_w10.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/c/cc/playback_meter_in_use_clipped_signal.png
-%%MANUAL%%%%DATADIR%%/help/manual/m/images/c/cd/front_page_3_6_0_78_numbered.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/c/cd/importrawdata.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/c/cd/preferences_shortcuts.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/c/cd/toolstoolbarsamples.png
@@ -916,6 +918,7 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/d/d4/pro_fade_out.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/d/d4/status_bar_disk_space_remaining_for_recording_3_6_0.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/d/d5/extra_transportmenu.png
+%%MANUAL%%%%DATADIR%%/help/manual/m/images/d/d5/get_effects_dialog_3_7_3.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/d/d5/loop_button.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/d/d5/savepresetmacdialog.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/d/d6/ex2c_before.png
@@ -959,11 +962,13 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e1/edit_labeled_audio_3_7_0.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e1/exportmultipleexample02.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e1/sltg_edits_11.png
+%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e2/vertical_scrollbar.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e2/waveform_digital.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e3/earbud_by_mic.jpg
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e3/ex1b_before.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e3/exponential_fade_in.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e3/select_region_menu_3_2_3.png
+%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e3/sharing_effects_toolbar_3_7_3.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e3/spectraleditnotch02.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e3/warning_save_empty_project.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/e4/clip_pitch_and_speed.png
@@ -1001,7 +1006,6 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/ef/appended_recording_in_beats_and_bars_mode.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/ef/clicky_example_waveform_view_click_labelled_and_zoomed_red_arrows.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/ef/connect_dots_stem_plot_examples.png
-%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/ef/effect_menu_3_6_2.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/ef/error_for_locked_configuration_files.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/ef/spectrogramview_05a.png
%%MANUAL%%%%DATADIR%%/help/manual/m/images/e/ef/spectrogramview_07.png
@@ -1353,6 +1357,7 @@ share/applications/audacity.desktop
%%MANUAL%%%%DATADIR%%/help/manual/man/saving.html
%%MANUAL%%%%DATADIR%%/help/manual/man/scripting.html
%%MANUAL%%%%DATADIR%%/help/manual/man/scripting_reference.html
+%%MANUAL%%%%DATADIR%%/help/manual/man/scrollbars.html
%%MANUAL%%%%DATADIR%%/help/manual/man/scrubbing_and_seeking.html
%%MANUAL%%%%DATADIR%%/help/manual/man/searching_the_manual.html
%%MANUAL%%%%DATADIR%%/help/manual/man/select_menu.html