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