diff --git a/recipes-misc/recipes-qterminal/packagegroups/qterminal-world.bb b/recipes-misc/recipes-qterminal/packagegroups/qterminal-world.bb index 6bab15b7..a1c3de67 100644 --- a/recipes-misc/recipes-qterminal/packagegroups/qterminal-world.bb +++ b/recipes-misc/recipes-qterminal/packagegroups/qterminal-world.bb @@ -6,5 +6,5 @@ inherit packagegroup RDEPENDS_${PN} = " \ qtermwidget \ - qterminal \ + ${@bb.utils.contains("DISTRO_FEATURES", "x11", "qterminal", "",d)} \ " diff --git a/recipes-misc/recipes-qterminal/qterminal/qterminal_git.bb b/recipes-misc/recipes-qterminal/qterminal/qterminal_git.bb index 46dea0fb..62e921ba 100644 --- a/recipes-misc/recipes-qterminal/qterminal/qterminal_git.bb +++ b/recipes-misc/recipes-qterminal/qterminal/qterminal_git.bb @@ -2,7 +2,9 @@ SUMMARY = "Lightweight terminal emulator written in Qt" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -inherit cmake_qt5 cmake-extra-sanity +inherit cmake_qt5 cmake-extra-sanity distro_features_check + +REQUIRED_DISTRO_FEATURES = "x11" DEPENDS = "qtbase qttools-native qtermwidget"