From 0373c281cc051c60264428aaca190b6baf102d2a Mon Sep 17 00:00:00 2001
From: Philippe Coval <philippe.coval@huawei.com>
Date: Thu, 7 Oct 2021 15:41:30 +0200
Subject: [PATCH] vending-machine-control-application: Introduce control app
 recipe

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

diff --git a/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application_git.bb b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application_git.bb
new file mode 100644
index 00000000..cb69e775
--- /dev/null
+++ b/meta-oniro-blueprints/recipes-apps/vending-machine/vending-machine-control-application_git.bb
@@ -0,0 +1,23 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+HOMEPAGE = "https://git.ostc-eu.org/distro/components/vending-machine-control-application"
+SUMMARY = "Vending Machine control Application"
+DESCRIPTION = "Vending machine server for UI app to control IO"
+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 = "e21c34cdd9b554978a80699f44fe35077b0dbb90"
+S = "${WORKDIR}/git"
+
+DEPENDS="json-c libwebsockets"
+
+inherit pkgconfig features_check
+
+EXTRA_OEMAKE += "DESTDIR=${D}"
+
+do_install() {
+    oe_runmake install
+}
-- 
GitLab