Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "X screen saver and locker" |
| 2 | |
Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame] | 3 | LICENSE = "BSD-0-Clause" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://driver/xscreensaver.h;endline=10;md5=e141ab5822fb2d43694e1e47b59fc0df" |
| 5 | |
| 6 | SRC_URI = "https://www.jwz.org/${BPN}/${BP}.tar.gz" |
| 7 | SRC_URI[md5sum] = "a5da62b91271f4e8afcc73d44697364b" |
| 8 | SRC_URI[sha256sum] = "48ce1880f18b5321182be0c033aeceb5ec5628a1505b9d1ff69dbf06093c2426" |
| 9 | |
| 10 | SRC_URI += " \ |
| 11 | file://xscreensaver.service \ |
| 12 | file://fix-buildscripts.patch \ |
| 13 | file://tweak-app-defaults.patch \ |
| 14 | " |
| 15 | |
| 16 | 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: |
Brad Bishop | 4fe7a13 | 2019-10-07 09:34:48 -0400 | [diff] [blame] | 18 | RDEPENDS_${PN} += "liberation-fonts" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame^] | 20 | inherit systemd perlnative pkgconfig gettext autotools-brokensep features_check |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | |
Andrew Geissler | 1548c07 | 2019-02-22 16:03:50 -0600 | [diff] [blame] | 22 | EXTRA_OECONF += "--with-x-app-defaults=${datadir}/X11/app-defaults" |
| 23 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 24 | REQUIRED_DISTRO_FEATURES = "x11" |
| 25 | |
| 26 | do_install_append() { |
| 27 | install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service |
| 28 | } |
| 29 | |
| 30 | FILES_${PN} += "${datadir}/X11/app-defaults/XScreenSaver" |
| 31 | SYSTEMD_SERVICE_${PN} = "xscreensaver.service" |
Andrew Geissler | 1548c07 | 2019-02-22 16:03:50 -0600 | [diff] [blame] | 32 | |
| 33 | CLEANBROKEN = "1" |