blob: c5e27af58881552deb11af300af8926fdeaee690 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "GNOME session"
2LICENSE = "GPL-2.0-only"
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-desktop \
15 gsettings-desktop-schemas \
16 json-glib \
17"
18
Andrew Geissler517393d2023-01-13 08:55:19 -060019
20inherit gnomebase gettext gsettings upstream-version-is-even features_check
21
22REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
23
Andrew Geissler220dafd2023-10-04 10:18:08 -050024SRC_URI[archive.sha256sum] = "706d2ffcacac38553a3c0185793f5a2b4aac940bb5e789d953c9808163bef2f1"
Andrew Geissler517393d2023-01-13 08:55:19 -060025
26PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit',d)}"
27
28PACKAGECONFIG[consolekit] = "-Dconsolekit=true, -Dconsolekit=false, dbus-glib"
29PACKAGECONFIG[systemd] = "-Dsystemd=true -Dsystemd_journal=true, -Dsystemd=false -Dsystemd_journal=false, systemd"
30
31FILES:${PN} += " \
Andrew Geissler220dafd2023-10-04 10:18:08 -050032 ${datadir}/xdg-desktop-portal \
Andrew Geissler517393d2023-01-13 08:55:19 -060033 ${datadir}/xsessions \
34 ${datadir}/wayland-sessions \
35 ${systemd_user_unitdir} \
36"