From c6b628c7646f292217f42cdc1e85ac7acdcd2fe9 Mon Sep 17 00:00:00 2001
From: Philippe Coval <philippe.coval@huawei.com>
Date: Thu, 30 Sep 2021 18:25:43 +0200
Subject: [PATCH] vending-machine-ui-application: Introduce UI app recipe

Relate-to: https://git.ostc-eu.org/OSTC/planning/core-os/-/issues/233
Forwarded: https://git.ostc-eu.org/distro/oniro/-/merge_requests/354
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
---
 .../vending-machine-ui-application_git.bb     | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-ui-application_git.bb

diff --git a/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-ui-application_git.bb b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-ui-application_git.bb
new file mode 100644
index 00000000..48138f16
--- /dev/null
+++ b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-ui-application_git.bb
@@ -0,0 +1,26 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+HOMEPAGE = "https://git.ostc-eu.org/distro/components/vending-machine-ui-application"
+SUMMARY = "Vending Machine UI Application"
+DESCRIPTION = "Vending machine front end client, it's a native GUI made with LVGL"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ba963850f6731c74878fe839d227e675"
+
+SRC_URI = "git://git.ostc-eu.org/distro/components/${BPN};protocol=https;branch=main;"
+SRCREV = "f9b9a709a299782f6f3accc7af8c743057294f95"
+S = "${WORKDIR}/git"
+
+DEPENDS= "json-c libwebsockets lv-drivers lv-lib-png lvgl"
+
+inherit pkgconfig features_check
+
+REQUIRED_DISTRO_FEATURES = "wayland"
+
+EXTRA_OEMAKE += "DESTDIR=${D}"
+EXTRA_OEMAKE += "sysroot=${RECIPE_SYSROOT}"
+
+do_install() {
+    oe_runmake install
+}
-- 
GitLab