blob: 29c9f3c48c52eea5f912f36695c9cd4c42a94699 [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
Andrew Geissler20137392023-10-12 04:59:14 -060051export XDG_DATA_DIRS = "${STAGING_DATADIR}"
52
Andrew Geissler517393d2023-01-13 08:55:19 -060053USERADD_PACKAGES = "${PN}"
54USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
55
56do_install:append() {
57 if [ -d ${D}${datadir}/polkit-1/rules.d ]; then
58 chmod 700 ${D}${datadir}/polkit-1/rules.d
59 chown polkitd:root ${D}${datadir}/polkit-1/rules.d
60 fi
61}
62
63FILES:${PN} += " \
64 ${datadir}/dbus-1 \
65 ${datadir}/gnome-shell \
66 ${datadir}/metainfo \
67"
68
69FILES:${PN}-dev += "${datadir}/gettext"
70
Andrew Geissler220dafd2023-10-04 10:18:08 -050071RDEPENDS:${PN} += "gsettings-desktop-schemas tecla"