[meta-oe][PATCH] waylandpp: add recipe


Markus Volk
 

This adds C++ bindings for Wayland as used e.g. in the Kodi project

Signed-off-by: Markus Volk <f_l_k@...>
---
.../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-o=
e/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 =3D " C++ binding for Wayland using the most modern C++ technolo=
gy"
+LICENSE =3D "MIT"
+LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D3aae28cc66d61975114c2b14df215=
407"
+
+SRC_URI =3D "git://github.com/NilsBrause/waylandpp.git;protocol=3Dhttps;=
branch=3Dmaster"
+
+DEPENDS =3D "pugixml"
+DEPENDS:append:class-target =3D " waylandpp-native wayland virtual/egl v=
irtual/libgles2"
+
+S =3D "${WORKDIR}/git"
+SRCREV =3D "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3"
+
+inherit cmake pkgconfig
+
+EXTRA_OECMAKE:class-native =3D " \
+ -DBUILD_SCANNER=3DON \
+ -DBUILD_LIBRARIES=3DOFF \
+ -DBUILD_DOCUMENTATION=3DOFF \
+ -DCMAKE_BUILD_TYPE=3DRelease \
+ -DCMAKE_VERBOSE_MAKEFILE=3DTRUE \
+"
+
+EXTRA_OECMAKE:class-target =3D " \
+ -DBUILD_SCANNER=3DON \
+ -DBUILD_LIBRARIES=3DON \
+ -DBUILD_DOCUMENTATION=3DOFF \
+ -DBUILD_EXAMPLES=3DOFF \
+ -DOPENGL_LIBRARY=3D"-lEGL -lGLESv2" \
+ -DOPENGL_opengl_LIBRARY=3D-lEGL \
+ -DOPENGL_glx_LIBRARY=3D-lEGL \
+ -DWAYLAND_SCANNERPP=3D"${STAGING_BINDIR_NATIVE}/wayland-scanner++" \
+ -DCMAKE_BUILD_TYPE=3DRelease \
+ -DCMAKE_VERBOSE_MAKEFILE=3DTRUE \
+ -DCMAKE_EXE_LINKER_FLAGS=3D"-Wl,--enable-new-dtags" \
+"
+
+BBCLASSEXTEND +=3D "native nativesdk"
--=20
2.34.1