commit:     55a20192db64141d119d16fdec4dacdd4a007b8f
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Mon Dec 18 02:38:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 21 11:49:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55a20192

mate-extra/mate-system-monitor: add 1.26.2, 1.27.0

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mate-extra/mate-system-monitor/Manifest            |  2 +
 .../mate-system-monitor-1.26.2.ebuild              | 66 ++++++++++++++++++++++
 .../mate-system-monitor-1.27.0.ebuild              | 66 ++++++++++++++++++++++
 3 files changed, 134 insertions(+)

diff --git a/mate-extra/mate-system-monitor/Manifest 
b/mate-extra/mate-system-monitor/Manifest
index 2e1937ca88a1..578e787e4b95 100644
--- a/mate-extra/mate-system-monitor/Manifest
+++ b/mate-extra/mate-system-monitor/Manifest
@@ -1 +1,3 @@
 DIST mate-system-monitor-1.26.0.tar.xz 2472116 BLAKE2B 
e9613206444ab59d3612168e72dedee70f7d39f531075609fd2d8a0d9c94a7150e0862fd635393739f78e3fb3384e5febeda5a64f4d7dc13ba3e2e2909169dbf
 SHA512 
90919af4808348f6d6a66a4dddb02f2b9d2dc2ee42100b28baa104a504b0b0a6d488814381a657d682b3f53e0a5cdf99fc0a6142eab86d77ca1d5147da526c58
+DIST mate-system-monitor-1.26.2.tar.xz 2515076 BLAKE2B 
ca5aa8c80b2b6291a0b0867e4c9cfc93ed0b507cf502dde459a0d04ab9ec3ea59373defd6ecd1b98c903b4adc643c45472d8c9da3c5604d3225c38f0f7c59d1a
 SHA512 
a57052a7f72923ab84aeb584ae2f5c4d9857076ca6cac21ef0e30551d84cdeaa4226fc324c9efc3e06a57ccfcb2fc17ac283aa64f636127a9cd645dbe36690e9
+DIST mate-system-monitor-1.27.0.tar.xz 2515804 BLAKE2B 
08a63af547141c7b6d83bdaa8f02d014f51abe04476c84adfd5f98b0bfd7c2a76b7c13922d9937a30eb26774fcfdc063ab63b3fd048e5b26d299f4aa5d5032d1
 SHA512 
6eeb8725c538c28b9766aabd0c10d20b8cd31e441452be813759d041125b35251e697acdbdbd786b58cedcf249caf5bb09616c72d27036a6a7b0f3b20ac9e60d

diff --git a/mate-extra/mate-system-monitor/mate-system-monitor-1.26.2.ebuild 
b/mate-extra/mate-system-monitor/mate-system-monitor-1.26.2.ebuild
new file mode 100644
index 000000000000..4cc884fdc0ed
--- /dev/null
+++ b/mate-extra/mate-system-monitor/mate-system-monitor-1.26.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mate toolchain-funcs
+
+if [[ ${PV} != 9999 ]]; 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
+       >=sys-devel/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)
+}

diff --git a/mate-extra/mate-system-monitor/mate-system-monitor-1.27.0.ebuild 
b/mate-extra/mate-system-monitor/mate-system-monitor-1.27.0.ebuild
new file mode 100644
index 000000000000..4cc884fdc0ed
--- /dev/null
+++ b/mate-extra/mate-system-monitor/mate-system-monitor-1.27.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mate toolchain-funcs
+
+if [[ ${PV} != 9999 ]]; 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
+       >=sys-devel/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)
+}

Reply via email to