Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [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" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 5 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 6 | DEPENDS = "libwnck3 libsm libxfce4ui virtual/libx11" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 7 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 8 | inherit xfce update-alternatives features_check |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 9 | |
| 10 | REQUIRED_DISTRO_FEATURES = "x11" |
| 11 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 12 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" |
| 13 | PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" |
| 14 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | SRC_URI += " \ |
| 16 | file://0001-configure.in-hard-code-path-to-iceauth.patch \ |
| 17 | " |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 18 | SRC_URI[md5sum] = "635361f99a01b2d26c430a520b6d1314" |
| 19 | SRC_URI[sha256sum] = "14fb6db74eb69eb400673856ba307a0e57f577cf77c3561a5910151e3d52043f" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | |
| 21 | ALTERNATIVE_${PN} = "x-session-manager" |
| 22 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" |
| 23 | ALTERNATIVE_PRIORITY_${PN} = "100" |
| 24 | |
| 25 | FILES_${PN} += " \ |
| 26 | ${libdir}/xfce4/*/*/*.so \ |
| 27 | ${libdir}/xfce4/session/*-*-* \ |
| 28 | ${datadir}/xsessions \ |
| 29 | ${datadir}/themes/Default/balou/* \ |
| 30 | ${datadir}/polkit-1 \ |
| 31 | " |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 32 | |
| 33 | RDEPENDS_${PN} = " \ |
| 34 | dbus-x11 \ |
| 35 | iceauth \ |
| 36 | netbase \ |
| 37 | upower \ |
| 38 | xinit \ |
| 39 | xrdb \ |
| 40 | " |