mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-11-20 04:18:25 +01:00
39 lines
1.0 KiB
Clojure
39 lines
1.0 KiB
Clojure
SUMMARY = " C++ binding for Wayland using the most modern C++ technology"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=7f6b13e4480850c59e176edd427d996e"
|
|
|
|
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;tag=${PV};protocol=https;branch=master"
|
|
|
|
DEPENDS:class-native = " pugixml-native"
|
|
DEPENDS:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2"
|
|
|
|
S = "${WORKDIR}/git"
|
|
PV = "0.2.8"
|
|
|
|
inherit cmake pkgconfig
|
|
|
|
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" \
|
|
"
|
|
|
|
BBCLASSEXTEND += "native nativesdk"
|
|
|