summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.3.bb')
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.3.bb93
1 files changed, 93 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.3.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.3.bb
new file mode 100644
index 0000000000..33ba5eaa39
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_48.3.bb
@@ -0,0 +1,93 @@
1SUMMARY = "GNOME Shell is the graphical shell of the GNOME desktop environment"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5
6DEPENDS = " \
7 libxml2-native \
8 gtk4 \
9 mutter \
10 evolution-data-server \
11 gcr \
12 geocode-glib \
13 gjs \
14 gnome-autoar \
15 gnome-desktop \
16 gnome-control-center \
17 polkit \
18 pipewire \
19 libsoup-3.0 \
20 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'startup-notification', d)} \
21 ibus \
22 gsettings-desktop-schemas \
23"
24
25inherit gnomebase gsettings gettext gobject-introspection gtk-icon-cache features_check bash-completion
26
27REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
28
29GTKIC_VERSION = "4"
30GTKDOC_MESON_OPTION = "gtk_doc"
31GIR_MESON_OPTION = ""
32
33# gobject-introspection is mandatory and cannot be configured
34REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
35
36SRC_URI[archive.sha256sum] = "fb0203fc748593f14e51732618e1f042525fd719764a0fdb0ee3f6fe413a9b2b"
37
38PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
39PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
40PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false,networkmanager libsecret,networkmanager"
41PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
42
43EXTRA_OEMESON += " \
44 -Dtests=false \
45 -Dman=false \
46 --cross-file=${WORKDIR}/meson-${PN}.cross \
47"
48
49do_write_config:append() {
50 cat >${WORKDIR}/meson-${PN}.cross <<EOF
51[binaries]
52gjs = '${bindir}/gjs'
53EOF
54}
55
56do_install:append() {
57 # fix shebangs
58 for tool in `find ${D}${bindir} -name '*-tool'`; do
59 sed -i 's:#!${PYTHON}:#!${bindir}/python3:' $tool
60 done
61}
62
63GSETTINGS_PACKAGE = "${PN}-gsettings"
64
65FILES:${PN} += " \
66 ${datadir}/metainfo \
67 ${datadir}/dbus-1 \
68 ${datadir}/gnome-control-center \
69 ${datadir}/xdg-desktop-portal \
70 ${datadir}/desktop-directories \
71 ${systemd_user_unitdir} \
72"
73
74RDEPENDS:${PN} += " \
75 accountsservice \
76 adwaita-icon-theme \
77 adwaita-icon-theme-cursors \
78 gdm-base \
79 gnome-control-center \
80 gnome-backgrounds \
81 gnome-bluetooth \
82 gnome-desktop \
83 gnome-session \
84 gnome-settings-daemon \
85 gnome-shell-gsettings \
86 gsettings-desktop-schemas \
87 librsvg-gtk \
88"
89
90PACKAGES =+ "${PN}-tools ${PN}-gsettings"
91FILES:${PN}-tools = "${bindir}/*-tool"
92RDEPENDS:${PN}-tools = "python3-core"
93