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"
|
2022-02-01 04:34:57 +01:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
2022-02-01 04:34:57 +01:00
|
|
|
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
2022-03-29 11:19:27 +02:00
|
|
|
DEPENDS = "pugixml"
|
|
|
|
DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2"
|
2021-06-02 16:13:46 +02:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2022-02-01 04:34:57 +01:00
|
|
|
SRCREV = "e5bc48c12651872711ce08ec8da4871e7c522571"
|
|
|
|
PV = "0.2.9"
|
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 = " \
|
2022-03-29 11:19:27 +02:00
|
|
|
-DBUILD_SCANNER=ON \
|
2021-12-02 17:34:53 +01:00
|
|
|
-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"
|
|
|
|
|