[vbox-dev] Virtualbox detect script for videorec/opus libraries
jkim at FreeBSD.org
Tue Jul 17 19:13:36 UTC 2018
On 04/23/2018 11:02, Gianfranco Costamagna wrote:
> Hello, I crafted a patch to detect system libraries to enable again videorec when OSE is enabled and the system version
> of opus is found.
> MIT attached patch
It seems the patch was introduced in 5.2.16. Unfortunately, it broke
FreeBSD port. I found couple of problems from this change.
It must be "#include <opus.h>" because "pkg-config -cflags" says
Actually, src/VBox/Main/src-client/DrvAudioVideoRec.cpp does it, too.
We should check whether libopus is needed in the first place. I think
something like this should do:
[ $OSE -eq 0 -a "$OS" != "win" ] && check_libopus
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the vbox-dev