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 | |
Patrick Williams | b9af875 | 2023-01-30 13:28:01 -0600 | [diff] [blame] | 5 | SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master \ |
| 6 | file://0001-include-missing-cstdint.patch" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 7 | |
| 8 | DEPENDS = "pugixml" |
| 9 | DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3" |
| 13 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 14 | inherit cmake pkgconfig features_check |
| 15 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 16 | REQUIRED_DISTRO_FEATURES:class-target = "opengl" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 17 | |
| 18 | EXTRA_OECMAKE:class-native = " \ |
| 19 | -DBUILD_SCANNER=ON \ |
| 20 | -DBUILD_LIBRARIES=OFF \ |
| 21 | -DBUILD_DOCUMENTATION=OFF \ |
| 22 | -DCMAKE_BUILD_TYPE=Release \ |
| 23 | -DCMAKE_VERBOSE_MAKEFILE=TRUE \ |
| 24 | " |
| 25 | |
| 26 | EXTRA_OECMAKE:class-target = " \ |
| 27 | -DBUILD_SCANNER=ON \ |
| 28 | -DBUILD_LIBRARIES=ON \ |
| 29 | -DBUILD_DOCUMENTATION=OFF \ |
| 30 | -DBUILD_EXAMPLES=OFF \ |
| 31 | -DOPENGL_LIBRARY="-lEGL -lGLESv2" \ |
| 32 | -DOPENGL_opengl_LIBRARY=-lEGL \ |
| 33 | -DOPENGL_glx_LIBRARY=-lEGL \ |
| 34 | -DWAYLAND_SCANNERPP="${STAGING_BINDIR_NATIVE}/wayland-scanner++" \ |
| 35 | -DCMAKE_BUILD_TYPE=Release \ |
| 36 | -DCMAKE_VERBOSE_MAKEFILE=TRUE \ |
| 37 | -DCMAKE_EXE_LINKER_FLAGS="-Wl,--enable-new-dtags" \ |
| 38 | " |
| 39 | |
| 40 | BBCLASSEXTEND += "native nativesdk" |