From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/asapm/
Date: Tue, 20 Apr 2021 01:42:41 +0000 (UTC) [thread overview]
Message-ID: <1618882946.6c408ec4cba6795b779b5a84de96f887ee3705b7.sam@gentoo> (raw)
commit: 6c408ec4cba6795b779b5a84de96f887ee3705b7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 01:37:55 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:42:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c408ec4
x11-plugins/asapm: port to EAPI 7
Signed-off-by: Sam James <sam <AT> gentoo.org>
x11-plugins/asapm/asapm-3.1-r1.ebuild | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/x11-plugins/asapm/asapm-3.1-r1.ebuild b/x11-plugins/asapm/asapm-3.1-r1.ebuild
index e0d99b379ad..538bca9b051 100644
--- a/x11-plugins/asapm/asapm-3.1-r1.ebuild
+++ b/x11-plugins/asapm/asapm-3.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit autotools epatch toolchain-funcs
+inherit autotools toolchain-funcs
DESCRIPTION="APM monitor for AfterStep"
HOMEPAGE="http://tigr.net/afterstep/applets/"
@@ -12,19 +12,27 @@ SRC_URI="http://www.tigr.net/afterstep/download/asapm/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc -sparc ~x86"
-IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXpm"
-
DEPEND="${RDEPEND}
x11-base/xorg-proto"
+PATCHES=(
+ "${FILESDIR}"/${P}-ldflags.patch
+ "${FILESDIR}"/${P}-include.patch
+ "${FILESDIR}"/${P}-autoconf.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-{ldflags,include,autoconf}.patch
- cp autoconf/configure.in . || die
- AT_M4DIR=autoconf eautoconf
+ default
+
tc-export CC
+
+ cp autoconf/configure.in . || die
+ mv configure.{in,ac} || die
+
+ AT_M4DIR=autoconf eautoreconf
}
src_install() {
next reply other threads:[~2021-04-20 1:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-20 1:42 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-18 6:06 [gentoo-commits] repo/gentoo:master commit in: x11-plugins/asapm/ Sam James
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=1618882946.6c408ec4cba6795b779b5a84de96f887ee3705b7.sam@gentoo \
--to=sam@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