From 067dace0f08268770f1001947fda9af10ef02bd6 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 23 Oct 2018 14:22:26 +0200 Subject: Add CMake Apps module recipe 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 --- .../cmake-apps-module/cmake-apps-module_git.bb | 22 ++++++++++++++++++++++ .../nativesdk-packagegroup-sdk-host.bbappend | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 meta-agl-profile-core/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb (limited to 'meta-agl-profile-core/recipes-devtools') 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 index 000000000..0a2a6452a --- /dev/null +++ b/meta-agl-profile-core/recipes-devtools/cmake-apps-module/cmake-apps-module_git.bb @@ -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" + diff --git a/meta-agl-profile-core/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/meta-agl-profile-core/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend index 504a019b4..a6c709342 100644 --- a/meta-agl-profile-core/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend +++ b/meta-agl-profile-core/recipes-devtools/packagegroups/nativesdk-packagegroup-sdk-host.bbappend @@ -1 +1,3 @@ -RDEPENDS_${PN} += "nativesdk-low-level-can-generator" +RDEPENDS_${PN} += "nativesdk-low-level-can-generator \ + nativesdk-cmake-apps-module \ +" -- cgit 1.2.3-korg