citadel/meta-gnome/recipes-gnome/gdm/gdm_3.31.91.bb

44 lines
1.6 KiB
BlitzBasic
Raw Normal View History

2018-01-18 18:19:47 -05:00
SUMMARY = "GNOME display manager"
HOMEPAGE = "https://wiki.gnome.org/Projects/GDM"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
inherit gnomebase useradd gettext pkgconfig autotools gobject-introspection systemd
2019-04-06 21:23:45 -04:00
SRC_URI[archive.md5sum] = "3af260a278e99ff4b17b999fd6c44465"
SRC_URI[archive.sha256sum] = "791f24f0e15d7dcd747efa2957f2bad3d5c9aeab185b0090bfba19bcc57b958a"
2019-01-15 12:02:49 -05:00
SRC_URI += "\
file://gdm.conf \
file://0001-replace-absolute-path-with-staging-path.patch \
"
2018-01-18 18:19:47 -05:00
DEPENDS = "libxcb libxinerama libxau libxdmcp intltool-native glib-2.0 accountsservice libpam libcheck libcanberra gtk+3 libx11 libxi systemd libxext glib-2.0-native dconf-native plymouth"
FILES_${PN} += "\
${libdir}/systemd/system/gdm.service \
${libdir}/security/pam_gdm.so \
${datadir}/gnome-session/sessions \
${datadir}/dconf/profile \
/run/gdm/greeter \
"
do_install_append() {
install -d ${D}${sysconfdir}/default/volatiles
echo "d gdm gdm 755 ${localstatedir}/run/gdm/greeter none" > ${D}${sysconfdir}/default/volatiles/99_gdm
rm -rf ${D}/run/gdm
rm ${D}${sysconfdir}/gdm/custom.conf
2018-03-27 23:30:27 -04:00
rm ${D}${libdir}/udev/rules.d/61-gdm.rules
2018-01-18 18:19:47 -05:00
install -m 644 ${WORKDIR}/gdm.conf ${D}${sysconfdir}/gdm/custom.conf
}
SYSTEMD_SERVICE_${PN} = "gdm.service"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --home /var/lib/gdm -u 21 -s /bin/false --user-group gdm"
EXTRA_OECONF = "--enable-introspection --enable-systemd-journal --enable-wayland-support --with-xdmcp=no --disable-static --with-default-pam-config=openembedded --with-plymouth=yes"