Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -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 | GTKIC_VERSION = "4" |
| 7 | |
| 8 | DEPENDS = " \ |
| 9 | accountsservice \ |
| 10 | colord-gtk \ |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 11 | gcr \ |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 12 | gdk-pixbuf \ |
| 13 | glib-2.0 \ |
| 14 | gnome-bluetooth \ |
| 15 | gnome-desktop \ |
| 16 | gnome-online-accounts \ |
| 17 | gnome-settings-daemon \ |
| 18 | gsettings-desktop-schemas \ |
| 19 | gtk4 \ |
| 20 | libadwaita \ |
| 21 | libepoxy \ |
| 22 | libgtop \ |
| 23 | libgudev \ |
| 24 | libnma \ |
| 25 | libpwquality \ |
| 26 | libxml2 \ |
| 27 | polkit \ |
| 28 | pulseaudio \ |
| 29 | samba \ |
| 30 | setxkbmap-native \ |
| 31 | tecla \ |
| 32 | udisks2 \ |
| 33 | upower \ |
| 34 | " |
| 35 | |
| 36 | inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext upstream-version-is-even bash-completion features_check useradd |
| 37 | |
| 38 | REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11" |
| 39 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 40 | SRC_URI = "gitsm://gitlab.gnome.org/GNOME/gnome-control-center.git;protocol=https;nobranch=1" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 41 | SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch" |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 42 | |
| 43 | S = "${WORKDIR}/git" |
| 44 | SRCREV = "005f40dcfa464f113a1c95f97673bc5505fc15ad" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 45 | |
| 46 | PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" |
| 47 | PACKAGECONFIG[cups] = ",,cups,cups" |
| 48 | PACKAGECONFIG[ibus] = "-Dibus=true, -Dibus=false, ibus" |
| 49 | PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland" |
| 50 | |
| 51 | EXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}" |
| 52 | |
| 53 | export XDG_DATA_DIRS = "${STAGING_DATADIR}" |
| 54 | |
| 55 | USERADD_PACKAGES = "${PN}" |
| 56 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd" |
| 57 | |
| 58 | do_install:append() { |
| 59 | if [ -d ${D}${datadir}/polkit-1/rules.d ]; then |
| 60 | chmod 700 ${D}${datadir}/polkit-1/rules.d |
| 61 | chown polkitd:root ${D}${datadir}/polkit-1/rules.d |
| 62 | fi |
| 63 | } |
| 64 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 65 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" |
| 66 | |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 67 | FILES:${PN} += " \ |
| 68 | ${datadir}/dbus-1 \ |
| 69 | ${datadir}/gnome-shell \ |
| 70 | ${datadir}/metainfo \ |
| 71 | " |
| 72 | |
| 73 | FILES:${PN}-dev += "${datadir}/gettext" |
| 74 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame] | 75 | RDEPENDS:${PN} += "gsettings-desktop-schemas tecla system-config-printer cups-pk-helper ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'gnome-user-share', '' , d)}" |