summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-11-13 09:55:36 +0000
committerKhem Raj <raj.khem@gmail.com>2018-11-13 08:32:18 -0800
commit6c7cc536427e9da35545b0a36dd9a758c13c0cb6 (patch)
tree7657e6295e588e671724582743b4d8696e14627d /meta-oe
parent7d08609b5dc7c2e52227eb8a16c153a6e643b7e2 (diff)
downloadmeta-openembedded-6c7cc536427e9da35545b0a36dd9a758c13c0cb6.tar.gz
xscreensaver: add distro_features_check for x11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-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
17# These are only needed as part of the stopgap screensaver implementation: 17# These are only needed as part of the stopgap screensaver implementation:
18RDEPENDS_${PN} += "xserver-nodm-init liberation-fonts" 18RDEPENDS_${PN} += "xserver-nodm-init liberation-fonts"
19 19
20inherit systemd perlnative pkgconfig gettext autotools-brokensep 20inherit systemd perlnative pkgconfig gettext autotools-brokensep distro_features_check
21
22REQUIRED_DISTRO_FEATURES = "x11"
21 23
22do_install_append() { 24do_install_append() {
23 install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service 25 install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service