blob: 94ffdc28eb8560eb466ccc966b29cc32f52e16af [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "GNOME Display Manager"
Andrew Geissler9aee5002022-03-30 16:27:02 +00002LICENSE="GPL-2.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00003LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5DEPENDS = " \
6 dconf-native \
7 gtk+3 \
8 accountsservice \
9 libcanberra \
10 libpam \
11"
12
13REQUIRED_DISTRO_FEATURES = "x11 systemd pam polkit gobject-introspection-data"
14GIR_MESON_OPTION = ""
15
16GNOMEBASEBUILDCLASS = "meson"
17
18inherit gnomebase gsettings gobject-introspection gettext systemd useradd itstool gnome-help features_check
19
20SRC_URI[archive.sha256sum] = "5738c4293a9f5a80d4a6e9e06f4d0df3e9f313ca7b61bfb4d8afaba983e200dc"
21
22EXTRA_OEMESON = " \
23 -Dplymouth=disabled \
24 -Ddefault-pam-config=openembedded \
25 -Dpam-mod-dir=${base_libdir}/security \
26"
27
28do_install:append() {
29 rm -rf ${D}/run ${D}${localstatedir}/run
30}
31
32USERADD_PACKAGES = "${PN}"
33USERADD_PARAM:${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm"
34
35SYSTEMD_SERVICE:${PN} = "${BPN}.service"
36
37# Some gnome components - as gnome-panel and gnome-shell (!!) - require gdm
38# components. To allow gnome-images using different display-manager, split them
39# out into a seperate package.
40PACKAGE_BEFORE_PN = "${PN}-base"
41FILES:${PN}-base = " \
42 ${datadir}/glib-2.0 \
43 ${datadir}/gnome-session \
44 ${libdir}/lib*${SOLIBS} \
45 ${libdir}/girepository-1.0 \
46"
47
48CONFFILES:${PN} += "${sysconfdir}/gdm/custom.conf"
49FILES:${PN} += " \
50 ${datadir}/dconf \
51 ${base_libdir}/security/pam_gdm.so \
52 ${localstatedir} \
53 ${systemd_unitdir} ${systemd_user_unitdir} \
54"
55
56RDEPENDS:${PN} += "${PN}-base"
57