Package Details: audacity-git 4.0.0.alpha.1.r4143.g5ac5665-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 (Audacity 4 development branch)
Upstream URL: https://github.com/audacity/audacity
Keywords: audio editor
Licenses: GPL-3.0-or-later
Groups: pro-audio
Conflicts: audacity
Provides: audacity, lv2-host, vst3-host
Submitter: proudzhu
Maintainer: kryksyh
Last Packager: kryksyh
Votes: 17
Popularity: 0.75
First Submitted: 2015-11-02 16:13 (UTC)
Last Updated: 2026-11-05 11:18 (UTC)

Required by (128)

Sources (3)

Latest Comments

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

kryksyh commented on 2026-11-05 11:24 (UTC)

Thanks everyone!

I fixed most issues upstream and updated the pkgbuild.

@FabioLolix I'm a bit confused about pkgver and pkgrel for -git PKGBUILDs. Should the version be set to the current master hash at the moment, and should pkgrel always stay at 1?

DarkMind commented on 2026-11-04 16:01 (UTC)

thx

kinker31 commented on 2026-11-03 21:54 (UTC)

Though the PKGBUILD in its current state isn't building the package properly, changing build() to the following makes it work properly:

build() {
    cd "$srcdir/$_pkgname"
    PKG_CONFIG_id3tag_INCLUDEDIR=/usr/include \
    PKG_CONFIG_id3tag_LIBDIR=/usr/lib \
    PKG_CONFIG_id3tag_LIBS="-lid3tag -lz" \
    cmake \
        -G Ninja \
        -S . \
        -B build \
        -D CMAKE_BUILD_TYPE=Release \
        -D CMAKE_INSTALL_PREFIX=/usr \
        -D EXTDEPS_OVERRIDE_ALL=SYSTEM \
        -D EXTDEPS_OVERRIDE_LIBID3TAG=REBUILD \
        -D WX_CONFIG=/usr/bin/wx-config \
        -D MUSE_ENABLE_UNIT_TESTS=OFF \
        -D MUSE_MODULE_DIAGNOSTICS_CRASHPAD_CLIENT=OFF \
        -D MUSE_MODULE_UPDATE=OFF \
        -D AU4_BUILD_MODE=release \
        -D AU_BUILD_USAGEINFO_MODULE=OFF
    cmake --build build
}

knyl commented on 2026-10-29 13:55 (UTC) (edited on 2026-10-29 13:58 (UTC) by knyl)

Thanks for the update, kryksyh! I looked into the libid3tag failure FabioLolix reported.

Cause: the new muse_deps libid3tag recipe sets DEP_LIBS libid3tag. In SYSTEM mode that becomes find_library(NAMES libid3tag), which CMake expands to liblibid3tag.so, so Arch's /usr/lib/libid3tag.so is never found, even with libid3tag installed.

Since you also maintain muse_deps, I opened a PR there with a proposed fix: PR #56

Until that lands in the Audacity submodule, this works for the PKGBUILD:

  • add libid3tag to depends
  • add -D libid3tag_LIB_libid3tag=/usr/lib/libid3tag.so to the cmake call (pre-seeds the cache var so the broken lookup is skipped)

With these changes 4.0.0.alpha.1.r4055.g88d840a configures and builds fine here. Arch's libid3tag 0.16.4 lacks the ID3v2.3 extension from Audacity's fork, but that's behind #ifdef, so exports just fall back to ID3v2.4.

FabioLolix commented on 2026-10-26 20:31 (UTC)

