1SUMMARY = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
2SECTION = "x11"
3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6DEPENDS = "libwnck3 libsm libxfce4ui virtual/libx11"
7
8inherit xfce update-alternatives features_check
9
10SRC_URI += "file://0001-configure.in-hard-code-path-to-iceauth.patch"
11SRC_URI[sha256sum] = "9a9c5074c7338b881a5259d3b643619bf84901360c03478e1a697938ece06516"
12
13REQUIRED_DISTRO_FEATURES = "x11"
14
15PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
16PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
17
18ALTERNATIVE:${PN} = "x-session-manager"
19ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
20ALTERNATIVE_PRIORITY_${PN} = "150"
21
22FILES:${PN} += " \
23    ${libdir}/xfce4/*/*/*.so \
24    ${libdir}/xfce4/session/*-*-* \
25    ${datadir}/xsessions \
26    ${datadir}/themes/Default/balou/* \
27    ${datadir}/polkit-1 \
28    ${datadir}/xdg-desktop-portal/xfce-portals.conf \
29"
30
31RDEPENDS:${PN} = " \
32    dbus-x11 \
33    iceauth \
34    netbase \
35    upower \
36    xinit \
37    xrdb \
38"
39