public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/xgamer/
Date: Sat,  2 Jul 2022 21:50:15 +0000 (UTC)	[thread overview]
Message-ID: <1656798591.38421fb08a828adf7375f5290a978ee131b418e2.sam@gentoo> (raw)

commit:     38421fb08a828adf7375f5290a978ee131b418e2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 21:43:28 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 21:49:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38421fb0

games-util/xgamer: update EAPI 6->8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{xgamer-0.6.2.ebuild => xgamer-0.6.2-r1.ebuild}    | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/games-util/xgamer/xgamer-0.6.2.ebuild b/games-util/xgamer/xgamer-0.6.2-r1.ebuild
similarity index 74%
rename from games-util/xgamer/xgamer-0.6.2.ebuild
rename to games-util/xgamer/xgamer-0.6.2-r1.ebuild
index ab29f4ccbd52..5e9550c89395 100644
--- a/games-util/xgamer/xgamer-0.6.2.ebuild
+++ b/games-util/xgamer/xgamer-0.6.2-r1.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit perl-module
+EAPI=8
+
+inherit optfeature perl-module
 
 DESCRIPTION="A launcher for starting games in a second X session"
 HOMEPAGE="https://code.google.com/p/xgamer/"
 SRC_URI="https://xgamer.googlecode.com/files/${P}.tar.gz"
+S="${WORKDIR}"/${PN}
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND=">=dev-lang/perl-5.10
 	>=x11-libs/gtk+-2.18:2
@@ -24,10 +25,8 @@ RDEPEND=">=dev-lang/perl-5.10
 	dev-perl/glib-perl
 	x11-misc/numlockx
 	media-gfx/feh"
-DEPEND="${RDEPEND}
-	dev-perl/Module-Build"
-
-S=${WORKDIR}/${PN}
+DEPEND="${RDEPEND}"
+BDEPEND="dev-perl/Module-Build"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-desktopfile.patch
@@ -35,6 +34,5 @@ PATCHES=(
 )
 
 pkg_postinst() {
-	elog "optional dependencies:"
-	elog "  x11-wm/openbox (integrates well)"
+	optfeature "Integrates well for window management" x11-wm/openbox
 }


             reply	other threads:[~2022-07-02 21:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-02 21:50 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-19  4:12 [gentoo-commits] repo/gentoo:master commit in: games-util/xgamer/ Kent Fredric

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=1656798591.38421fb08a828adf7375f5290a978ee131b418e2.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