From: "Adam Feldman" <np-hardass@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-mate:master commit in: eclass/
Date: Wed, 9 Jun 2021 02:05:30 +0000 (UTC) [thread overview]
Message-ID: <1623204269.62b152f81e4100efc29170f81bdc1e5e861cd42a.np-hardass@gentoo> (raw)
commit: 62b152f81e4100efc29170f81bdc1e5e861cd42a
Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 8 23:19:32 2021 +0000
Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org>
CommitDate: Wed Jun 9 02:04:29 2021 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=62b152f8
eclass/mate{,-desktop.org}: sync from ::gentoo
Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org>
eclass/mate-desktop.org.eclass | 19 ++++++++-----------
eclass/mate.eclass | 4 ++--
2 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/eclass/mate-desktop.org.eclass b/eclass/mate-desktop.org.eclass
index 776a3a6..849479d 100644
--- a/eclass/mate-desktop.org.eclass
+++ b/eclass/mate-desktop.org.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: mate-desktop.org.eclass
@@ -6,6 +6,7 @@
# mate@gentoo.org
# @AUTHOR:
# Authors: NP-Hardass <NP-Hardass@gentoo.org> based upon the gnome.org eclass.
+# @SUPPORTED_EAPIS: 6
# @BLURB: Helper eclass for mate-desktop.org hosted archives
# @DESCRIPTION:
# Provide a default SRC_URI and EGIT_REPO_URI for MATE packages as well as
@@ -34,13 +35,13 @@ inherit versionator
# @DESCRIPTION:
# Name of the package as hosted on mate-desktop.org.
# Leave unset if package name matches PN.
-: ${MATE_DESKTOP_ORG_PN:=$PN}
+: ${MATE_DESKTOP_ORG_PN:=${PN}}
# @ECLASS-VARIABLE: MATE_DESKTOP_ORG_PV
# @DESCRIPTION:
# Package version string as listed on mate-desktop.org.
# Leave unset if package version string matches PV.
-: ${MATE_DESKTOP_ORG_PV:=$PV}
+: ${MATE_DESKTOP_ORG_PV:=${PV}}
# @ECLASS-VARIABLE: MATE_BRANCH
# @DESCRIPTION:
@@ -48,17 +49,13 @@ inherit versionator
# If live ebuild, will be set to '9999'.
: ${MATE_BRANCH:=$(get_version_component_range 1-2)}
-# Set SRC_URI or EGIT_REPO_URI based on whether live
+# Set SRC_URI or EGIT_REPO_URI based on whether live
if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="
- https://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git
- git://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git
- http://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git
- "
+ EGIT_REPO_URI="https://github.com/mate-desktop/${MATE_DESKTOP_ORG_PN}.git"
SRC_URI=""
else
- SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${MATE_DESKTOP_ORG_PN}-${MATE_DESKTOP_ORG_PV}.tar.${MATE_TARBALL_SUFFIX}"
+ SRC_URI="https://pub.mate-desktop.org/releases/${MATE_BRANCH}/${MATE_DESKTOP_ORG_PN}-${MATE_DESKTOP_ORG_PV}.tar.${MATE_TARBALL_SUFFIX}"
fi
# Set HOMEPAGE for all ebuilds
-HOMEPAGE="http://mate-desktop.org"
+HOMEPAGE="https://mate-desktop.org"
diff --git a/eclass/mate.eclass b/eclass/mate.eclass
index d7dd2db..34d5e47 100644
--- a/eclass/mate.eclass
+++ b/eclass/mate.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: mate.eclass
@@ -120,7 +120,7 @@ mate_src_configure() {
local mateconf=()
# Pass --disable-static whenever possible
- if ! use_if_iuse static-libs; then
+ if ! in_iuse static-libs || ! use static-libs; then
if grep -q "enable-static" "${ECONF_SOURCE:-.}"/configure; then
mateconf+=( --disable-static )
fi
next reply other threads:[~2021-06-09 2:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-09 2:05 Adam Feldman [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-30 14:19 [gentoo-commits] proj/gentoo-mate:master commit in: eclass/ Adam Feldman
2021-06-30 14:19 Adam Feldman
2017-03-01 15:57 Ettore Di Giacinto
2016-08-14 2:24 NP Hardass
2016-07-24 22:58 NP Hardass
2016-07-24 22:58 NP Hardass
2016-07-06 6:20 NP Hardass
2016-06-27 20:08 NP Hardass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1623204269.62b152f81e4100efc29170f81bdc1e5e861cd42a.np-hardass@gentoo \
--to=np-hardass@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox