Package Details: audacity-git 3.6.3.r257.g652bfea82-1

Git Clone URL: https://aur.archlinux.org/audacity-git.git (read-only, click to copy)
Package Base: audacity-git
Description: A program that lets you manipulate digital audio waveforms
Upstream URL: https://www.audacityteam.org/
Keywords: audio editor
Licenses: GPL2, CCPL
Groups: pro-audio
Conflicts: audacity
Provides: audacity, ladspa-host, lv2-host, vamp-host, vst-host, vst3-host
Submitter: proudzhu
Maintainer: ongyx
Last Packager: ongyx
Votes: 15
Popularity: 0.000000
First Submitted: 2015-11-02 16:13 (UTC)
Last Updated: 2024-09-10 16:47 (UTC)

Required by (130)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

ongyx commented on 2024-09-10 16:52 (UTC)

To the person who flagged this as out-of-date, please don't do so again as this is a VCS package. Use the comment section to report any issues with building the PKGBUILD, thanks!

In the meantime, I've cleaned up the PKGBUILD and added in options present in the binary PKGBUILD from extras/.

ongyx commented on 2023-11-20 13:55 (UTC)

@evorster Thanks for the heads up, I've updated the PKGBUILD with the new provides array.

evorster commented on 2023-11-14 09:13 (UTC) (edited on 2023-11-14 09:14 (UTC) by evorster)

Hi there! The system version of audacity provides a little more than just audacity, and when you want to replace it with the git version, it some packages complain. To fix that, change the provides section to:

provides=(
    audacity
    ladspa-host
    lv2-host
    vamp-host
    vst-host
    vst3-host
    )

suntchan1 commented on 2023-11-11 06:28 (UTC)

[ 44%] Generating LightThemeAsCeeCode.h...

(process:35750): GLib-GObject-CRITICAL **: 07:21:06.565: g_object_get: assertion 'G_IS_OBJECT (object)' failed free(): invalid pointer make[2]: *** [libraries/lib-theme-resources/CMakeFiles/lib-theme-resources.dir/build.make:678: /var/tmp/pamac-build-presence/audacity-git/src/audacity/libraries/lib-theme-resources/LightThemeAsCeeCode.h] Abandon make[1]: *** [CMakeFiles/Makefile2:2496: libraries/lib-theme-resources/CMakeFiles/lib-theme-resources.dir/all] Error 2 make[1]: *** Attente des tâches non terminées.... [ 44%] Linking CXX shared library ../../Release/lib/audacity/lib-shuttlegui.so [ 44%] Built target lib-shuttlegui make: *** [Makefile:156: all] Error 2 ==> ERREUR : Une erreur s’est produite dans build(). Abandon…

ongyx commented on 2023-09-12 15:51 (UTC)

I've added the new dependencies for Audacity and vst3sdk to the PKGBUILD. Apologies for the long delays as I've been pretty busy with IRL work.

FabioLolix commented on 2023-08-29 17:30 (UTC)

Also need rapidjson at least as makedepends

    PortAudio_LIBRARIES: /usr/lib/libportaudio.so
CMake Error at /build/audacity-git/src/build/find_package_include.cmake:17 (find_package):
  By not providing "FindRapidJSON.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "RapidJSON", but CMake did not find one.

  Could not find a package configuration file provided by "RapidJSON" with
  any of the following names:

    RapidJSONConfig.cmake
    rapidjson-config.cmake

Dylan14 commented on 2023-08-29 16:59 (UTC)

VST3_SDK_DIR needs to be changed to /usr/src/vst3sdk.

NotReallyEight commented on 2023-05-04 11:53 (UTC)

Hello, I was trying to install this, but I get the following error when compiling: CMake Error at cmake-proxies/cmake-modules/Findvst3sdk.cmake:56 (message): Failed to build VST3SDK Call Stack (most recent call first): /home/notreallyeight/.cache/yay/audacity-git/src/build/find_package_include.cmake:18 (find_package) cmake-proxies/cmake-modules/AudacityDependencies.cmake:217 (include) CMakeLists.txt:572 (include)

What could be the cause? All the needed dependencies are installed at least from what I can see from the required dependencies.

ongyx commented on 2022-10-30 16:25 (UTC)

@evorster Thanks for the suggestions, I've modified the PKGBUILD accordingly to build Audacity entirely against system libs. Turns out there was a audacity_conan_enabled CMake flag, so I set it to off and added the necessary dependencies.

evorster commented on 2022-08-27 04:12 (UTC) (edited on 2022-08-27 04:12 (UTC) by evorster)

Hi there! After some poking around, here are working build instructions:


prepare() {
mkdir -p build
}

build() {
 cd build
 cmake -G "Unix Makefiles" ../audacity \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -Daudacity_use_ffmpeg=loaded \
    -Daudacity_lib_preference=system \
    -Daudacity_has_vst3=Off \
    -Daudacity_use_wxwidgets=local \
    -Daudacity_obey_system_dependencies=On
  make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}


Warning

There are serious issues with the way that this builds, though. Firstly, it creates a .conan directory in your home directory where it builds wxWidgets 3.1.3

Then, it links against wxWidgets against gtk2, which needs to be installed in your system. At least there are GUI on the plugins. :)

Also, vst3sdk does not build with conan, and it does not detect system vst3sdk if installed, so vst3 plugins are disabled with this build.

If anyone knows how to build tell build scripts to build against wxWidgets installed in a custom location, then we can build against wxgtk3-dev-314-opt from AUR. (please post a comment here)

Long term I am chatting to the fine folk at Audacity to see if we can make the latest version of wxWidgets work properly in Audacity, and to detect system vst3sdk.