From 0e648c2ff06653607c9935a22896c068eace257f Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Fri, 30 Dec 2016 12:45:40 +0100 Subject: [PATCH] kcrash: Depends on libxcb Unfortunately kcrash demands libxcb, otherwise the build will fail in kcrash.cpp, line 271 because the function won't return. Apparently there is no ifdef for Wayland, it appears kcrash works only on X11, macOS and Windows. Signed-off-by: Pier Luigi Fiorini --- recipes-kde/kf5/tier2/kcrash/kcrash.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-kde/kf5/tier2/kcrash/kcrash.bb b/recipes-kde/kf5/tier2/kcrash/kcrash.bb index d5c6abd1..a4a67a59 100644 --- a/recipes-kde/kf5/tier2/kcrash/kcrash.bb +++ b/recipes-kde/kf5/tier2/kcrash/kcrash.bb @@ -4,9 +4,11 @@ LIC_FILES_CHKSUM = " \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ " -inherit kde-kf5 +inherit kde-kf5 distro_features_check -DEPENDS += "kcoreaddons kwindowsystem" +REQUIRED_DISTRO_FEATURE = "x11" + +DEPENDS += "kcoreaddons kwindowsystem libxcb" PV = "${KF5_VERSION}" SRC_URI[md5sum] = "d85c85ecfe38a796c3bce4313df8ece7"