Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "xfce4-session is a session manager for Xfce 4 Desktop Environment" |
| 2 | SECTION = "x11" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88" |
| 5 | |
| 6 | DEPENDS = "libwnck3 libsm libxfce4ui virtual/libx11" |
| 7 | |
| 8 | inherit xfce update-alternatives features_check |
| 9 | |
| 10 | REQUIRED_DISTRO_FEATURES = "x11" |
| 11 | |
| 12 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" |
| 13 | PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" |
| 14 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 15 | SRC_URI += "file://0001-configure.in-hard-code-path-to-iceauth.patch" |
| 16 | SRC_URI[sha256sum] = "22f273f212481d71e0b5618c62710cd85f69aea74f5ea5c0093f7918b07d17b7" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | |
| 18 | ALTERNATIVE_${PN} = "x-session-manager" |
| 19 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 20 | ALTERNATIVE_PRIORITY_${PN} = "150" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 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 | " |