blob: b1aa519a05f72cf179618e121a5e2dcb16d1b059 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "GNOME Shell is the graphical shell of the GNOME desktop environment"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5GNOMEBASEBUILDCLASS = "meson"
6
7inherit gnomebase gsettings gettext gobject-introspection features_check upstream-version-is-even bash-completion
8
9REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
10
11DEPENDS = " \
12 libxml2-native \
13 sassc-native \
14 gtk+3 \
15 mutter \
16 evolution-data-server \
17 gcr \
18 gjs \
19 gnome-autoar \
20 polkit \
21 libcroco \
22 startup-notification \
23 ibus \
24 gsettings-desktop-schemas \
25"
26
27GTKDOC_MESON_OPTION = "gtk_doc"
28
29# gobject-introspection is mandatory and cannot be configured
30REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
Patrick Williams213cb262021-08-07 19:21:33 -050031UNKNOWN_CONFIGURE_WHITELIST:append = " introspection"
Andrew Geissler82c905d2020-04-13 13:39:40 -050032
33SRC_URI[archive.md5sum] = "4bd27c8a91d30fde78cb69b94677cf1f"
34SRC_URI[archive.sha256sum] = "d296f318a74a6d7883358a6ce1c4d8808b7903dbbb4f9c61ab4230f18e6d7550"
35
36PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
37PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
38PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false, networkmanager"
39PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
40
41EXTRA_OEMESON = " \
42 -Dman=false \
43"
44
Patrick Williams213cb262021-08-07 19:21:33 -050045do_install:append() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050046 # fix shebangs
47 for tool in `find ${D}${bindir} -name '*-tool'`; do
48 sed -i 's:#!${PYTHON}:#!${bindir}/${PYTHON_PN}:' $tool
49 done
50}
51
Andrew Geissler69721092021-07-23 12:57:00 -040052GSETTINGS_PACKAGE = "${PN}-gsettings"
53
Patrick Williams213cb262021-08-07 19:21:33 -050054FILES:${PN} += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050055 ${datadir}/dbus-1 \
56 ${datadir}/gnome-control-center \
57 ${datadir}/xdg-desktop-portal \
58 ${systemd_user_unitdir} \
59"
60
Patrick Williams213cb262021-08-07 19:21:33 -050061RDEPENDS:${PN} += "gsettings-desktop-schemas gdm-base librsvg-gtk ${PN}-gsettings"
Andrew Geissler82c905d2020-04-13 13:39:40 -050062
Andrew Geissler69721092021-07-23 12:57:00 -040063PACKAGES =+ "${PN}-tools ${PN}-gsettings"
Patrick Williams213cb262021-08-07 19:21:33 -050064FILES:${PN}-tools = "${bindir}/*-tool"
65RDEPENDS:${PN}-tools = "python3-core"
Andrew Geissler82c905d2020-04-13 13:39:40 -050066