Draft: Add libtgowt and libtgvoip dependencies built in 22.04
This PR is meant to get voice call dependencies into teleports. In contrast to !443 (closed) this MR builds the dependencies in a Ubuntu 22.04 container, because building all dependencies starting from the compilers in a 16.04 environment is a big hassle.
State
-
Build dependencies -
libtgowt: Is built as a static lib for all architectures. -
libtgvoip: Is built as a static lib for all architectures. -
tgcalls: Is built as a static lib for all architectures. -
CI: Requires this bug fix. Then it should work.
-
-
CMake -
All libraries above are being linked against teleports. -
Headers are exported and include directories set properly. -
Provide CMake config for libs and use find_package()
for them (this one is not required, but a clean up).
-
-
Test compatibility
Usage
Teleports CMake config has the include directories and libs linked already. So one can include headers, e.g.:
#include <tg_owt/call/call.h>
#include <tgvoip/TgVoip.h>
#include <tgcalls/Instance.h>
Best example for us probably is the Telegram Desktop Calls. That one has some lib_webrtc helper lib. No idea whether we need that one, too.
Heads-up
The libs are built in a Ubuntu 22.04 container. It remains to be tested whether this causes any kind of incompatibility issue.
Edited by Jonatan Hatakeyama Zeidler