blob: fb0b77bf4848fd0e0dcd05373a89872aa5c1edb0 [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001SUMMARY = "GNOME Display Manager"
2LICENSE="GPLv2"
3LIC_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"
14
15inherit gnomebase gsettings gobject-introspection gettext systemd useradd upstream-version-is-even features_check
16
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050017SRC_URI[archive.sha256sum] = "3bfbb620cbc0d1cbd70b4c4376cf4b705db4dc36a37124e5be386ccc25fa7e81"
Brad Bishope42b3e32020-01-15 22:08:42 -050018SRC_URI += "file://0001-Ensure-pam-file-installation.patch"
19
20EXTRA_OECONF = " \
21 --without-plymouth \
22 --with-default-pam-config=openembedded \
23 --with-pam-mod-dir=${base_libdir}/security \
24"
25
26do_install_append() {
27 rm -rf ${D}/run ${D}${localstatedir}/run
28}
29
30USERADD_PACKAGES = "${PN}"
31USERADD_PARAM_${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm"
32
33SYSTEMD_SERVICE_${PN} = "${BPN}.service"
34
35# Some gnome components - as gnome-panel and gnome-shell (!!) - require gdm
36# components. To allow gnome-images using different display-manager, split them
37# out into a seperate package.
38PACKAGE_BEFORE_PN = "${PN}-base"
39FILES_${PN}-base = " \
40 ${datadir}/glib-2.0 \
41 ${datadir}/gnome-session \
42 ${libdir}/lib*${SOLIBS} \
43 ${libdir}/girepository-1.0 \
44"
45
46CONFFILES_${PN} += "${sysconfdir}/gdm/custom.conf"
47FILES_${PN} += " \
48 ${datadir}/dconf \
49 ${base_libdir}/security/pam_gdm.so \
50 ${localstatedir} \
51 ${systemd_unitdir} \
52"
53
54RDEPENDS_${PN} += "${PN}-base"
55