xscreensaver: add distro_features_check for x11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Martin Jansa 2018-11-13 09:55:36 +00:00 committed by Armin Kuster
parent f70b0e9957
commit a7534fa974

View File

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