2022-05-29 14:18:27 -04:00
|
|
|
SUMMARY = "GNOME Display Manager"
|
|
|
|
LICENSE="GPL-2.0-only"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
2024-05-08 11:00:03 -04:00
|
|
|
accountsservice \
|
2022-05-29 14:18:27 -04:00
|
|
|
dconf-native \
|
|
|
|
gtk+3 \
|
2024-05-08 11:00:03 -04:00
|
|
|
keyutils \
|
2022-05-29 14:18:27 -04:00
|
|
|
libcanberra \
|
|
|
|
libgudev \
|
2024-05-08 11:00:03 -04:00
|
|
|
libpam \
|
|
|
|
xserver-xorg \
|
2022-05-29 14:18:27 -04:00
|
|
|
"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11 systemd pam polkit gobject-introspection-data"
|
|
|
|
GIR_MESON_OPTION = ""
|
|
|
|
|
2024-05-08 11:00:03 -04:00
|
|
|
inherit gnomebase gsettings pkgconfig gobject-introspection gettext systemd useradd itstool gnome-help features_check
|
|
|
|
SRC_URI = "https://download.gnome.org/sources/gdm/${@oe.utils.trim_version("${PV}", 1)}/gdm-${PV}.tar.xz"
|
|
|
|
SRC_URI[sha256sum] = "6572578c05e3c6569d6ed269f7de2aaf3a035657654586d8243907bb7a6ffa85"
|
2022-05-29 14:18:27 -04:00
|
|
|
|
|
|
|
EXTRA_OEMESON = " \
|
|
|
|
-Dplymouth=disabled \
|
|
|
|
-Ddefault-pam-config=openembedded \
|
|
|
|
-Dpam-mod-dir=${base_libdir}/security \
|
|
|
|
"
|
|
|
|
|
2024-05-08 11:00:03 -04:00
|
|
|
do_install:prepend() {
|
|
|
|
sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.c
|
|
|
|
sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-worker-enum-types.h
|
|
|
|
sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-enum-types.c
|
|
|
|
sed -i -e 's|${B}/||g' ${B}/daemon/gdm-session-enum-types.h
|
|
|
|
}
|
|
|
|
|
2022-05-29 14:18:27 -04:00
|
|
|
do_install:append() {
|
|
|
|
rm -rf ${D}/run ${D}${localstatedir}/run
|
|
|
|
}
|
|
|
|
|
|
|
|
USERADD_PACKAGES = "${PN}"
|
|
|
|
USERADD_PARAM:${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm"
|
|
|
|
|
|
|
|
SYSTEMD_SERVICE:${PN} = "${BPN}.service"
|
|
|
|
|
|
|
|
# Some gnome components - as gnome-panel and gnome-shell (!!) - require gdm
|
|
|
|
# components. To allow gnome-images using different display-manager, split them
|
|
|
|
# out into a seperate package.
|
|
|
|
PACKAGE_BEFORE_PN = "${PN}-base"
|
|
|
|
FILES:${PN}-base = " \
|
|
|
|
${datadir}/glib-2.0 \
|
|
|
|
${datadir}/gnome-session \
|
|
|
|
${libdir}/lib*${SOLIBS} \
|
|
|
|
${libdir}/girepository-1.0 \
|
|
|
|
"
|
|
|
|
|
|
|
|
CONFFILES:${PN} += "${sysconfdir}/gdm/custom.conf"
|
|
|
|
FILES:${PN} += " \
|
|
|
|
${datadir}/dconf \
|
|
|
|
${base_libdir}/security/pam_gdm.so \
|
|
|
|
${localstatedir} \
|
|
|
|
${systemd_unitdir} ${systemd_user_unitdir} \
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPENDS:${PN} += "${PN}-base"
|