Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 1 | SUMMARY = "GNOME Display Manager" |
| 2 | LICENSE="GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 4 | |
| 5 | DEPENDS = " \ |
| 6 | dconf-native \ |
| 7 | gtk+3 \ |
| 8 | accountsservice \ |
| 9 | libcanberra \ |
| 10 | libpam \ |
| 11 | " |
| 12 | |
| 13 | REQUIRED_DISTRO_FEATURES = "x11 systemd pam" |
| 14 | |
| 15 | inherit gnomebase gsettings gobject-introspection gettext systemd useradd upstream-version-is-even features_check |
| 16 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 17 | SRC_URI[archive.sha256sum] = "3bfbb620cbc0d1cbd70b4c4376cf4b705db4dc36a37124e5be386ccc25fa7e81" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 18 | SRC_URI += "file://0001-Ensure-pam-file-installation.patch" |
| 19 | |
| 20 | EXTRA_OECONF = " \ |
| 21 | --without-plymouth \ |
| 22 | --with-default-pam-config=openembedded \ |
| 23 | --with-pam-mod-dir=${base_libdir}/security \ |
| 24 | " |
| 25 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | do_install:append() { |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 27 | rm -rf ${D}/run ${D}${localstatedir}/run |
| 28 | } |
| 29 | |
| 30 | USERADD_PACKAGES = "${PN}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | USERADD_PARAM:${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 32 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 33 | SYSTEMD_SERVICE:${PN} = "${BPN}.service" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 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. |
| 38 | PACKAGE_BEFORE_PN = "${PN}-base" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 39 | FILES:${PN}-base = " \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 40 | ${datadir}/glib-2.0 \ |
| 41 | ${datadir}/gnome-session \ |
| 42 | ${libdir}/lib*${SOLIBS} \ |
| 43 | ${libdir}/girepository-1.0 \ |
| 44 | " |
| 45 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 46 | CONFFILES:${PN} += "${sysconfdir}/gdm/custom.conf" |
| 47 | FILES:${PN} += " \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 48 | ${datadir}/dconf \ |
| 49 | ${base_libdir}/security/pam_gdm.so \ |
| 50 | ${localstatedir} \ |
| 51 | ${systemd_unitdir} \ |
| 52 | " |
| 53 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 54 | RDEPENDS:${PN} += "${PN}-base" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 55 | |