blob: 1122ee5ea0f31c6aaac06892ba5ec9407ed87ad3 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "GNOME Settings"
2DESCRIPTION = "GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
5
6GNOMEBASEBUILDCLASS = "meson"
7GTKIC_VERSION = "4"
8
9DEPENDS = " \
10 accountsservice \
11 colord-gtk \
12 gcr3 \
13 gdk-pixbuf \
14 glib-2.0 \
15 gnome-bluetooth \
16 gnome-desktop \
17 gnome-online-accounts \
18 gnome-settings-daemon \
19 gsettings-desktop-schemas \
20 gtk4 \
21 libadwaita \
22 libepoxy \
23 libgtop \
24 libgudev \
25 libnma \
26 libpwquality \
27 libxml2 \
28 polkit \
29 pulseaudio \
30 samba \
Andrew Geissler220dafd2023-10-04 10:18:08 -050031 setxkbmap-native \
32 tecla \
Andrew Geissler517393d2023-01-13 08:55:19 -060033 udisks2 \
34 upower \
35"
36
37inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext upstream-version-is-even bash-completion features_check useradd
38
39REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11"
40
41SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch"
Andrew Geissler220dafd2023-10-04 10:18:08 -050042SRC_URI[archive.sha256sum] = "83df6a90f98914f2c19a872ce06562acef40927637f679c383099265ccfa42cf"
Andrew Geissler517393d2023-01-13 08:55:19 -060043
44PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
Patrick Williamse760df82023-05-26 11:10:49 -050045PACKAGECONFIG[cups] = ",,cups,cups"
Andrew Geissler517393d2023-01-13 08:55:19 -060046PACKAGECONFIG[ibus] = "-Dibus=true, -Dibus=false, ibus"
47PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland"
48
Andrew Geissler220dafd2023-10-04 10:18:08 -050049EXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}"
Andrew Geissler517393d2023-01-13 08:55:19 -060050
51USERADD_PACKAGES = "${PN}"
52USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
53
54do_install:append() {
55 if [ -d ${D}${datadir}/polkit-1/rules.d ]; then
56 chmod 700 ${D}${datadir}/polkit-1/rules.d
57 chown polkitd:root ${D}${datadir}/polkit-1/rules.d
58 fi
59}
60
61FILES:${PN} += " \
62 ${datadir}/dbus-1 \
63 ${datadir}/gnome-shell \
64 ${datadir}/metainfo \
65"
66
67FILES:${PN}-dev += "${datadir}/gettext"
68
Andrew Geissler220dafd2023-10-04 10:18:08 -050069RDEPENDS:${PN} += "gsettings-desktop-schemas tecla"