You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
2.6 KiB
123 lines
2.6 KiB
3 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
3 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
3 months ago
|
PYTHON_COMPAT=( python3_{10..12} )
|
||
2 years ago
|
|
||
|
inherit meson gnome2-utils python-any-r1 xdg virtualx
|
||
3 years ago
|
|
||
|
DESCRIPTION="Cinnamons's main interface to configure various aspects of the desktop"
|
||
|
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-control-center"
|
||
|
SRC_URI="https://github.com/linuxmint/cinnamon-control-center/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
2 years ago
|
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ MIT"
|
||
3 years ago
|
SLOT="0"
|
||
3 months ago
|
IUSE="+colord input_devices_wacom +networkmanager +modemmanager gnome-online-accounts systemd test wayland"
|
||
3 years ago
|
REQUIRED_USE="modemmanager? ( networkmanager )"
|
||
3 months ago
|
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||
3 years ago
|
RESTRICT="test"
|
||
|
|
||
|
COMMON_DEPEND="
|
||
1 year ago
|
app-accessibility/at-spi2-core:2
|
||
3 years ago
|
>=dev-libs/glib-2.44.0:2
|
||
|
>=gnome-base/libgnomekbd-3.0.0:0=
|
||
3 months ago
|
>=gnome-extra/cinnamon-desktop-6.0:0=
|
||
|
>=gnome-extra/cinnamon-menus-6.0
|
||
3 years ago
|
media-libs/fontconfig
|
||
|
>=sys-auth/polkit-0.103
|
||
1 year ago
|
>=sys-power/upower-0.99.8:=
|
||
3 years ago
|
>=x11-libs/gdk-pixbuf-2.23.0:2
|
||
3 months ago
|
>=x11-libs/gtk+-3.16.0:3[wayland=]
|
||
1 year ago
|
>=dev-libs/libgudev-232
|
||
|
>=x11-libs/libnotify-0.7.3
|
||
|
x11-libs/cairo
|
||
3 years ago
|
x11-libs/libX11
|
||
1 year ago
|
>=x11-libs/libxklavier-5.1:=
|
||
|
x11-libs/pango
|
||
3 years ago
|
|
||
3 months ago
|
colord? (
|
||
|
>=x11-misc/colord-0.1.14:0=
|
||
|
)
|
||
3 years ago
|
input_devices_wacom? (
|
||
2 years ago
|
>=dev-libs/libwacom-0.7:=
|
||
3 months ago
|
>=x11-libs/libXi-1.2
|
||
|
)
|
||
3 years ago
|
networkmanager? (
|
||
|
>=gnome-extra/nm-applet-1.2.0
|
||
2 years ago
|
>=net-libs/libnma-1.8.34
|
||
1 year ago
|
>=net-misc/networkmanager-1.2.0[modemmanager?]
|
||
3 years ago
|
|
||
3 months ago
|
modemmanager? (
|
||
|
>=net-misc/modemmanager-0.7:=
|
||
|
)
|
||
3 years ago
|
)
|
||
2 years ago
|
gnome-online-accounts? (
|
||
3 months ago
|
>=net-libs/gnome-online-accounts-3.18.0:=
|
||
2 years ago
|
)
|
||
3 years ago
|
"
|
||
|
RDEPEND="
|
||
|
${COMMON_DEPEND}
|
||
|
x11-themes/adwaita-icon-theme
|
||
|
|
||
3 months ago
|
colord? (
|
||
|
>=gnome-extra/gnome-color-manager-3
|
||
|
)
|
||
|
input_devices_wacom? (
|
||
|
gnome-extra/cinnamon-settings-daemon[input_devices_wacom]
|
||
|
)
|
||
|
systemd? (
|
||
|
>=sys-apps/systemd-31
|
||
|
)
|
||
|
!systemd? (
|
||
|
app-admin/openrc-settingsd
|
||
|
)
|
||
3 years ago
|
"
|
||
|
DEPEND="
|
||
|
${COMMON_DEPEND}
|
||
|
app-text/iso-codes
|
||
|
x11-base/xorg-proto
|
||
|
"
|
||
|
BDEPEND="
|
||
2 years ago
|
${PYTHON_DEPS}
|
||
3 years ago
|
dev-util/glib-utils
|
||
|
>=sys-devel/gettext-0.17
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
3 months ago
|
PATCHES=(
|
||
|
# Fix optional wayland
|
||
|
# https://github.com/linuxmint/cinnamon-control-center/pull/323
|
||
|
"${FILESDIR}/${PN}-6.0.0-fix-optional-wayland.patch"
|
||
|
)
|
||
|
|
||
2 years ago
|
src_prepare() {
|
||
|
default
|
||
|
python_fix_shebang meson_install_schemas.py
|
||
|
}
|
||
3 years ago
|
|
||
|
src_configure() {
|
||
|
local emesonargs=(
|
||
|
$(meson_use colord color)
|
||
|
$(meson_use modemmanager)
|
||
|
$(meson_use networkmanager)
|
||
2 years ago
|
$(meson_use gnome-online-accounts onlineaccounts)
|
||
3 years ago
|
$(meson_use input_devices_wacom wacom)
|
||
|
)
|
||
|
meson_src_configure
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
virtx meson_src_test
|
||
|
}
|
||
2 years ago
|
|
||
|
pkg_postinst() {
|
||
|
xdg_pkg_postinst
|
||
|
gnome2_schemas_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
xdg_pkg_postinst
|
||
|
gnome2_schemas_update
|
||
|
}
|