blob: 15bf489c7a62d36a329f67230981b3ad2a4f4e8a [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001SUMMARY = "GNOME session"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5DEPENDS = " \
6 glib-2.0-native \
7 libxslt-native \
8 xmlto-native \
9 xtrans \
10 libice \
11 libsm \
12 virtual/libx11 \
13 gtk+3 \
14 gnome-desktop3 \
15 gsettings-desktop-schemas \
16 json-glib \
17"
18
19GNOMEBASEBUILDCLASS = "meson"
20
21inherit gnomebase gettext gsettings upstream-version-is-even features_check
22
23REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
24
25SRC_URI[archive.md5sum] = "38dcdb844a0349cc2fb10998095543e4"
26SRC_URI[archive.sha256sum] = "8bb77381650a03ae4be7260751363bd27da93f09bac1ddbc885f4ce44ebaf8e1"
27
28PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit',d)}"
29
30PACKAGECONFIG[consolekit] = "-Dconsolekit=true, -Dconsolekit=false, consolekit"
31PACKAGECONFIG[systemd] = "-Dsystemd=true -Dsystemd_journal=true, -Dsystemd=false -Dsystemd_journal=false, systemd"
32
33FILES_${PN} += " \
34 ${datadir}/xsessions \
35 ${datadir}/wayland-sessions \
36 ${systemd_user_unitdir} \
37"
38
39RDEPENDS_${PN} += "gnome-shell gnome-settings-daemon gsettings-desktop-schemas"