...
| Code Block |
|---|
| language | shell |
|---|
| title | Native Rialto build |
|---|
|
cmake . -B build -DNATIVE_BUILD=ON -DRIALTO_BUILD_TYPE="Debug"
make -C build |
Rialto-Gstreamer
...
Dependencies
First, install dependencies:
| Code Block |
|---|
| language | shell |
|---|
| title | Rialto Gstreamer dependencies |
|---|
|
sudo apt-get install libunwind-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio |
Unit Tests, Clang-format, Cpplint, Cppcheck
Running those commands is the same as for Rialto.
To build UTs, Rialto dependencies are required. If you modified the Rialto public interface, you have to specify the Rialto branch with -b option:
| Code Block |
|---|
| language | shell |
|---|
| title | Running Gstreamer UTs with custom Rialto branch |
|---|
|
python build_ut.py -b RIALTO_BRANCH_NAME |
If you run UTs in your rialto-gstreamer directory earlier, before this step you probably need to remove the outdated headers:
| Code Block |
|---|
| language | shell |
|---|
| title | Remove outdated Rialto headers |
|---|
|
rm -rf tests/third-party/include/* |
Rialto-Ocdm
tbd