Hi, the current pkgver= is manually edited (don't do that) and not the result of pkgver(), r0 is also lower then builded version so no one have rebuilded when you bumped pkgrel=


  • git described is missing --abbrev=7
  • please add cmake option -Wno-author

Fails to build in clean chroot

CMake Error at muse_deps/buildtools/resolve.cmake:176 (message):
  [libid3tag] system header 'id3tag.h' not found (USE_SYSTEM)
Call Stack (most recent call first):
  muse_deps/buildtools/resolve.cmake:477 (_extdeps_resolve_system)
  muse_deps/buildtools/manifest.cmake:109 (extdeps_resolve)
  muse_deps/buildtools/manifest.cmake:177 (_extdeps_run)
  buildscripts/cmake/DependencyManifest.cmake:27 (require_dep)
  buildscripts/cmake/SetupDependencies.cmake:15 (include)
  CMakeLists.txt:198 (include)


-- Configuring incomplete, errors occurred!

but if you add libid3tag there is another error:

CMake Error at muse_deps/buildtools/resolve.cmake:165 (message):
  [libid3tag] system lib 'libid3tag' not found (USE_SYSTEM)
Call Stack (most recent call first):
  muse_deps/buildtools/resolve.cmake:187 (_extdeps_find_system_libs)
  muse_deps/buildtools/resolve.cmake:477 (_extdeps_resolve_system)
  muse_deps/buildtools/manifest.cmake:109 (extdeps_resolve)
  muse_deps/buildtools/manifest.cmake:177 (_extdeps_run)
  buildscripts/cmake/DependencyManifest.cmake:27 (require_dep)
  buildscripts/cmake/SetupDependencies.cmake:15 (include)
  CMakeLists.txt:198 (include)


-- Configuring incomplete, errors occurred!

kryksyh commented on 2026-10-25 14:02 (UTC)

somepaulo, knyl, thank you! I updated the PKGBUILD.

somepaulo commented on 2026-10-13 21:41 (UTC)

This currently fails to build.

It does build with a few changes to the PKGBUILD.
Arch’s wxwidgets-common package omits the configuration headers, including wx/setup.h. Counterintuitively, the wxwidgets-gtk3 package supplies this header under /usr/lib/wx/include/gtk3-unicode-3.2/wx/setup.h. Changing wxwidgets-common to wxwidgets-gtk3 and modifying the call -D WX_CONFIG=/usr/bin/wx-config-base \ to -D WX_CONFIG=/usr/bin/wx-config \ fixes this part.

Further down the line there's a unity-build collision in Muse Framework. Unity builds combine several .cpp files into one compilation unit. Muse uses namespace muse::extensions, and it affects Qt’s generated QML code, making its unqualified Type ambiguous.

Disabling unity compilation for this particular target fixes this part. Placing

sed -i \
  's/^muse_create_qml_module(muse_extensions_qml ALIAS /muse_create_qml_module(muse_extensions_qml NO_UNITY ALIAS /' \
  muse/framework/extensions/qml/Muse/Extensions/CMakeLists.txt

at the end of the prepare() section fixes this bit, and the package then builds successfully.

knyl commented on 2026-10-13 12:25 (UTC) (edited on 2026-10-13 12:28 (UTC) by knyl)

Hi everyone, tried building this today on current Arch and ran into two issues. Both reproduce with extra/wxwidgets-common 3.2.12-1 and extra/qt6-declarative 6.12.0-1 and I tried finding out what's going on.

- wx/setup.h not found

The PKGBUILD passes -D WX_CONFIG=/usr/bin/wx-config-base. That script points to /usr/lib/wx/include/base-unicode-3.2, but I couldn't find an Arch package that actually ships that dir (wxwidgets-common only has the config script, no matching setup.h). So the build dies right at the first au3-strings object:

/usr/include/wx-3.2/wx/platform.h:159:10: fatal error: wx/setup.h: No such file or directory

Since au3-theme and crashreporter link wxwidgets::wxwidgets (GUI) anyway, switching to the gtk3 config fixes it:

  • -D WX_CONFIG=/usr/bin/wx-config
  • in depends: wxwidgets-common → wxwidgets-gtk3

(Probably the same thing hydranix ran into the other day .)

- Ambiguous Type with Qt 6.12 + unity build

The generated qmlcache code for ExtensionErrorMessage.qml has an expectedLookupSignatures() function that does a local using namespace QQmlPrivate::AOTLookupValidation; and then uses plain Type{...}. In the unity batch for muse_extensions_qml this file comes after devextensionslistmodel.cpp, apidumpmodel.cpp, extensionbuilder.cpp, extensionslistmodel.cpp and extensionstoolbarmodel.cpp, which all have a file-scope using namespace muse::extensions;. With both namespaces pulled in, GCC can't decide which Type is meant:

.rcc/qmlcache/muse_extensions_qml_ExtensionErrorMessage_qml.cpp:27:19:
error: reference to 'Type' is ambiguous
  candidate 1: enum class muse::extensions::Type   (extensions/extensionstypes.h:62)
  candidate 2: struct QQmlPrivate::AOTLookupValidation::Type

Quick workaround for the PKGBUILD:

-D MUSE_COMPILE_USE_UNITY=OFF

Builds take plenty longer that way, but it goes through. Upstream it might be enough to set SKIP_UNITY_BUILD_INCLUSION on the generated .rcc/qmlcache sources so the rest keeps unity batching (not tested by nme).

With both changes the package builds and installs fine here with a5b307c)). Thanks for your work, loving the new version!+

kryksyh commented on 2026-09-13 21:11 (UTC)

This package was updated, and you should be able to build the latest version of Audacity4.

Audacity3 was moved to audacity3-git package.

Please let me know if anything is still off.

kryksyh commented on 2026-09-13 21:09 (UTC)

gbin, hydranix, thank you! The package was updated. Also, I pushed the same update to audacity-git package. This package will be discontinued.