# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 virtualx xdg DESCRIPTION="GNOME's main interface to configure various aspects of the desktop" HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-control-center" SRC_URI+=" https://dev.gentoo.org/~pacho/${PN}/${P}-patchset-r1.tar.xz" SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${PN}-gentoo-logo.svg" SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${PN}-gentoo-logo-dark.svg" # Logo is CC-BY-SA-2.5 LICENSE="GPL-2+ CC-BY-SA-2.5" SLOT="2" KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" IUSE="+bluetooth +cups debug elogind +gnome-online-accounts +ibus input_devices_wacom kerberos +geolocation networkmanager systemd test wayland" REQUIRED_USE=" ^^ ( elogind systemd ) " # Theoretically "?? ( elogind systemd )" is fine too, lacking some functionality at runtime, # but needs testing if handled gracefully enough RESTRICT="!test? ( test )" # kerberos unfortunately means mit-krb5; build fails with heimdal # display panel requires colord and gnome-settings-daemon[colord] # wacom panel requires gsd-enums.h from gsd at build time, probably also runtime support # printer panel requires cups and smbclient (the latter is not patched yet to be separately optional) # First block is toplevel meson.build deps in order of occurrence (plus deeper deps if in same conditional). # Second block is dependency() from subdir meson.builds, sorted by directory name occurrence order DEPEND=" gnome-online-accounts? ( x11-libs/gtk+:3 >=net-libs/gnome-online-accounts-3.49.1:= ) >=media-libs/libpulse-2.0[glib] >=gui-libs/gtk-4.11.2:4[X,wayland=] >=gui-libs/libadwaita-1.4_alpha:1 >=sys-apps/accountsservice-0.6.39 >=x11-misc/colord-0.1.34:0= >=x11-libs/gdk-pixbuf-2.23.0:2 >=dev-libs/glib-2.76.6:2 gnome-base/gnome-desktop:4= >=gnome-base/gnome-settings-daemon-41.0[colord,input_devices_wacom?] >=gnome-base/gsettings-desktop-schemas-46_beta dev-libs/libxml2:2 >=sys-power/upower-0.99.8:= >=dev-libs/libgudev-232 >=x11-libs/libX11-1.8 >=x11-libs/libXi-1.2 media-libs/libepoxy >=app-crypt/gcr-4.1.0 >=dev-libs/libpwquality-1.2.2 >=sys-auth/polkit-0.114 cups? ( >=net-print/cups-1.7[dbus] >=net-fs/samba-4.0.0[client] ) ibus? ( >=app-i18n/ibus-1.5.2 ) networkmanager? ( >=net-libs/libnma-1.10.2 >=net-misc/networkmanager-1.24.0[modemmanager] >=net-misc/modemmanager-0.7.990:= ) bluetooth? ( net-wireless/gnome-bluetooth:3= ) input_devices_wacom? ( >=dev-libs/libwacom-1.4:= ) kerberos? ( app-crypt/mit-krb5 ) x11-libs/cairo[glib] >=x11-libs/colord-gtk-0.3.0:= media-libs/fontconfig gnome-base/libgtop:2= >=sys-fs/udisks-2.1.8:2 app-crypt/libsecret net-libs/gnutls:= media-libs/gsound x11-libs/pango " # media-libs/libcanberra[pulseaudio,sound] needed for Speaker tests in # Settings/Sound/Output/Output Device, bug #814110 # systemd/elogind USE flagged because package manager will potentially try to satisfy a # "|| ( systemd ( elogind openrc-settingsd)" via systemd if openrc-settingsd isn't already installed. # gnome-color-manager needed for gcm-calibrate and gcm-viewer calls from color panel #