File cubeb-wrap-internal-cargo.patch of Package nodejs-signal-ringrtc
Build this triply-nested mess with proper optflags and print build log to stderr
--- vendor/ringrtc/rust/vendor/cubeb-sys/libcubeb/CMakeLists.txt.orig 2025-02-27 06:45:52.509779879 +0100
+++ vendor/ringrtc/rust/vendor/cubeb-sys/libcubeb/CMakeLists.txt 2025-02-27 07:05:25.004411310 +0100
@@ -344,11 +344,10 @@ if(USE_PULSE AND USE_PULSE_RUST)
cubeb_pulse_rs
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
- BUILD_COMMAND cargo build --features=gecko-in-tree "$<IF:$<CONFIG:Release,RelWithDebInfo,MinSizeRel>,--release,>"
+ BUILD_COMMAND /home/abuild/rpmbuild/BUILD/cargo-wrapper
BUILD_ALWAYS ON
BINARY_DIR "${PROJECT_SOURCE_DIR}/src/cubeb-pulse-rs"
INSTALL_COMMAND ""
- LOG_BUILD ON
LOG_OUTPUT_ON_FAILURE ON)
add_dependencies(cubeb cubeb_pulse_rs)
target_compile_definitions(cubeb PRIVATE USE_PULSE_RUST)