aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-11-13 09:55:36 +0000
committerArmin Kuster <akuster808@gmail.com>2018-11-15 13:18:52 -0800
commita7534fa97476171abc229e92d2fbdab21f25dba4 (patch)
tree96c30c346c11c636ddeb7c22fc0ccbd41d5856dc
parentf70b0e9957205ae6f148c70acf4e72f1eb3ed663 (diff)
downloadmeta-openembedded-a7534fa97476171abc229e92d2fbdab21f25dba4.tar.gz
meta-openembedded-a7534fa97476171abc229e92d2fbdab21f25dba4.tar.bz2
meta-openembedded-a7534fa97476171abc229e92d2fbdab21f25dba4.zip
xscreensaver: add distro_features_check for x11
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb
index 0a884e98b..6ebf3c798 100644
--- a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb
+++ b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb
@@ -17,7 +17,9 @@ DEPENDS = "intltool-native libx11 libxext libxt libxft glib-2.0-native bc-native
# These are only needed as part of the stopgap screensaver implementation:
RDEPENDS_${PN} += "xserver-nodm-init liberation-fonts"
-inherit systemd perlnative pkgconfig gettext autotools-brokensep
+inherit systemd perlnative pkgconfig gettext autotools-brokensep distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "x11"
do_install_append() {
install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service