Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | SUMMARY = " C++ binding for Wayland using the most modern C++ technology" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407" |
| 4 | |
| 5 | SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master" |
| 6 | |
| 7 | DEPENDS = "pugixml" |
| 8 | DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" |
| 9 | |
| 10 | S = "${WORKDIR}/git" |
| 11 | SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3" |
| 12 | |
| 13 | inherit cmake pkgconfig |
| 14 | |
| 15 | EXTRA_OECMAKE:class-native = " \ |
| 16 | -DBUILD_SCANNER=ON \ |
| 17 | -DBUILD_LIBRARIES=OFF \ |
| 18 | -DBUILD_DOCUMENTATION=OFF \ |
| 19 | -DCMAKE_BUILD_TYPE=Release \ |
| 20 | -DCMAKE_VERBOSE_MAKEFILE=TRUE \ |
| 21 | " |
| 22 | |
| 23 | EXTRA_OECMAKE:class-target = " \ |
| 24 | -DBUILD_SCANNER=ON \ |
| 25 | -DBUILD_LIBRARIES=ON \ |
| 26 | -DBUILD_DOCUMENTATION=OFF \ |
| 27 | -DBUILD_EXAMPLES=OFF \ |
| 28 | -DOPENGL_LIBRARY="-lEGL -lGLESv2" \ |
| 29 | -DOPENGL_opengl_LIBRARY=-lEGL \ |
| 30 | -DOPENGL_glx_LIBRARY=-lEGL \ |
| 31 | -DWAYLAND_SCANNERPP="${STAGING_BINDIR_NATIVE}/wayland-scanner++" \ |
| 32 | -DCMAKE_BUILD_TYPE=Release \ |
| 33 | -DCMAKE_VERBOSE_MAKEFILE=TRUE \ |
| 34 | -DCMAKE_EXE_LINKER_FLAGS="-Wl,--enable-new-dtags" \ |
| 35 | " |
| 36 | |
| 37 | BBCLASSEXTEND += "native nativesdk" |