Add afb-helpers & controller libraries 75/19375/3
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 27 Dec 2018 17:00:48 +0000 (17:00 +0000)
committerJosé Bollo <jose.bollo@iot.bzh>
Wed, 2 Jan 2019 08:51:39 +0000 (08:51 +0000)
Add the latest controller & afb-helpers libraries with a separated
Qt library to avoid dependency problem on AGL image without Qt support

Bug-AGL: SPEC-1689

Change-Id: I69d79b35a8dae0749f1947c641f28342c97d461b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
meta-agl-profile-core/recipes-devtools/libafb-helpers/libafb-helpers_git.bb [new file with mode: 0644]
meta-agl-profile-core/recipes-devtools/libafb-helpers/libafb-helpers_git.inc [new file with mode: 0644]
meta-agl-profile-core/recipes-devtools/libappcontroller/libappcontroller_git.bb [new file with mode: 0644]
meta-agl-profile-graphical-qt5/recipes-devtools/libafb-helpers-qt/libafb-helpers-qt_git.bb [new file with mode: 0644]

diff --git a/meta-agl-profile-core/recipes-devtools/libafb-helpers/libafb-helpers_git.bb b/meta-agl-profile-core/recipes-devtools/libafb-helpers/libafb-helpers_git.bb
new file mode 100644 (file)
index 0000000..1174ac4
--- /dev/null
@@ -0,0 +1,8 @@
+require libafb-helpers_git.inc
+
+inherit cmake
+
+RDEPENDS_${PN}_append = " af-binder"
+
+ALLOW_EMPTY_${PN} = "1"
+
diff --git a/meta-agl-profile-core/recipes-devtools/libafb-helpers/libafb-helpers_git.inc b/meta-agl-profile-core/recipes-devtools/libafb-helpers/libafb-helpers_git.inc
new file mode 100644 (file)
index 0000000..d3c883e
--- /dev/null
@@ -0,0 +1,14 @@
+SUMMARY = "AFB helpers library"
+DESCRIPTION = "AFB helpers library to ease JSON object manipulation and binding interaction"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/libafb-helpers;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "f430407fd34ec2897359245a6e1ff951e5da5bc6"
+
+PV = "${AGLVERSION}"
+S  = "${WORKDIR}/git"
+
+DEPENDS_append = " af-binder"
+
diff --git a/meta-agl-profile-core/recipes-devtools/libappcontroller/libappcontroller_git.bb b/meta-agl-profile-core/recipes-devtools/libappcontroller/libappcontroller_git.bb
new file mode 100644 (file)
index 0000000..dac1640
--- /dev/null
@@ -0,0 +1,19 @@
+SUMMARY = "Controller library for an Application Framework"
+DESCRIPTION = "Controller library to be used to easily create a binding for AGL App Framework"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/libappcontroller;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "565e5a7fac5db9a35fd0b2cb8e12f1bdf4772821"
+
+PV = "${AGLVERSION}"
+S  = "${WORKDIR}/git"
+
+DEPENDS_append = " af-binder libafb-helpers lua"
+RDEPENDS_${PN}_append = " af-binder lua"
+
+inherit cmake
+
+ALLOW_EMPTY_${PN} = "1"
+
diff --git a/meta-agl-profile-graphical-qt5/recipes-devtools/libafb-helpers-qt/libafb-helpers-qt_git.bb b/meta-agl-profile-graphical-qt5/recipes-devtools/libafb-helpers-qt/libafb-helpers-qt_git.bb
new file mode 100644 (file)
index 0000000..802167b
--- /dev/null
@@ -0,0 +1,11 @@
+require recipes-devtools/libafb-helpers/libafb-helpers_git.inc
+
+DEPENDS_append = " qtwebsockets"
+RDEPENDS_${PN}_append = " af-binder"
+
+inherit cmake_qt5
+
+EXTRA_OECMAKE_append = " -DAFB_HELPERS_QT=ON -DAFB_HELPERS=OFF"
+
+ALLOW_EMPTY_${PN} = "1"
+