Oh, thanks! Closed the request.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/soundux.git (read-only, click to copy) |
|---|---|
| Package Base: | soundux |
| Description: | A cross-platform soundboard - stable version |
| Upstream URL: | https://soundux.rocks |
| Keywords: | discord soundboard teamspeak |
| Licenses: | GPL3 |
| Submitter: | D3SOX |
| Maintainer: | D3SOX (Curve, Damgaldor, yobson) |
| Last Packager: | yobson |
| Votes: | 19 |
| Popularity: | 0.009654 |
| First Submitted: | 2020-12-22 20:14 (UTC) |
| Last Updated: | 2026-04-24 22:02 (UTC) |
Oh, thanks! Closed the request.
@Damgaldor No need for an orphan request you could have just asked first... You are now a co-maintainer. I don't use the program anymore that's why this was unmaintained for so long and Flatpak is recommended because it's more stable
Compatibility with CMake < 3.5 has been removed from CMake.
This is even though I have 4.0.3-dirty installed
fixes CMake Error at CMakeLists.txt:1 (cmake_minimum_required) and src/Soundux/src/helper/audio/linux/pipewire/pipewire.cpp:126:70: error: cannot convert 'std::__cxx11::basic_string<char>::iterator' to 'const char*'
diff --git a/PKGBUILD b/PKGBUILD
index c646b28..fc2f0fd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,7 @@ sha256sums=('017003fc96f49df30575975f3904c0d8a500e325a9d2bca8c3dc69fed0cab0a7')
prepare() {
echo "add_definitions(-Wno-deprecated)" >> "$srcdir/Soundux/CMakeLists.txt"
sed -i "/pthread.h/c\#include <pthread.h>\n#include <cstdint>" "$srcdir/Soundux/lib/guardpp/guard/include/core/linux/guard.hpp"
+ sed -i "/fancy.hpp/c\#include <fancy.hpp>\n#include <algorithm>" "$srcdir/Soundux/src/helper/audio/linux/pipewire/pipewire.cpp"
sed -i "/target_compile_options/c\add_definitions(-w)" "$srcdir/Soundux/src/ui/impl/webview/lib/webviewpp/CMakeLists.txt"
}
@@ -23,7 +24,7 @@ build() {
mkdir -p build
cd build
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
+ cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..
ninja
}
Fails with:[code] /home/jomazu787/soundux/src/Soundux/src/helper/audio/linux/pipewire/pipewire.cpp: In member function ‘void Soundux::Objects::PipeWire::onCoreInfo(const pw_core_info)’: /home/jomazu787/soundux/src/Soundux/src/helper/audio/linux/pipewire/pipewire.cpp:126:70: error: cannot convert ‘std::__cxx11::basic_string<char>::iterator’ to ‘const char’ 126 | formattedVersion.erase(std::remove(formattedVersion.begin(), formattedVersion.end(), '.'), | ~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-gnu’ may have been intended to silence earlier diagnostics cc1plus: note: unrecognized command-line option ‘-Wno-unused-lambda-capture’ may have been intended to silence earlier diagnostics[/code]
The PKGBUILD should be updated to depend on pulse-native-provider instead of pulseaudio; see https://gitlab.archlinux.org/archlinux/packaging/packages/pipewire/-/issues/10
same error as @ColonelThirtyTwo gcc (GCC) 13.2.1 20230801
@RichardPython Nope. c++ --version shows GCC 13.1.1 for me. I can build it on my laptop though, so maybe it's something with my environment, though I'm not sure what it could be.
@ColonelThirtyTwo Seems like they updated the package. I can sucessfully build it out of the box using gcc 13.1.1.
Are you using a different compiler ?