ssr
ssr copied to clipboard
Can't build anymore under Ubuntu Unity 22.04...
Hi,
I always build from latest source code from github, by the way, today, trying to build after git pull the latest changes, break the build process...
It look like the build across the « libpipewire » broken the build when this library is not installed/available :
Here is the relevant error :
-- Checking for module 'libpipewire-0.3'
-- No package 'libpipewire-0.3' found
CMake Error at /usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find PipeWire (missing: PIPEWIRE_LIBRARY PIPEWIRE_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
cmake/FindPipeWire.cmake:10 (find_package_handle_standard_args)
src/CMakeLists.txt:16 (find_package)
-- Configuring incomplete, errors occurred!
cd obj-x86_64-linux-gnu && tail -v -n \+0 CMakeCache.txt
Maybe, a check is needed to build across « libpulse » if we try to build under a distribution that is not already migrated to « pipewire » ?
Does it make sense ?
Last time I successfully build from github source code (commit gc092f3e), it was linked (autodetected ?) across « libpulse », not « libpipewire » :
oem@oem-ThinkPad-P15-Gen-1:~/tmp/Building/ssr/simplescreenrecorder-0.4.4-27$ ldd /usr/bin/simplescreenrecorder | grep -i "pulse\|pipewire"
libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007996dbbab000)
libpulsecommon-15.99.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so (0x00007996d6901000)
oem@oem-ThinkPad-P15-Gen-1:~/tmp/Building/ssr/simplescreenrecorder-0.4.4-27$ ll /srv/local-apt-repository/*simple*
16540 -rw-r--r-- 1 oem oem 32456 2023-08-31 15:02:10.811433981 +0200 /srv/local-apt-repository/simplescreenrecorder-lib_0.4.4-9-gc092f3e_amd64.deb
16539 -rw-r--r-- 1 oem oem 1407858 2023-08-31 15:02:11.799442637 +0200 /srv/local-apt-repository/simplescreenrecorder_0.4.4-9-gc092f3e_amd64.deb
oem@oem-ThinkPad-P15-Gen-1:~/tmp/Building/ssr/simplescreenrecorder-0.4.4-27$