blob: c2b345da6a159cb84017e5b70b118ec7a705e169 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "X screen saver and locker"
2
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://driver/xscreensaver.h;endline=10;md5=e141ab5822fb2d43694e1e47b59fc0df"
5
6SRC_URI = "https://www.jwz.org/${BPN}/${BP}.tar.gz"
7SRC_URI[md5sum] = "a5da62b91271f4e8afcc73d44697364b"
8SRC_URI[sha256sum] = "48ce1880f18b5321182be0c033aeceb5ec5628a1505b9d1ff69dbf06093c2426"
9
10SRC_URI += " \
11 file://xscreensaver.service \
12 file://fix-buildscripts.patch \
13 file://tweak-app-defaults.patch \
14"
15
16DEPENDS = "intltool-native libx11 libxext libxt libxft glib-2.0-native bc-native"
17# These are only needed as part of the stopgap screensaver implementation:
Brad Bishop4fe7a132019-10-07 09:34:48 -040018RDEPENDS_${PN} += "liberation-fonts"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
20inherit systemd perlnative pkgconfig gettext autotools-brokensep distro_features_check
21
Andrew Geissler1548c072019-02-22 16:03:50 -060022EXTRA_OECONF += "--with-x-app-defaults=${datadir}/X11/app-defaults"
23
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024REQUIRED_DISTRO_FEATURES = "x11"
25
26do_install_append() {
27 install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service
28}
29
30FILES_${PN} += "${datadir}/X11/app-defaults/XScreenSaver"
31SYSTEMD_SERVICE_${PN} = "xscreensaver.service"
Andrew Geissler1548c072019-02-22 16:03:50 -060032
33CLEANBROKEN = "1"