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 \ |
| 11 | " |
| 12 | |
| 13 | REQUIRED_DISTRO_FEATURES = "x11 systemd pam polkit gobject-introspection-data" |
| 14 | GIR_MESON_OPTION = "" |
| 15 | |
| 16 | GNOMEBASEBUILDCLASS = "meson" |
| 17 | |
| 18 | inherit gnomebase gsettings gobject-introspection gettext systemd useradd itstool gnome-help features_check |
| 19 | |
| 20 | SRC_URI[archive.sha256sum] = "5738c4293a9f5a80d4a6e9e06f4d0df3e9f313ca7b61bfb4d8afaba983e200dc" |
| 21 | |
| 22 | EXTRA_OEMESON = " \ |
| 23 | -Dplymouth=disabled \ |
| 24 | -Ddefault-pam-config=openembedded \ |
| 25 | -Dpam-mod-dir=${base_libdir}/security \ |
| 26 | " |
| 27 | |
| 28 | do_install:append() { |
| 29 | rm -rf ${D}/run ${D}${localstatedir}/run |
| 30 | } |
| 31 | |
| 32 | USERADD_PACKAGES = "${PN}" |
| 33 | USERADD_PARAM:${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm" |
| 34 | |
| 35 | SYSTEMD_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. |
| 40 | PACKAGE_BEFORE_PN = "${PN}-base" |
| 41 | FILES:${PN}-base = " \ |
| 42 | ${datadir}/glib-2.0 \ |
| 43 | ${datadir}/gnome-session \ |
| 44 | ${libdir}/lib*${SOLIBS} \ |
| 45 | ${libdir}/girepository-1.0 \ |
| 46 | " |
| 47 | |
| 48 | CONFFILES:${PN} += "${sysconfdir}/gdm/custom.conf" |
| 49 | FILES:${PN} += " \ |
| 50 | ${datadir}/dconf \ |
| 51 | ${base_libdir}/security/pam_gdm.so \ |
| 52 | ${localstatedir} \ |
| 53 | ${systemd_unitdir} ${systemd_user_unitdir} \ |
| 54 | " |
| 55 | |
| 56 | RDEPENDS:${PN} += "${PN}-base" |
| 57 | |