qterminal: build only in x11 environments

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-09-14 00:17:35 +02:00
parent 38b59b0563
commit 69147de56c
2 changed files with 4 additions and 2 deletions

View File

@@ -6,5 +6,5 @@ inherit packagegroup
RDEPENDS_${PN} = " \
qtermwidget \
qterminal \
${@bb.utils.contains("DISTRO_FEATURES", "x11", "qterminal", "",d)} \
"

View File

@@ -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"