summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jordan <immoloism@gmail.com>2024-01-03 18:16:43 +0000
committerSam James <sam@gentoo.org>2024-01-19 10:49:35 +0000
commit134748ddf896de9f25a5ac5bc5f4f78e4d01bd0c (patch)
tree93c6c21f072d9922de430ce29de4da40f6ea6b56 /mate-base
parentmate-base/mate-applets-meta: ebuild cleanup (diff)
downloadgentoo-134748ddf896de9f25a5ac5bc5f4f78e4d01bd0c.tar.gz
gentoo-134748ddf896de9f25a5ac5bc5f4f78e4d01bd0c.tar.bz2
gentoo-134748ddf896de9f25a5ac5bc5f4f78e4d01bd0c.zip
mate-base/mate-applets-meta: add networkmanager USE
Upstream recommend the use of gnome-extra/nm-applet as their applet of choice for managing networking in MATE so this change matches that if a user wishes to have an upstream requirement. Signed-off-by: Ian Jordan <immoloism@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mate-base')
-rw-r--r--mate-base/mate-applets-meta/mate-applets-meta-1.26.0.ebuild12
-rw-r--r--mate-base/mate-applets-meta/mate-applets-meta-1.27.1.ebuild3
2 files changed, 8 insertions, 7 deletions
diff --git a/mate-base/mate-applets-meta/mate-applets-meta-1.26.0.ebuild b/mate-base/mate-applets-meta/mate-applets-meta-1.26.0.ebuild
index d0d42908e94f..0c2d33b0cbf3 100644
--- a/mate-base/mate-applets-meta/mate-applets-meta-1.26.0.ebuild
+++ b/mate-base/mate-applets-meta/mate-applets-meta-1.26.0.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-if [[ ${PV} == 9999 ]]; then
- MATE_BRANCH=9999
-else
- MATE_BRANCH="$(ver_cut 1-2)"
+MATE_BRANCH="$(ver_cut 1-2)"
+MINOR=$(($(ver_cut 2) % 2))
+if [[ ${MINOR} -eq 0 ]]; then
KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86"
fi
@@ -15,9 +14,10 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
LICENSE="metapackage"
SLOT="0"
-IUSE="appindicator sensors"
+IUSE="appindicator networkmanager sensors"
RDEPEND="=mate-base/mate-applets-${MATE_BRANCH}*
appindicator? ( =mate-extra/mate-indicator-applet-${MATE_BRANCH}* )
+ networkmanager? ( gnome-extra/nm-applet )
sensors? ( =mate-extra/mate-sensors-applet-${MATE_BRANCH}* )
"
diff --git a/mate-base/mate-applets-meta/mate-applets-meta-1.27.1.ebuild b/mate-base/mate-applets-meta/mate-applets-meta-1.27.1.ebuild
index ab245c398254..d99a301b6609 100644
--- a/mate-base/mate-applets-meta/mate-applets-meta-1.27.1.ebuild
+++ b/mate-base/mate-applets-meta/mate-applets-meta-1.27.1.ebuild
@@ -14,9 +14,10 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
LICENSE="metapackage"
SLOT="0"
-IUSE="appindicator sensors"
+IUSE="appindicator networkmanager sensors"
RDEPEND="=mate-base/mate-applets-${MATE_BRANCH}*
appindicator? ( =mate-extra/mate-indicator-applet-${MATE_BRANCH}* )
+ networkmanager? ( gnome-extra/nm-applet )
sensors? ( =mate-extra/mate-sensors-applet-${MATE_BRANCH}* )
"