blob: cd8b3ad0ab7da922fd5efbadcabf97a3824ae95b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
SUMMARY = "GNOME Shell is the graphical shell of the GNOME desktop environment"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gsettings gettext gobject-introspection features_check upstream-version-is-even bash-completion
REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
DEPENDS = " \
libxml2-native \
sassc-native \
gtk+3 \
mutter \
evolution-data-server \
gcr \
gjs \
gnome-autoar \
polkit \
libcroco \
startup-notification \
ibus \
gsettings-desktop-schemas \
"
GTKDOC_MESON_OPTION = "gtk_doc"
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
SRC_URI[archive.md5sum] = "b01d6772917148c81d472584f6b36c83"
SRC_URI[archive.sha256sum] = "703264db2fafe02d1db53d701cb99a4a757c46e7569e7b9d690dda009fc03b4d"
PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false, networkmanager"
PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
EXTRA_OEMESON = " \
-Dman=false \
"
do_install_append() {
# fix shebangs
for tool in `find ${D}${bindir} -name '*-tool'`; do
sed -i 's:#!${PYTHON}:#!${bindir}/${PYTHON_PN}:' $tool
done
}
FILES_${PN} += " \
${datadir}/dbus-1 \
${datadir}/gnome-control-center \
${datadir}/xdg-desktop-portal \
${systemd_user_unitdir} \
"
RDEPENDS_${PN} += "gsettings-desktop-schemas gdm-base librsvg-gtk"
PACKAGES =+ "${PN}-tools"
FILES_${PN}-tools = "${bindir}/*-tool"
RDEPENDS_${PN}-tools = "python3-core"
|