aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-11-26 22:09:34 -0800
committerArmin Kuster <akuster808@gmail.com>2019-02-04 21:13:26 -0800
commit8c56922ea5a1aad0ddbdfdc2fa839337d9f83511 (patch)
treefd487e14258f1e2f3e1868231b58e3e625aa002d
parent9d20db53be1131ecd9cc4ae968d44b8f79dab545 (diff)
downloadmeta-openembedded-8c56922ea5a1aad0ddbdfdc2fa839337d9f83511.tar.gz
meta-openembedded-8c56922ea5a1aad0ddbdfdc2fa839337d9f83511.tar.bz2
meta-openembedded-8c56922ea5a1aad0ddbdfdc2fa839337d9f83511.zip
xscreensaver: Define consistent app-defaults dir
This is otherwise detected based on host machines X11 install directory and on builders where x11 may not be insalled this will default to another directory /usr/lib/X11/.. instead of /usr/share/X11... This patch makes it consistent and avoids poking at host machines install make clean does not work so enable CLEANBROKEN 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, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb
index 6ebf3c798..3a88f12ec 100644
--- a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb
+++ b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb
@@ -19,6 +19,8 @@ RDEPENDS_${PN} += "xserver-nodm-init liberation-fonts"
inherit systemd perlnative pkgconfig gettext autotools-brokensep distro_features_check
+EXTRA_OECONF += "--with-x-app-defaults=${datadir}/X11/app-defaults"
+
REQUIRED_DISTRO_FEATURES = "x11"
do_install_append() {
@@ -27,3 +29,5 @@ do_install_append() {
FILES_${PN} += "${datadir}/X11/app-defaults/XScreenSaver"
SYSTEMD_SERVICE_${PN} = "xscreensaver.service"
+
+CLEANBROKEN = "1"