1*edff4923SAndrew GeisslerSUMMARY = "GNOME Settings"
2*edff4923SAndrew GeisslerDESCRIPTION = "GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop"
3*edff4923SAndrew GeisslerLICENSE = "GPL-2.0-only"
4*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
5*edff4923SAndrew Geissler
6*edff4923SAndrew GeisslerGTKIC_VERSION = "4"
7*edff4923SAndrew Geissler
8*edff4923SAndrew GeisslerDEPENDS = " \
9*edff4923SAndrew Geissler    accountsservice \
10*edff4923SAndrew Geissler    colord-gtk \
11*edff4923SAndrew Geissler    gcr \
12*edff4923SAndrew Geissler    gdk-pixbuf \
13*edff4923SAndrew Geissler    glib-2.0 \
14*edff4923SAndrew Geissler    gnome-bluetooth \
15*edff4923SAndrew Geissler    gnome-desktop \
16*edff4923SAndrew Geissler    gnome-online-accounts \
17*edff4923SAndrew Geissler    gnome-settings-daemon \
18*edff4923SAndrew Geissler    gsettings-desktop-schemas \
19*edff4923SAndrew Geissler    gtk4 \
20*edff4923SAndrew Geissler    libadwaita \
21*edff4923SAndrew Geissler    libepoxy \
22*edff4923SAndrew Geissler    libgtop \
23*edff4923SAndrew Geissler    libgudev \
24*edff4923SAndrew Geissler    libnma \
25*edff4923SAndrew Geissler    libpwquality \
26*edff4923SAndrew Geissler    libxml2 \
27*edff4923SAndrew Geissler    polkit \
28*edff4923SAndrew Geissler    pulseaudio \
29*edff4923SAndrew Geissler    samba \
30*edff4923SAndrew Geissler    setxkbmap-native \
31*edff4923SAndrew Geissler    tecla \
32*edff4923SAndrew Geissler    udisks2 \
33*edff4923SAndrew Geissler    upower \
34*edff4923SAndrew Geissler"
35*edff4923SAndrew Geissler
36*edff4923SAndrew Geisslerinherit gtk-icon-cache pkgconfig gnomebase gsettings gettext upstream-version-is-even bash-completion features_check useradd
37*edff4923SAndrew Geissler
38*edff4923SAndrew GeisslerREQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11"
39*edff4923SAndrew Geissler
40*edff4923SAndrew GeisslerSRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch"
41*edff4923SAndrew GeisslerSRC_URI[archive.sha256sum] = "6335c6cb8164e574db521fff61cfa3dfaa55f1db66ae3bca02750a193e1c4f3d"
42*edff4923SAndrew Geissler
43*edff4923SAndrew GeisslerPACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
44*edff4923SAndrew GeisslerPACKAGECONFIG[cups] = ",,cups,cups system-config-printer cups-pk-helper"
45*edff4923SAndrew GeisslerPACKAGECONFIG[ibus] = "-Dibus=true, -Dibus=false, ibus"
46*edff4923SAndrew GeisslerPACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland"
47*edff4923SAndrew GeisslerPACKAGECONFIG[file-share] = ",,,gnome-user-share"
48*edff4923SAndrew GeisslerPACKAGECONFIG[media-share] = ",,,rygel-meta tumbler"
49*edff4923SAndrew GeisslerPACKAGECONFIG[malcontent] = "-Dmalcontent=true,-Dmalcontent=false,malcontent,malcontent-ui"
50*edff4923SAndrew Geissler
51*edff4923SAndrew GeisslerEXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}"
52*edff4923SAndrew Geissler
53*edff4923SAndrew Geisslerexport XDG_DATA_DIRS = "${STAGING_DATADIR}"
54*edff4923SAndrew Geissler
55*edff4923SAndrew GeisslerUSERADD_PACKAGES = "${PN}"
56*edff4923SAndrew GeisslerUSERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
57*edff4923SAndrew Geissler
58*edff4923SAndrew Geisslerdo_install:append() {
59*edff4923SAndrew Geissler    if [ -d ${D}${datadir}/polkit-1/rules.d ]; then
60*edff4923SAndrew Geissler        chmod 700 ${D}${datadir}/polkit-1/rules.d
61*edff4923SAndrew Geissler        chown polkitd:root ${D}${datadir}/polkit-1/rules.d
62*edff4923SAndrew Geissler    fi
63*edff4923SAndrew Geissler}
64*edff4923SAndrew Geissler
65*edff4923SAndrew GeisslerPACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
66*edff4923SAndrew Geissler
67*edff4923SAndrew GeisslerFILES:${PN} += " \
68*edff4923SAndrew Geissler    ${datadir}/dbus-1 \
69*edff4923SAndrew Geissler    ${datadir}/gnome-shell \
70*edff4923SAndrew Geissler    ${datadir}/metainfo \
71*edff4923SAndrew Geissler"
72*edff4923SAndrew Geissler
73*edff4923SAndrew GeisslerFILES:${PN}-dev += "${datadir}/gettext"
74*edff4923SAndrew Geissler
75*edff4923SAndrew GeisslerRDEPENDS:${PN} += "gsettings-desktop-schemas tecla"
76