From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/groundhog/
Date: Mon, 19 Apr 2021 19:12:43 +0000 (UTC) [thread overview]
Message-ID: <1618859530.8122ea6f8b26d76cce8fa2f11e1636b7f1dae198.sam@gentoo> (raw)
commit: 8122ea6f8b26d76cce8fa2f11e1636b7f1dae198
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 18:35:27 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 19:12:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8122ea6f
games-puzzle/groundhog: port to EAPI 7
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-puzzle/groundhog/groundhog-1.4-r1.ebuild | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/games-puzzle/groundhog/groundhog-1.4-r1.ebuild b/games-puzzle/groundhog/groundhog-1.4-r1.ebuild
index ba93616b670..5fc37b168a5 100644
--- a/games-puzzle/groundhog/groundhog-1.4-r1.ebuild
+++ b/games-puzzle/groundhog/groundhog-1.4-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit desktop epatch autotools
+EAPI=7
+
+inherit autotools desktop
DEB_VER="9"
DESCRIPTION="Put the balls in the pockets of the same color by manipulating a maze of tubes"
@@ -26,16 +27,22 @@ DEPEND="${RDEPEND}
src_prepare() {
default
- cd "${WORKDIR}"
- epatch groundhog_${PV}-${DEB_VER}.diff
- cd "${S}"
+
+ cd "${WORKDIR}" || die
+ eapply groundhog_${PV}-${DEB_VER}.diff
+
+ cd "${S}" || die
sed -e "s:groundhog-1.4/::" -i \
- debian/patches/sv.po.patch || die
+ "${WORKDIR}"/debian/patches/sv.po.patch || die
+
eapply \
- $(sed -e 's:^:debian/patches/:' debian/patches/series) \
+ $(sed -e "s:^:${WORKDIR}/debian/patches/:" "${WORKDIR}"/debian/patches/series) \
"${FILESDIR}"/${P}-flags.patch
+
mv configure.in configure.ac || die
+
AT_M4DIR="m4" eautoreconf
+
sed -i 's:$(localedir):/usr/share/locale:' \
$(find . -name 'Makefile.in*') || die
}
@@ -46,6 +53,7 @@ src_configure() {
src_install() {
default
+
doicon src/pixmaps/${PN}.xpm
make_desktop_entry ${PN} "Groundhog" /usr/share/pixmaps/${PN}.xpm
}
reply other threads:[~2021-04-19 19:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1618859530.8122ea6f8b26d76cce8fa2f11e1636b7f1dae198.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