meta-wayland/recipes-graphics/wayland/waylandpp_0.2.8.bb

54 lines
1.4 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=7f6b13e4480850c59e176edd427d996e"
2021-11-23 17:16:27 +01:00
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;tag=${PV};protocol=https;branch=master"
2021-06-02 16:13:46 +02:00
2021-08-07 06:23:26 +02:00
DEPENDS:append:class-native = " pugixml-native"
DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl"
2021-06-02 16:13:46 +02:00
S = "${WORKDIR}/git"
2021-06-04 10:26:46 +02:00
PV = "0.2.8"
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-08-07 06:23:26 +02:00
EXTRA_OECMAKE:append:class-native = " \
2021-06-02 16:13:46 +02:00
-DBUILD_SCANNER=ON \
-DBUILD_LIBRARIES=OFF \
-DBUILD_DOCUMENTATION=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
"
2021-08-07 06:23:26 +02:00
EXTRA_OECMAKE:append:class-target = " \
2021-06-02 16:13:46 +02:00
-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" \
"
2021-08-07 06:23:26 +02:00
FILES:${PN} = " \
2021-06-02 16:13:46 +02:00
${libdir}/libwayland*.so* \
"
2021-08-07 06:23:26 +02:00
FILES:${PN}-dev = " \
2021-06-02 16:13:46 +02:00
${includedir}/* \
${libdir}/pkgconfig/* \
${libdir}/cmake/waylandpp/* \
${datadir}/waylandpp/protocols/* \
"
FILES_SOLIBSDEV = ""
2021-08-07 06:23:26 +02:00
INSANE_SKIP:${PN} += "dev-so"
2021-06-02 16:13:46 +02:00
BBCLASSEXTEND += "native nativesdk"