Skip to contentSkip to conversation

nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchain

PATCH New Seokha Ko 1 participant 1 message Aug 27, 2018

lore
Share & tools
lore

Seokha Ko

author
#0 lore raw

PATCH v2 1/1 nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchain

The wayland-scanner was missing from the native toolchain for SDK build because it's copied from wayland dev package.
So make the wayland-scanner package and include it to SDK native toolchain.

---
 .../packagegroups/nativesdk-packagegroup-sdk-host.bb          | 1 +
 meta/recipes-graphics/wayland/wayland_1.15.0.bb               | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +1 -0
index e2f6169994..6eab7ffe99 100644
@@ -24,6 +24,7 @@ RDEPENDS_${PN} = "\
     nativesdk-dnf \
     nativesdk-cmake \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland-scanner', '', d)} \
     nativesdk-sdk-provides-dummy \
     "
 
meta/recipes-graphics/wayland/wayland_1.15.0.bb +3 -1
index d037dc4654..2eafaf51d9 100644
@@ -39,6 +39,8 @@ sysroot_stage_all_append_class-target () {
 }
 
 FILES_${PN} = "${libdir}/*${SOLIBS}"
-FILES_${PN}-dev += "${bindir} ${datadir}/wayland"
+FILES_${PN}-dev += "${datadir}/wayland"
+PACKAGES += "${PN}-scanner"
+FILES_${PN}-scanner = "${bindir}/wayland-scanner"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1