2020-07-08 10:42:25 -04:00
|
|
|
SUMMARY = "GNOME session"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
glib-2.0-native \
|
|
|
|
libxslt-native \
|
|
|
|
xmlto-native \
|
|
|
|
xtrans \
|
|
|
|
libice \
|
|
|
|
libsm \
|
|
|
|
virtual/libx11 \
|
|
|
|
gtk+3 \
|
|
|
|
gnome-desktop \
|
|
|
|
gsettings-desktop-schemas \
|
|
|
|
json-glib \
|
|
|
|
"
|
|
|
|
|
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
|
|
|
|
2020-10-30 14:55:28 -04:00
|
|
|
inherit gnomebase gettext gsettings upstream-version-is-even features_check
|
2020-07-08 10:42:25 -04:00
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11 systemd pam gobject-introspection-data"
|
|
|
|
|
2021-05-05 08:45:55 -04:00
|
|
|
def gnome_verdir(v):
|
|
|
|
return oe.utils.trim_version(v, 1)
|
|
|
|
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive"
|
|
|
|
|
|
|
|
SRC_URI[archive.sha256sum] = "9c787829ee32e13e1508b9aee2b1d9ba42a02c48e6c8094e34f3e7f92af4df82"
|
2021-02-12 10:10:39 -05:00
|
|
|
SRC_URI += " \
|
|
|
|
file://0001-Patch-locking-logout-so-it-does-not-disable-shutting.patch \
|
|
|
|
file://0001-Disable-sharing-and-usb-protection-add-systemd-to-de.patch \
|
|
|
|
"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2020-08-05 19:24:37 -04:00
|
|
|
EXTRA_OEMESON += "-Dsystemd=true -Dsystemd_journal=true -Ddocbook=false -Dman=false"
|
2020-07-08 10:42:25 -04:00
|
|
|
FILES_${PN} += " \
|
|
|
|
${bindir}/gnome-session \
|
|
|
|
${libexecdir}/gnome-session-ctl \
|
|
|
|
${datadir}/xsessions \
|
|
|
|
${datadir}/wayland-sessions \
|
|
|
|
${systemd_user_unitdir} \
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPENDS_${PN} += "gnome-shell gnome-settings-daemon gsettings-desktop-schemas"
|