1SUMMARY = "Xfce screensaver Application"
2DESCRIPTION = "Xfce screensaver is a screen saver and locker that aims to have simple, sane, secure defaults and be well integrated with the desktop."
3HOMEPAGE = "https://git.xfce.org/apps/xfce4-screensaver/about/"
4SECTION = "x11/application"
5
6LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later "
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8                    file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
9                    "
10
11DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3"
12
13inherit xfce-app
14
15SRC_URI:append = " file://fix-cross-compile.patch"
16SRC_URI[sha256sum] = "6d4d143e3e62db679ce83ce7da97903390773ee0a8ceb05ff4c3dac36616268d"
17
18do_install:append() {
19    install -D -m 0644 ${S}/data/xfce4-screensaver.common-auth ${D}${sysconfdir}/pam.d/xfce4-screensaver
20}
21
22FILES:${PN} += "${datadir}/dbus-1 ${datadir}/desktop-directories"
23
24RDEPENDS:${PN} += "python3-core"
25