mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-13 06:24:28 +02:00
First commit
This commit is contained in:
53
recipes-graphics/wayland/waylandpp_0.2.8.bb
Normal file
53
recipes-graphics/wayland/waylandpp_0.2.8.bb
Normal file
@ -0,0 +1,53 @@
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7f6b13e4480850c59e176edd427d996e"
|
||||
|
||||
PV = "0.2.8"
|
||||
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;tag=${PV}"
|
||||
|
||||
DEPENDS_append_class-native = " pugixml-native"
|
||||
DEPENDS_append_class-target = " waylandpp-native wayland virtual/egl"
|
||||
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
|
||||
EXTRA_OECMAKE_append_class-native = " \
|
||||
-DBUILD_SCANNER=ON \
|
||||
-DBUILD_LIBRARIES=OFF \
|
||||
-DBUILD_DOCUMENTATION=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE_append_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" \
|
||||
"
|
||||
|
||||
FILES_${PN} = " \
|
||||
${libdir}/libwayland*.so* \
|
||||
"
|
||||
|
||||
FILES_${PN}-dev = " \
|
||||
${includedir}/* \
|
||||
${libdir}/pkgconfig/* \
|
||||
${libdir}/cmake/waylandpp/* \
|
||||
${datadir}/waylandpp/protocols/* \
|
||||
"
|
||||
|
||||
FILES_SOLIBSDEV = ""
|
||||
INSANE_SKIP_${PN} += "dev-so"
|
||||
|
||||
BBCLASSEXTEND += "native nativesdk"
|
||||
|
Reference in New Issue
Block a user