From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1618991-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DEBB6158041
	for <garchives@archives.gentoo.org>; Tue,  9 Apr 2024 17:29:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A9C4FE2A24;
	Tue,  9 Apr 2024 17:29:00 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8E9B0E2A24
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 Apr 2024 17:29:00 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4EFA43432F8
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 Apr 2024 17:28:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8525A16B3
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 Apr 2024 17:28:56 +0000 (UTC)
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" <arthurzam@gentoo.org>
Message-ID: <1712683726.ed4c5f6e87df57849b5d6398499e520a5b6b0c89.arthurzam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mate-extra/mate-system-monitor/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mate-extra/mate-system-monitor/Manifest mate-extra/mate-system-monitor/mate-system-monitor-1.28.0.ebuild
X-VCS-Directories: mate-extra/mate-system-monitor/
X-VCS-Committer: arthurzam
X-VCS-Committer-Name: Arthur Zamarin
X-VCS-Revision: ed4c5f6e87df57849b5d6398499e520a5b6b0c89
X-VCS-Branch: master
Date: Tue,  9 Apr 2024 17:28:56 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 25fd97b1-001e-4791-8ee0-704b444f8dae
X-Archives-Hash: 1695e59da74f4d6bdce4e5a602780453

commit:     ed4c5f6e87df57849b5d6398499e520a5b6b0c89
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Sat Apr  6 15:48:59 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 17:28:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed4c5f6e

mate-extra/mate-system-monitor: add 1.28.0

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 mate-extra/mate-system-monitor/Manifest            |  1 +
 .../mate-system-monitor-1.28.0.ebuild              | 67 ++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/mate-extra/mate-system-monitor/Manifest b/mate-extra/mate-system-monitor/Manifest
index 50739b02bbf8..da3311852305 100644
--- a/mate-extra/mate-system-monitor/Manifest
+++ b/mate-extra/mate-system-monitor/Manifest
@@ -1,2 +1,3 @@
 DIST mate-system-monitor-1.26.2.tar.xz 2515076 BLAKE2B ca5aa8c80b2b6291a0b0867e4c9cfc93ed0b507cf502dde459a0d04ab9ec3ea59373defd6ecd1b98c903b4adc643c45472d8c9da3c5604d3225c38f0f7c59d1a SHA512 a57052a7f72923ab84aeb584ae2f5c4d9857076ca6cac21ef0e30551d84cdeaa4226fc324c9efc3e06a57ccfcb2fc17ac283aa64f636127a9cd645dbe36690e9
 DIST mate-system-monitor-1.26.3.tar.xz 2516144 BLAKE2B 2bb471152ce1c0739eb4ddc9140878f8830b93216182b6960af996c06f57035c22f3d5ddac37bfc0e5b59742250e823eb8c6de2c00be22c39cf8a2d3e7256e66 SHA512 81158393ca57e7f6cba142341aaae4af475331803d7f304afad8ea634670691a385083dd3ff4f0479fa50bbda2bd0a036656c2aca3dc03e0dc9eeb99db7fec41
+DIST mate-system-monitor-1.28.0.tar.xz 2518132 BLAKE2B 375f89b87b79dac58a50ea139995872aa0cba208c9559d819d46e30dd3871d1d5d3bfdf6611e098daedc7e56d7f26ecefcf10b79c642740189a27900c6015b59 SHA512 238b2a2ac927cef78a67421499eaa983f875f90f0eeee4f1dcb175627784da2c2de24d2e8831f26f05779974a842962880a0dfb4eaf4e297ba41a5c1e82d9fce

diff --git a/mate-extra/mate-system-monitor/mate-system-monitor-1.28.0.ebuild b/mate-extra/mate-system-monitor/mate-system-monitor-1.28.0.ebuild
new file mode 100644
index 000000000000..33bee63b0332
--- /dev/null
+++ b/mate-extra/mate-system-monitor/mate-system-monitor-1.28.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mate toolchain-funcs
+
+MINOR=$(($(ver_cut 2) % 2))
+if [[ ${MINOR} -eq 0 ]]; then
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="The MATE System Monitor"
+
+LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
+SLOT="0"
+IUSE="elogind systemd wnck"
+
+REQUIRED_USE="?? ( elogind systemd )"
+
+COMMON_DEPEND="
+	>=dev-cpp/glibmm-2.26:2
+	>=dev-cpp/gtkmm-3.8:3.0
+	>=dev-libs/glib-2.56:2
+	dev-libs/libsigc++:2
+	>=dev-libs/libxml2-2:2
+	>=gnome-base/libgtop-2.37.2:2=
+	>=gnome-base/librsvg-2.35:2
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf:2
+	>=x11-libs/gtk+-3.22:3
+	>=x11-libs/libwnck-3.0:3
+	elogind? ( sys-auth/elogind )
+	systemd? ( sys-apps/systemd )
+"
+
+RDEPEND="${COMMON_DEPEND}
+	>=sys-auth/polkit-0.97:0
+	virtual/libintl
+"
+
+DEPEND="${COMMON_DEPEND}
+	app-text/yelp-tools
+	>=sys-devel/gettext-0.19.8
+	>=dev-build/autoconf-2.63:*
+	virtual/pkgconfig
+"
+
+src_configure() {
+	local myconf=()
+
+	if use elogind || use systemd; then
+		myconf+=( --enable-systemd )
+		if use elogind; then
+			local pkgconfig="$(tc-getPKG_CONFIG)"
+			myconf+=(
+				SYSTEMD_CFLAGS="$(${pkgconfig} --cflags 'libelogind')"
+				SYSTEMD_LIBS="$(${pkgconfig} --libs 'libelogind')"
+			)
+		fi
+	else
+		myconf+=( --disable-systemd )
+	fi
+
+	mate_src_configure "${myconf[@]}" \
+		$(use_enable wnck)
+}