Name: audacity Version: 3.7.0 Release: 2mamba Epoch: 1 Summary: A free multitrack audio editor Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.audacityteam.org/ Source: https://github.com/audacity/audacity.git/Audacity-%{version}/audacity-%{version}.tar.bz2 #Source: http://www.fosshub.com/Audacity.html/audacity-minsrc-%{version}.tar.xz #Source: http://sourceforge.net/projects/audacity/files/audacity-minsrc-%{version}.tar.xz #Source: http://www.fosshub.com/Audacity.html/audacity-minsrc-%{version}.tar.xz Source1: audacity-desktop Patch0: audacity-1.3.4-jack_default.patch Patch1: audacity-1.3.8-gsocket.patch Patch2: audacity-1.3.12-portmixer.patch Patch3: audacity-1.3.12-playback_underrun.patch Patch4: audacity-2.1.2-ffmpeg-3.0.patch Patch5: audacity-2.1.2-gcc-6.1.0.patch Patch6: audacity-2.4.2-x86-sse-build-fix.patch Patch7: audacity-3.0.2-gcc-11.1.0.patch Patch8: audacity-3.1.3-libmad-1.6.2.patch Patch9: audacity-3.1.3-wxWidgets-3.2.0.patch Patch10: audacity-3.1.3-wxWidgets-3.2.0-2.patch Patch11: audacity-3.4.0-upstream-fix-aarch64-build.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libalsa-devel BuildRequires: libat-spi2-core-devel BuildRequires: libatomic-devel BuildRequires: libcairo-devel BuildRequires: libexpat-devel BuildRequires: libflac-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libid3tag-devel BuildRequires: liblame-devel BuildRequires: liblilv-devel BuildRequires: libmpg123-devel BuildRequires: libogg-devel BuildRequires: libopus-devel BuildRequires: libopusfile-devel BuildRequires: libpango-devel BuildRequires: libportaudio-devel BuildRequires: libportmidi-devel BuildRequires: libserd-devel BuildRequires: libsndfile-devel BuildRequires: libsord-devel BuildRequires: libsoundtouch-devel BuildRequires: libsoxr-devel BuildRequires: libsqlite-devel BuildRequires: libsratom-devel BuildRequires: libstdc++6-devel BuildRequires: libsuil-devel BuildRequires: libtwolame-devel BuildRequires: libuuid-devel BuildRequires: libvamp-plugin-sdk-devel BuildRequires: libvorbis-devel BuildRequires: libwavpack-devel BuildRequires: libz-devel BuildRequires: wxwidgets-devel BuildRequires: wxwidgets-gtk3-devel ## AUTOBUILDREQ-END BuildRequires: libportmidi-devel >= 1:2.0.4-1mamba BuildRequires: libmad-devel >= 0:0.16.3-1mamba BuildRequires: librapidjson-devel BuildRequires: libwx_gtk3u-devel >= 0:3.2.0-1mamba BuildRequires: libsoundtouch-devel >= 1.9.2-1mamba BuildRequires: libwx_baseu-devel >= 3.1.5 BuildRequires: liblrdf-devel BuildRequires: libraptor-devel BuildRequires: librdf-devel BuildRequires: gettext-devel >= 0.14.1 BuildRequires: chrpath BuildRequires: conan BuildRequires: patchelf BuildRequires: vst3sdk Requires: liblame %description Audacity is a free multitrack audio editor. You can record sounds, play sounds, import and export WAV, AIFF, and MP3 files, and more. Use it to edit your sounds using Cut, Copy and Paste (with unlimited Undo), mix tracks together, or apply effects to your recordings. It also has a built-in amplitude envelope editor, a customizable spectrogram mode and a frequency analysis window for audio analysis applications. Built-in effects include Bass Boost, Wahwah, and Noise Removal, and it also supports VST plug-in effects. %debug_package # Ignore these libraries because they are internal-only and should never be exposed in the RPM database %global __requires_exclude ^lib-audio-devices.so|^lib-basic-ui.so|^lib-components.so|^lib-exceptions.so|^lib-ffmpeg-support.so|^lib-files.so|^lib-math.so|^lib-preferences.so|^lib-project-rate.so|^lib-project.so|^lib-registries.so|^lib-screen-geometry.so|^lib-string-utils.so|^lib-strings.so|^lib-theme.so|^lib-utility.so|^lib-uuid.so|^lib-xml.so %global __provides_exclude ^lib-audio-devices.so|^lib-basic-ui.so|^lib-components.so|^lib-exceptions.so|^lib-ffmpeg-support.so|^lib-files.so|^lib-math.so|^lib-preferences.so|^lib-project-rate.so|^lib-project.so|^lib-registries.so|^lib-screen-geometry.so|^lib-string-utils.so|^lib-strings.so|^lib-theme.so|^lib-utility.so|^lib-uuid.so|^lib-xml.so %prep %setup -q #-D -T #:<< _EOF %patch 7 -p1 #% patch 11 -p1 -b .upstream-fix-aarch64-build ## Disable check for wxWidget audacity fork #sed -i "s|NOT ours|0|" cmake-proxies/wxWidgets/CMakeLists.txt %build #:<< _EOF export VST3_SDK_DIR=%{_datadir}/vst3sdk %cmake -d build \ -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-config-unicode-3 \ -Daudacity_conan_enabled=Off \ -Daudacity_has_networking=Off \ -Daudacity_has_crashreports=Off \ -Daudacity_has_updates_check=Off \ -Daudacity_has_sentry_reporting=Off \ -Daudacity_lib_preference=system \ -Daudacity_obey_system_dependencies=On \ -Daudacity_use_wxwidgets=system \ -Daudacity_use_uuid=system \ -Daudacity_use_sqlite=system \ -Daudacity_use_libsndfile=system \ -Daudacity_use_soxr=system \ -Daudacity_use_lame=system \ -Daudacity_use_sndfile=system \ -Daudacity_use_twolame=system \ -Daudacity_use_libflac=system \ -Daudacity_use_ladspa=on \ -Daudacity_use_libvorbis=system \ -Daudacity_use_libid3tag=system \ -Daudacity_use_expat=system \ -Daudacity_use_soundtouch=system \ -Daudacity_use_vamp=system \ -Daudacity_use_lv2=system \ -Daudacity_use_portaudio=system \ -Daudacity_use_midi=system \ -Daudacity_use_libogg=system \ -Daudacity_use_portsmf=local \ -Daudacity_use_sbsms=local \ -Daudacity_use_ffmpeg=loaded %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build # remove internally installed wxwidgets libraries #rm -rf %{buildroot}%{_libdir}/audacity* #install -D -m 0755 %{SOURCE1} %{buildroot}%{_datadir}/applications/audacity.desktop # From Fedora: # Remove the RPATH from all the private libraries provided with Audacity and # make them all executable so that debug symbol extraction happens. # CMake could do this on its own using the install target for the library, # but the Audacity build system manually copies around the libraries so it # doesn't use the install target. This is very involved to fix in the code, # so this work around is easier and more maintainable than patching the build # system. pushd %{buildroot}%{_libdir}/%{name} for libFile in *; do if [[ ! -d $libFile ]]; then chrpath --delete $libFile chmod 755 $libFile fi done popd pushd %{buildroot}%{_libdir}/%{name}/modules for libFile in *; do if [[ ! -d $libFile ]]; then chrpath --delete $libFile chmod 755 $libFile fi done popd %find_lang %{name} # ? rm -f %{buildroot}/usr/audacity # Fix incorrect library search path in audacity binary and libraries patchelf --set-rpath '$ORIGIN/../%{_lib}/audacity' %{buildroot}%{_bindir}/audacity find %{buildroot}%{_libdir}/audacity -name '*.so' -print | while read -r line do patchelf --set-rpath '$ORIGIN' "$line" done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/audacity %dir %{_libdir}/audacity %{_libdir}/audacity/lib-*.so %dir %{_libdir}/audacity/modules %{_libdir}/audacity/modules/mod-*.so %{_datadir}/applications/audacity.desktop %{_datadir}/metainfo/audacity.appdata.xml %{_datadir}/mime/packages/audacity.xml %dir %{_datadir}/audacity/plug-ins %{_datadir}/audacity/plug-ins/*.ny %{_datadir}/audacity/nyquist/* %{_datadir}/audacity/EffectsMenuDefaults.xml %{_datadir}/icons/hicolor/*/audacity.png %{_datadir}/icons/hicolor/scalable/apps/audacity.svg %{_datadir}/pixmaps/audacity*.xpm %{_datadir}/pixmaps/gnome-mime-application-x-audacity-project.xpm %{_datadir}/doc/audacity/* %{_mandir}/man1/* %changelog * Sat Nov 16 2024 Automatic Build System 3.7.0-2mamba - rebuilt by autoport with build requirements: libportmidi-devel>=1:2.0.4-1mamba * Thu Oct 31 2024 Automatic Build System 3.7.0-1mamba - automatic version update by autodist * Fri Sep 20 2024 Automatic Build System 3.6.4-1mamba - automatic version update by autodist * Mon Sep 09 2024 Automatic Build System 3.6.3-1mamba - automatic version update by autodist * Wed Sep 04 2024 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Mon Jul 22 2024 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Tue Jul 16 2024 Automatic Build System 3.6.0-1mamba - automatic version update by autodist * Wed Apr 24 2024 Automatic Build System 3.5.1-1mamba - automatic version update by autodist * Tue Apr 23 2024 Automatic Build System 3.5.0-1mamba - automatic version update by autodist * Thu Nov 16 2023 Automatic Build System 3.4.2-1mamba - automatic version update by autodist * Sat Nov 11 2023 Automatic Build System 3.4.1-1mamba - automatic version update by autodist * Fri Nov 03 2023 Automatic Build System 3.4.0-1mamba - automatic version update by autodist * Fri Jun 09 2023 Automatic Build System 3.3.3-1mamba - automatic version update by autodist * Sat May 06 2023 Automatic Build System 3.3.2-1mamba - automatic version update by autodist * Fri Apr 28 2023 Automatic Build System 3.3.1-1mamba - automatic version update by autodist * Tue Apr 25 2023 Automatic Build System 3.3.0-1mamba - automatic version update by autodist * Thu Mar 02 2023 Automatic Build System 3.2.5-1mamba - automatic version update by autodist * Sat Jan 28 2023 Automatic Build System 3.2.4-1mamba - automatic version update by autodist * Mon Jan 09 2023 Automatic Build System 3.2.3-1mamba - automatic version update by autodist * Wed Sep 28 2022 Silvan Calarco 3.1.3-5mamba - rebuilt by autoport with build requirements: libmad-devel>=0:0.16.3-1mamba * Mon Aug 22 2022 Silvan Calarco 3.1.3-4mamba - rebuilt by autoport with build requirements: libwx_gtk3u-devel>=0:3.2.0-1mamba * Sat Jun 18 2022 Silvan Calarco 3.1.3-3mamba - use pathelf to fix library search path of audacity binaries and libraries (see https://github.com/audacity/audacity/issues/2165) - don't provide internal libraries * Tue Jun 14 2022 Silvan Calarco 3.1.3-2mamba - fix missing internal libraries; added more configuration options * Fri Dec 31 2021 Automatic Build System 3.1.3-1mamba - automatic version update by autodist * Mon Nov 22 2021 Automatic Build System 3.1.2-1mamba - automatic version update by autodist * Sat Jul 10 2021 Silvan Calarco 3.0.2-2mamba - rebuilt with official wxWidgets 3.1.5 * Tue Apr 20 2021 Automatic Build System 3.0.2-1mamba - automatic version update by autodist * Sun Mar 21 2021 Automatic Build System 3.0.0-1mamba - automatic version update by autodist * Sun Jun 28 2020 Automatic Build System 2.4.2-1mamba - automatic version update by autodist * Thu May 21 2020 Automatic Build System 2.4.1-1mamba - automatic version update by autodist * Mon May 18 2020 Silvan Calarco 2.4.0-2mamba - rebuilt with required wx 3.1 version * Sun May 17 2020 Automatic Build System 2.4.0-1mamba - automatic version update by autodist * Fri Nov 22 2019 Silvan Calarco 2.3.3-1mamba - update to 2.3.3 * Tue May 14 2019 Automatic Build System 2.3.2-1mamba - automatic version update by autodist * Mon Mar 11 2019 Automatic Build System 2.3.1-1mamba - automatic version update by autodist * Sat Nov 24 2018 Silvan Calarco 2.3.0-2mamba - rebuilt * Wed Oct 03 2018 Automatic Build System 2.3.0-1mamba - automatic version update by autodist * Thu Feb 22 2018 Automatic Build System 2.2.2-1mamba - automatic version update by autodist * Wed Dec 20 2017 Automatic Build System 2.2.1-1mamba - automatic version update by autodist * Thu Dec 07 2017 Silvan Calarco 2.2.0-1mamba - update to 2.2.0 * Tue May 30 2017 Automatic Build System 2.1.3-1mamba - automatic version update by autodist * Mon Jun 13 2016 Silvan Calarco 2.1.2-2mamba - rebuilt by autoport with build requirements: libsoundtouch-devel>=1.9.2-1mamba * Sat Jan 23 2016 Silvan Calarco 2.1.2-1mamba - update to 2.1.2 * Sat Jan 23 2016 Silvan Calarco 2.1.2-1mamba - update to 2.1.2 * Sat Aug 08 2015 Silvan Calarco 2.1.1-1mamba - update to 2.1.1 * Wed Apr 15 2015 Automatic Build System 2.1.0-1mamba - automatic version update by autodist * Wed Oct 01 2014 Silvan Calarco 2.0.6-1mamba - update to 2.0.6 * Tue Oct 22 2013 Automatic Build System 2.0.5-1mamba - automatic version update by autodist * Sun Oct 20 2013 Automatic Build System 2.0.4-1mamba - automatic version update by autodist * Fri Jan 25 2013 Automatic Build System 2.0.3-1mamba - update to 2.0.3 * Fri Aug 24 2012 Automatic Build System 2.0.2-1mamba - automatic version update by autodist * Fri Jun 29 2012 Automatic Build System 2.0.1-1mamba - automatic version update by autodist * Wed Mar 14 2012 Silvan Calarco 2.0.0-2mamba - rebuilt after patching libportaudio with Pa_GetStreamHostApiType * Wed Mar 14 2012 Silvan Calarco 2.0.0-1mamba - update to 2.0.0 * Sat Aug 13 2011 Silvan Calarco 1.3.13-2mamba - remove requirement for libgail-gnome with is obsolete in gnome 3.0 * Fri Jun 24 2011 Silvan Calarco 1.3.13-1mamba - update to 1.3.13 * Sat Dec 04 2010 Silvan Calarco 1.3.12-2mamba - rebuilt with portmixer support (added patch) * Fri Nov 26 2010 Silvan Calarco 1.3.12-1mamba - update to 1.3.12 * Thu Oct 15 2009 Automatic Build System 1.3.9-1mamba - automatic update to 1.3.9 by autodist * Mon Aug 03 2009 Silvan Calarco 1.3.8-1mamba - update to 1.3.8 - use internal icon in desktop file * Thu Nov 13 2008 Silvan Calarco 1.3.6-1mamba - update to 1.3.6 * Sat Jun 21 2008 Silvan Calarco 1.3.5-1mamba - update to 1.3.5 * Mon Apr 07 2008 Silvan Calarco 1.3.4-3mamba - added portaudio patch to enable jack by default * Wed Feb 13 2008 Silvan Calarco 1.3.4-2mamba - added requirement for liblame (mp3 export function) * Mon Feb 11 2008 Silvan Calarco 1.3.4-1mamba - update to 1.3.4 * Sun Sep 30 2007 Silvan Calarco 1.3.3-2mamba - rebuilt against wxGTK 2.8 * Sat Jul 21 2007 Silvan Calarco 1.3.3-1mamba - update to 1.3.3 * Mon Dec 04 2006 Silvan Calarco 1.3.2-1qilnx - update to version 1.3.2 by autospec * Thu Nov 16 2006 Silvan Calarco 1.2.6-1qilnx - update to version 1.2.6 by autospec * Mon Feb 27 2006 Silvan Calarco 1.2.4b-1qilnx - update to version 1.2.4b by autospec - fixed KDE menu link * Tue Jun 14 2005 Silvan Calarco 1.3.0.cvs14062005-1qilnx - update to version 1.3.0.cvs14062005 by autospec * Tue Mar 29 2005 Silvan Calarco 1.2.3-1qilnx - update to version 1.2.3 by autospec * Mon Sep 20 2004 Silvan Calarco 1.2.2-2qilnx - fixed kde menu entry * Fri Sep 10 2004 Silvan Calarco 1.2.2-1qilnx - new version build * Sat Feb 07 2004 Silvan Calarco 1.0.2pre2-1qilnx - first build