From patchwork Mon Aug 8 05:24:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 11068 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FEA5C00140 for ; Mon, 8 Aug 2022 05:25:56 +0000 (UTC) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by mx.groups.io with SMTP id smtpd.web11.22153.1659936354210622119 for ; Sun, 07 Aug 2022 22:25:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.83, mailfrom: f_l_k@t-online.de) Received: from fwd77.dcpf.telekom.de (fwd77.aul.t-online.de [10.223.144.103]) by mailout07.t-online.de (Postfix) with SMTP id 1EFC345FB for ; Mon, 8 Aug 2022 07:25:11 +0200 (CEST) Received: from flk-MS-7C91.. ([84.163.38.77]) by fwd77.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1oKvGG-0EdiRV0; Mon, 8 Aug 2022 07:25:08 +0200 From: Markus Volk To: openembedded-devel@lists.openembedded.org Cc: Markus Volk Subject: [meta-oe][PATCH] waylandpp: add recipe Date: Mon, 8 Aug 2022 07:24:51 +0200 Message-Id: <20220808052451.7568-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1659936308-01447895-301B79C5/0/0 CLEAN NORMAL X-TOI-MSGID: 39fa1564-c24b-4e7c-b8a1-b616af379327 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 08 Aug 2022 05:25:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98150 This adds C++ bindings for Wayland as used e.g. in the Kodi project Signed-off-by: Markus Volk --- .../wayland/waylandpp_1.0.0.bb | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb new file mode 100644 index 000000000..f075f2a3a --- /dev/null +++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb @@ -0,0 +1,37 @@ +SUMMARY = " C++ binding for Wayland using the most modern C++ technology" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407" + +SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master" + +DEPENDS = "pugixml" +DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" + +S = "${WORKDIR}/git" +SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3" + +inherit cmake pkgconfig + +EXTRA_OECMAKE:class-native = " \ + -DBUILD_SCANNER=ON \ + -DBUILD_LIBRARIES=OFF \ + -DBUILD_DOCUMENTATION=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ +" + +EXTRA_OECMAKE:class-target = " \ + -DBUILD_SCANNER=ON \ + -DBUILD_LIBRARIES=ON \ + -DBUILD_DOCUMENTATION=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DOPENGL_LIBRARY="-lEGL -lGLESv2" \ + -DOPENGL_opengl_LIBRARY=-lEGL \ + -DOPENGL_glx_LIBRARY=-lEGL \ + -DWAYLAND_SCANNERPP="${STAGING_BINDIR_NATIVE}/wayland-scanner++" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ + -DCMAKE_EXE_LINKER_FLAGS="-Wl,--enable-new-dtags" \ +" + +BBCLASSEXTEND += "native nativesdk"