Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Recipes

Rialto recipes are needed required to build Rialto project using Yocto. Three recipes are needed - rialto, rialto-gstreamer and rialto-ocdm:

...

Code Block
languagetext
titlerialto-gstreamer_git.bb
SUMMARY = "Rialto-gstreamer"
LICENSE = "CLOSED"
SRC_URI += "git://git@github.com/rdkcentral/rialto-gstreamer.git;protocol=ssh;branch=master"
SRCREV = "${AUTOREV}"

DEPENDS = "rialto gstreamer1.0 gstreamer1.0-plugins-base"

S = "${WORKDIR}/git"
inherit cmake
FILES_SOLIBSDEV = ""

FILES_${PN} += "${libdir}/gstreamer-1.0/libgstrialtosinks.so"

Code Block
languagetext
titlerialto-ocdm_git.bb
SUMMARY = "Rialto-ocdm"
LICENSE = "CLOSED"
SRC_URI += "git://git@github.com/rdkcentral/rialto-ocdm.git;protocol=ssh;branch=master"
SRCREV = "${AUTOREV}"

DEPENDS = "openssl jsoncpp glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base wpeframework-clientlibraries"

S = "${WORKDIR}/git"
inherit cmake
FILES_SOLIBSDEV = ""

FILES_${PN} += "${PKG_CONFIG_DIR}/*.pc"
FILES_${PN} += "${libdir}/libocdmRialto.so"

Rialto requires protobuf v. 3.7.0. To set it, following lines have to be added to auto.conf file:

Code Block
languagetext
titleauto.conf
PREFERRED_VERSION_protobuf = "3.7.0"
PREFERRED_VERSION_protobuf-native = "3.7.0"