gnome-extra/resources - 9999 (Miezhiko)

Search

Install

Install this version:

emerge -a =gnome-extra/resources-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gnome-extra/resources-9999

Or alternatively:

emerge --autounmask-write -a =gnome-extra/resources-9999

Package Information

Description:
A system resources monitor for GNOME
Homepage:
https://apps.gnome.org/app/org.gnome.Resources/ https://gitlab.gnome.org/GNOME/Incubator/resources
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

RUST_MIN_VER="1.92.0"
inherit cargo git-r3 gnome2-utils meson xdg

DESCRIPTION="A system resources monitor for GNOME"
HOMEPAGE="https://apps.gnome.org/app/org.gnome.Resources/ https://gitlab.gnome.org/GNOME/Incubator/resources"

EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/Incubator/resources.git"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=gui-libs/gtk-4.12:4
	>=gui-libs/libadwaita-1.8:1
	>=dev-libs/glib-2.66:2
	sys-auth/polkit
"
DEPEND="${RDEPEND}"
BDEPEND="
	${RUST_DEPEND}
	dev-util/itstool
	>=sys-devel/gettext-0.19.8
	virtual/pkgconfig
"

src_unpack() {
	git-r3_src_unpack
	cargo_live_src_unpack
}

src_prepare() {
	default
	sed -i "/CARGO_HOME/d" src/meson.build || die
}

src_configure() {
	local emesonargs=(
		-Dprofile=release
		-Ddevelopment_build=false
	)
	meson_src_configure
}

pkg_postinst() {
	xdg_pkg_postinst
	gnome2_schemas_update
}

pkg_postrm() {
	xdg_pkg_postrm
	gnome2_schemas_update
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	>=gui-libs/gtk-4.12:4
	>=gui-libs/libadwaita-1.8:1
	>=dev-libs/glib-2.66:2
	sys-auth/polkit

RDEPEND

	>=gui-libs/gtk-4.12:4
	>=gui-libs/libadwaita-1.8:1
	>=dev-libs/glib-2.66:2
	sys-auth/polkit

BDEPEND

	
	dev-util/itstool
	>=sys-devel/gettext-0.19.8
	virtual/pkgconfig