Add CMake Apps module recipe 11/17411/5
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 23 Oct 2018 12:22:26 +0000 (14:22 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 Oct 2018 14:24:23 +0000 (14:24 +0000)
Adds the cmake-apps-module in the SDK and the normal Yocto
builds.

Bug-AGL: SPEC-1682

Change-Id: Ib8b83dd9664a1566318eb0a140e043c5d82510ce
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
meta-agl-profile-core/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb [new file with mode: 0644]
meta-agl-profile-core/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend
meta-app-framework/classes/aglwgt.bbclass

diff --git a/meta-agl-profile-core/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb b/meta-agl-profile-core/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb
new file mode 100644 (file)
index 0000000..0a2a645
--- /dev/null
@@ -0,0 +1,22 @@
+SUMMARY = "CMake module to ease development of apps"
+DESCRIPTION = "This is a migration of former app-templates git submodule which let you \
+ease the development of apps and widget building."
+HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+SECTION = "apps"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/cmake-apps-module;protocol=https;branch=${AGL_BRANCH}"
+SRCREV = "2beffef345c6bf96078aae711d78dec973a93ef6"
+
+PV = "${AGL_BRANCH}+git${SRCPV}"
+S  = "${WORKDIR}/git"
+
+inherit nativesdk cmake
+
+FILES_${PN}_append = " ${datadir}/*/Modules/CMakeAfbTemplates.cmake \
+       ${datadir}/*/Modules/CMakeAfbTemplates/* \
+       "
+
+BBCLASSEXTEND = "native nativesdk"
+
index 8a2c351..46a27c1 100644 (file)
@@ -15,6 +15,9 @@ DEPENDS_append = " af-main-native"
 # for bindings  af-binder is required.
 DEPENDS_append = " af-binder"
 
+# for bindings  that use the cmake-apps-module
+DEPENDS_append = " cmake-apps-module-native"
+
 # for hal bindings genskel is required.
 DEPENDS_append = " af-binder-devtools-native"