libcec: rename libcec-tools to libcec-examples

Those are really not general-usage tools, just examples of the API usage.
Let's use a more explicit package name.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yann Dirson 2020-09-09 10:45:39 +02:00 committed by Khem Raj
parent 52fbd36e62
commit e59b461d19

View File

@ -24,10 +24,10 @@ inherit cmake pkgconfig
PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0"
EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
# Put client tools into a separate package
PACKAGE_BEFORE_PN += "${PN}-tools"
FILES_${PN}-tools = "${bindir}"
RDEPENDS_${PN}-tools = "python3-${BPN} python3-core"
# Put client examples into a separate package
PACKAGE_BEFORE_PN += "${PN}-examples"
FILES_${PN}-examples = "${bindir}"
RDEPENDS_${PN}-examples = "python3-${BPN} python3-core"
# Create the wrapper for python3
PACKAGES += "python3-${BPN}"