summaryrefslogtreecommitdiffstats
path: root/meta/recipes-webos/qml-webos-framework/qml-webos-framework.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-webos/qml-webos-framework/qml-webos-framework.bb')
-rw-r--r--meta/recipes-webos/qml-webos-framework/qml-webos-framework.bb55
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-webos/qml-webos-framework/qml-webos-framework.bb b/meta/recipes-webos/qml-webos-framework/qml-webos-framework.bb
new file mode 100644
index 0000000000..4fdbe50bda
--- /dev/null
+++ b/meta/recipes-webos/qml-webos-framework/qml-webos-framework.bb
@@ -0,0 +1,55 @@
+# Copyright (c) 2014-2018 LG Electronics, Inc.
+
+SUMMARY = "QML widgets and runtime framework for webOS apps"
+AUTHOR = "Mikko Levonmaa <mikko.levonmaa@lge.com>"
+SECTION = "webos/base"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
+
+DEPENDS = "qt-features-webos qtdeclarative qtwayland-webos pmloglib luna-service2"
+
+RPROVIDES_${PN}-examples = " \
+ eos.bare \
+ eos.widgetgallery \
+"
+
+WEBOS_VERSION = "1.0.0-1_6546141a61ef76a475bde19272fa0155302af307"
+PR = "r23"
+
+inherit webos_qmake5
+inherit webos_enhanced_submissions
+inherit webos_machine_dep
+inherit webos_app_generate_security_files
+inherit webos_filesystem_paths
+inherit webos_distro_variant_dep
+inherit webos_qmllint
+inherit webos_public_repo
+
+SRC_URI = "${WEBOSOSE_GIT_REPO_COMPLETE}"
+S = "${WORKDIR}/git"
+
+OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
+
+# upstart
+do_install_append () {
+ if [ "${DISTRO}" != "webos-wearable" ] && [ "${WEBOS_TARGET_DISTRO_VARIANT}" != "mini" ]; then
+ install -d ${D}${sysconfdir}/init
+ install -m 0644 ${S}/tools/booster/booster.upstart ${D}${sysconfdir}/init/booster.conf
+ fi
+}
+
+FILES_${PN} += "${OE_QMAKE_PATH_QML}/Eos/*"
+
+PACKAGES += "${PN}-examples"
+FILES_${PN}-examples += "${webos_applicationsdir}/*"
+
+# unit-tests
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests += "${datadir}/booster/tests/*"
+
+# we don't provide cmake tests
+EXTRA_QMAKEVARS_POST += "CONFIG-=create_cmake"
+
+# until pseudo is completely fixed
+# PLAT-48507 pseudo: random package_qa failures
+#INSANE_SKIP_${PN} += "host-user-contaminated"