meta-wayland/recipes-graphics/wayland/waylandpp_0.2.8.bb

39 lines
1.0 KiB
BlitzBasic
Raw Normal View History

2021-06-04 10:26:46 +02:00
SUMMARY = " C++ binding for Wayland using the most modern C++ technology"
2021-06-02 16:13:46 +02:00
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7f6b13e4480850c59e176edd427d996e"
2021-11-23 17:16:27 +01:00
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;tag=${PV};protocol=https;branch=master"
2021-06-02 16:13:46 +02:00
2021-12-02 17:34:53 +01:00
DEPENDS:class-native = " pugixml-native"
DEPENDS:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2"
2021-06-02 16:13:46 +02:00
S = "${WORKDIR}/git"
2021-06-04 10:26:46 +02:00
PV = "0.2.8"
2021-06-02 16:13:46 +02:00
2021-11-23 17:16:27 +01:00
inherit cmake pkgconfig
2021-06-02 16:13:46 +02:00
2021-12-02 17:34:53 +01:00
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=OFF \
-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" \
"
2021-06-02 16:13:46 +02:00
BBCLASSEXTEND += "native nativesdk"