Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "GNOME Settings" |
| 2 | DESCRIPTION = "GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop" |
| 3 | LICENSE = "GPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" |
| 5 | |
| 6 | GNOMEBASEBUILDCLASS = "meson" |
| 7 | GTKIC_VERSION = "4" |
| 8 | |
| 9 | DEPENDS = " \ |
| 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 Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 31 | setxkbmap-native \ |
| 32 | tecla \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 33 | udisks2 \ |
| 34 | upower \ |
| 35 | " |
| 36 | |
| 37 | inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext upstream-version-is-even bash-completion features_check useradd |
| 38 | |
| 39 | REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11" |
| 40 | |
| 41 | SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch" |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 42 | SRC_URI[archive.sha256sum] = "83df6a90f98914f2c19a872ce06562acef40927637f679c383099265ccfa42cf" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 43 | |
| 44 | PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 45 | PACKAGECONFIG[cups] = ",,cups,cups" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 46 | PACKAGECONFIG[ibus] = "-Dibus=true, -Dibus=false, ibus" |
| 47 | PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland" |
| 48 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 49 | EXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 50 | |
Andrew Geissler | 2013739 | 2023-10-12 04:59:14 -0600 | [diff] [blame^] | 51 | export XDG_DATA_DIRS = "${STAGING_DATADIR}" |
| 52 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 53 | USERADD_PACKAGES = "${PN}" |
| 54 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd" |
| 55 | |
| 56 | do_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 | |
| 63 | FILES:${PN} += " \ |
| 64 | ${datadir}/dbus-1 \ |
| 65 | ${datadir}/gnome-shell \ |
| 66 | ${datadir}/metainfo \ |
| 67 | " |
| 68 | |
| 69 | FILES:${PN}-dev += "${datadir}/gettext" |
| 70 | |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 71 | RDEPENDS:${PN} += "gsettings-desktop-schemas tecla" |