From 4323b37928d834cc7308d2d1865c12df98f0baa5 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 20 Dec 2025 13:47:52 +0100 Subject: [PATCH] gnome-extra/gnome-system-monitor: add 49.1 Closes: https://bugs.gentoo.org/962662 Signed-off-by: Pacho Ramos --- gnome-extra/gnome-system-monitor/Manifest | 1 + .../gnome-system-monitor-49.1.ebuild | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 gnome-extra/gnome-system-monitor/gnome-system-monitor-49.1.ebuild diff --git a/gnome-extra/gnome-system-monitor/Manifest b/gnome-extra/gnome-system-monitor/Manifest index d666d44ee8d8..55b58c9af8d3 100644 --- a/gnome-extra/gnome-system-monitor/Manifest +++ b/gnome-extra/gnome-system-monitor/Manifest @@ -1,2 +1,3 @@ DIST gnome-system-monitor-47.1.tar.xz 1093736 BLAKE2B 865c367a19ccbc54d595107e11f314ff28e16f94a55bfb95ecbebf5247360db1fa3d3a175de5f88b6c9ed51013e035a226edff50e22e7311f92d2facec388d61 SHA512 c7c5f1080696e06faa886d30d7256e8302a8fe95481fe5148f69fbce5f83603a81b0e2cdd3e4f7a5d4c17fe174498cf8f5ac69d391b58fd440a969361a0753e5 DIST gnome-system-monitor-48.1.tar.xz 1103524 BLAKE2B 5321d39db10a6ae51b799893e9ced0e8baeb00c67b068257f09fb724bc8b5ea2f1169a6b93e14d362e63d0dc7946f47d556f2824024b66ca35a5954fb68573b0 SHA512 4286f1b51a77097cbc249f88e3f0807e9ef7e83fcbca7326df37e017ed3f5b6528f377c6906c4a02dc7ad4b9931282775a0654c53c5228bee6e0d17b3c28cd78 +DIST gnome-system-monitor-49.1.tar.xz 1105840 BLAKE2B 95891825a38908aa56d50e143f8e7fe86aaf11a0841d63441dced07b3193329fb3dc459daaf56d0670dd7cef4fe344f18a59ec9094780c607216525f6714e600 SHA512 cf7442e480b654855c353503d1a8dad73906d926687ed30af7e882386dc55e13769c82f89cdc959aba5ac0cb5ebc6c9fc1703e17015dc3d5f77eac403c3d327a diff --git a/gnome-extra/gnome-system-monitor/gnome-system-monitor-49.1.ebuild b/gnome-extra/gnome-system-monitor/gnome-system-monitor-49.1.ebuild new file mode 100644 index 000000000000..89ff8effd72e --- /dev/null +++ b/gnome-extra/gnome-system-monitor/gnome-system-monitor-49.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome.org gnome2-utils meson xdg + +DESCRIPTION="The Gnome System Monitor" +HOMEPAGE="https://apps.gnome.org/SystemMonitor/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +IUSE="systemd" + +RDEPEND=" + >=dev-cpp/glibmm-2.68:2.68 + >=dev-libs/glib-2.56.0:2 + >=gui-libs/gtk-4.12.0:4 + >=dev-cpp/gtkmm-4.0.0:4.0 + >=gnome-base/libgtop-2.41.2:2= + >=gui-libs/libadwaita-1.6_alpha:1 + >=gnome-base/librsvg-2.46:2 + systemd? ( >=sys-apps/systemd-44:0= ) +" +# eautoreconf requires gnome-base/gnome-common +DEPEND="${RDEPEND}" +BDEPEND=" + dev-cpp/catch:0 + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + >=sys-auth/polkit-0.114 +" # polkit needed at buildtime for ITS rules of policy files, first available in 0.114 + +src_configure() { + local emesonargs=( + $(meson_use systemd) + -Ddevelopment=false + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}