meta-wayland/recipes-graphics/wayland/waylandpp_git.bb

40 lines
1.1 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=3aae28cc66d61975114c2b14df215407"
2021-06-02 16:13:46 +02:00
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master"
2021-06-02 16:13:46 +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"
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 = " \
-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"