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 | |
| 17 | SRC_URI[archive.md5sum] = "65d1fd4bb85e8b133d1cbffb80ecf62e" |
| 18 | SRC_URI[archive.sha256sum] = "e85df657aa8d9361af4fb122014d8f123a93bfe45a7662fba2b373d839dbd8d3" |
| 19 | SRC_URI += "file://0001-Ensure-pam-file-installation.patch" |
| 20 | |
| 21 | EXTRA_OECONF = " \ |
| 22 | --without-plymouth \ |
| 23 | --with-default-pam-config=openembedded \ |
| 24 | --with-pam-mod-dir=${base_libdir}/security \ |
| 25 | " |
| 26 | |
| 27 | do_install_append() { |
| 28 | rm -rf ${D}/run ${D}${localstatedir}/run |
| 29 | } |
| 30 | |
| 31 | USERADD_PACKAGES = "${PN}" |
| 32 | USERADD_PARAM_${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm" |
| 33 | |
| 34 | SYSTEMD_SERVICE_${PN} = "${BPN}.service" |
| 35 | |
| 36 | # Some gnome components - as gnome-panel and gnome-shell (!!) - require gdm |
| 37 | # components. To allow gnome-images using different display-manager, split them |
| 38 | # out into a seperate package. |
| 39 | PACKAGE_BEFORE_PN = "${PN}-base" |
| 40 | FILES_${PN}-base = " \ |
| 41 | ${datadir}/glib-2.0 \ |
| 42 | ${datadir}/gnome-session \ |
| 43 | ${libdir}/lib*${SOLIBS} \ |
| 44 | ${libdir}/girepository-1.0 \ |
| 45 | " |
| 46 | |
| 47 | CONFFILES_${PN} += "${sysconfdir}/gdm/custom.conf" |
| 48 | FILES_${PN} += " \ |
| 49 | ${datadir}/dconf \ |
| 50 | ${base_libdir}/security/pam_gdm.so \ |
| 51 | ${localstatedir} \ |
| 52 | ${systemd_unitdir} \ |
| 53 | " |
| 54 | |
| 55 | RDEPENDS_${PN} += "${PN}-base" |
| 56 | |