1 |
|
# Copyright 1999-2023 Gentoo Authors
|
|
1 |
# Copyright 2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
5 |
PYTHON_COMPAT=( python3_{10..11} )
|
6 |
6 |
|
7 |
7 |
inherit gnome.org gnome2-utils meson python-any-r1 virtualx xdg
|
8 |
8 |
|
9 |
9 |
DESCRIPTION="GNOME's main interface to configure various aspects of the desktop"
|
10 |
10 |
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-control-center"
|
11 |
|
SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${PN}-44.0-patchset.tar.xz"
|
|
11 |
SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${PN}-45.0-patchset.tar.xz"
|
12 |
12 |
SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${PN}-gentoo-logo.svg"
|
13 |
13 |
SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${PN}-gentoo-logo-dark.svg"
|
14 |
14 |
# Logo is CC-BY-SA-2.5
|
... | ... | |
18 |
18 |
RESTRICT="!test? ( test )"
|
19 |
19 |
REQUIRED_USE="
|
20 |
20 |
^^ ( elogind systemd )
|
21 |
|
" # Theoretically "?? ( elogind systemd )" is fine too, lacking some functionality at runtime, but needs testing if handled gracefully enough
|
22 |
|
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
|
|
21 |
" # Theoretically "?? ( elogind systemd )" is fine too, lacking some functionality at runtime,
|
|
22 |
# but needs testing if handled gracefully enough
|
|
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
|
|
24 |
|
|
25 |
# meson.build depends on python unconditionally
|
|
26 |
BDEPEND="${PYTHON_DEPS}"
|
23 |
27 |
|
24 |
28 |
# kerberos unfortunately means mit-krb5; build fails with heimdal
|
25 |
29 |
# display panel requires colord and gnome-settings-daemon[colord]
|
26 |
30 |
# wacom panel requires gsd-enums.h from gsd at build time, probably also runtime support
|
27 |
31 |
# printer panel requires cups and smbclient (the latter is not patched yet to be separately optional)
|
28 |
|
# 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
|
|
32 |
# First block is toplevel meson.build deps in order of occurrence (plus deeper deps if in same conditional).
|
|
33 |
# Second block is dependency() from subdir meson.builds, sorted by directory name occurrence order
|
29 |
34 |
DEPEND="
|
30 |
35 |
gnome-online-accounts? (
|
31 |
36 |
x11-libs/gtk+:3
|
32 |
37 |
>=net-libs/gnome-online-accounts-3.25.3:=
|
33 |
38 |
)
|
34 |
39 |
>=media-libs/libpulse-2.0[glib]
|
35 |
|
>=gui-libs/gtk-4.9.3:4[X,wayland=]
|
36 |
|
>=gui-libs/libadwaita-1.2.0:1
|
|
40 |
>=gui-libs/gtk-4.11.2:4[X,wayland=]
|
|
41 |
>=gui-libs/libadwaita-1.4_alpha:1
|
37 |
42 |
>=sys-apps/accountsservice-0.6.39
|
38 |
43 |
>=x11-misc/colord-0.1.34:0=
|
39 |
44 |
>=x11-libs/gdk-pixbuf-2.23.0:2
|
... | ... | |
79 |
84 |
# Settings/Sound/Output/Output Device, bug #814110
|
80 |
85 |
# systemd/elogind USE flagged because package manager will potentially try to satisfy a
|
81 |
86 |
# "|| ( systemd ( elogind openrc-settingsd)" via systemd if openrc-settingsd isn't already installed.
|
82 |
|
# libgnomekbd needed only for gkbd-keyboard-display tool
|
83 |
87 |
# gnome-color-manager needed for gcm-calibrate and gcm-viewer calls from color panel
|
84 |
88 |
# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
|
85 |
89 |
#
|
... | ... | |
102 |
106 |
app-admin/system-config-printer
|
103 |
107 |
net-print/cups-pk-helper
|
104 |
108 |
)
|
105 |
|
>=gnome-base/libgnomekbd-3
|
|
109 |
gnome-extra/tecla
|
106 |
110 |
wayland? ( dev-libs/libinput )
|
107 |
111 |
!wayland? (
|
108 |
112 |
>=x11-drivers/xf86-input-libinput-0.19.0
|
... | ... | |
114 |
118 |
PDEPEND=">=gnome-base/gnome-session-2.91.6-r1
|
115 |
119 |
networkmanager? ( gnome-extra/nm-applet )" # networking panel can call into nm-connection-editor
|
116 |
120 |
|
117 |
|
# meson.build depends on python unconditionally
|
118 |
|
BDEPEND="${PYTHON_DEPS}
|
|
121 |
BDEPEND="
|
119 |
122 |
dev-libs/libxslt
|
120 |
123 |
app-text/docbook-xsl-stylesheets
|
121 |
124 |
app-text/docbook-xml-dtd:4.2
|
... | ... | |
172 |
175 |
$(meson_use test tests)
|
173 |
176 |
$(meson_use input_devices_wacom wacom)
|
174 |
177 |
#$(meson_use wayland) # doesn't do anything in 3.34 and 3.36 due to unified gudev handling code
|
175 |
|
# bashcompletions installed to $datadir/bash-completion/completions by v3.28.2, which is the same as $(get_bashcompdir)
|
|
178 |
# bashcompletions installed to $datadir/bash-completion/completions by v3.28.2,
|
|
179 |
# which is the same as $(get_bashcompdir)
|
176 |
180 |
-Dmalcontent=false # unpackaged
|
177 |
181 |
-Ddistributor_logo=/usr/share/pixmaps/gnome-control-center-gentoo-logo.svg
|
178 |
182 |
-Ddark_mode_distributor_logo=/usr/share/pixmaps/gnome-control-center-gentoo-logo-dark.svg
|