TEMP console-bridge: Provide v0.4.2 for crystal, bionic v0.4.0 for melodic, bouncy

crystal console-bridge-vendor builds v0.4.1 if version is earlier, but
its console-bridge.pc has Version: 0.4.0 => fixed in v0.4.2 .

Eventually fix console-bridge-vendor.pc not to have a bad path and
revert this commit.
This commit is contained in:
Herb Kuta 2019-05-01 19:28:08 -07:00
parent 1971d963ae
commit 13a4cc1fe2
2 changed files with 29 additions and 0 deletions

View File

@ -4,3 +4,6 @@
# Set PREFERRED_VERSION_<PN> here for non-platform packages for which the layers provide multiple versions and to override those # Set PREFERRED_VERSION_<PN> here for non-platform packages for which the layers provide multiple versions and to override those
# set in ros-distro-platform-preferred-versions.inc . # set in ros-distro-platform-preferred-versions.inc .
# console-bridge-vendor expects this version (or it will build it itself):
PREFERRED_VERSION_console-bridge = "0.4.2"

View File

@ -0,0 +1,26 @@
DESCRIPTION = "console_bridge is a ROS-independent, pure CMake package that provides logging \
calls that mirror those found in rosconsole, but for applications that are not necessarily using \
ROS."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "\
file://include/console_bridge/console.h;beginline=1;endline=33;md5=279eed49072cc9f6ebe38974afcc4803 \
file://src/console.cpp;beginline=1;endline=33;md5=279eed49072cc9f6ebe38974afcc4803 \
"
DEPENDS = "boost"
ROS_BPN = "console_bridge"
ROS_SPN = "${ROS_BPN}"
ROS_SP = "${ROS_BPN}-${PV}"
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "12e9a6b876ef160fc4a705003790ede0"
SRC_URI[sha256sum] = "f44641bed7268d72354476c8c5ff936f0e600e4170e1ff7f61a4b6e1f3fc20ff"
S = "${WORKDIR}/${ROS_SP}"
inherit cmake
# For some reason, the cmake subdir is under ${libdir} instead of ${datadir} for this component.
FILES_${PN}-dev += "${libdir}/${ROS_BPN}/cmake"