diff mbox series

[oe,meta-oe] xscreensaver: Define consistent app-defaults dir

Message ID 20181127061311.18978-1-raj.khem@gmail.com
State Accepted
Commit 4cd60756064adf3a852112857dc7b05314968dfd
Headers show
Series [oe,meta-oe] xscreensaver: Define consistent app-defaults dir | expand

Commit Message

Khem Raj Nov. 27, 2018, 6:13 a.m. UTC
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>

---
 meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.19.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_5.39.bb
index 6ebf3c798c..3a88f12ec8 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"