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