Open krt222 opened 6 months ago
just like the folks over at https://github.com/phandasm/waveform have done
Thank you for the information. I cannot promise I can make it soon as of now but https://github.com/flathub/com.obsproject.Studio.Plugin.waveform would help implement the flatpack package.
Btw, libebur128 is automatically chosen by cmake as below. So, if you just build from a source on a host without libebur128-devel, cmake will automatically choose a static-linked libebur128. https://github.com/norihiro/obs-loudness-dock/blob/eed76aec38d38a84fe6a332c1b528649927735d8/CMakeLists.txt#L31-L33 https://github.com/norihiro/obs-loudness-dock/blob/eed76aec38d38a84fe6a332c1b528649927735d8/CMakeLists.txt#L60-L62
I'm sorry for your trouble.
At its current form the plugin cannot be used with the flatpak version of OBS. This happens because of libebur128 being a dynamic dependency. The error reported in the OBS log file is "libebur128.so.1: cannot open shared object file: No such file or directory", something that is expected since flatpaks run mostly isolation from the rest of the system.
I can see two ways that this might be resolved: statically link libebur1280.so.1 in the resulting obs-loudness-dock.so file, or make a flatpak version of the plugin (just like the folks over at https://github.com/phandasm/waveform have done, since their plugin requires libfftw3).
I would like to ask for thoughts on this.
Thanks again!