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-fps/legends/
Date: Sun,  4 Apr 2021 08:14:14 +0000 (UTC)	[thread overview]
Message-ID: <1617523985.58e1177c352505f53536b05e90e5e24a80210410.sam@gentoo> (raw)

commit:     58e1177c352505f53536b05e90e5e24a80210410
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 08:10:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 08:13:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e1177c

games-fps/legends: EAPI 7, eutils--, desktop++, wrapper++

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

 games-fps/legends/legends-0.4.1.43-r2.ebuild | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/games-fps/legends/legends-0.4.1.43-r2.ebuild b/games-fps/legends/legends-0.4.1.43-r2.ebuild
index e516f30fffc..f9421486173 100644
--- a/games-fps/legends/legends-0.4.1.43-r2.ebuild
+++ b/games-fps/legends/legends-0.4.1.43-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils unpacker
+EAPI=7
+
+inherit desktop unpacker wrapper
 
 MY_P=${PN}_linux-${PV}
 dir=/opt/${PN}
@@ -11,6 +12,7 @@ DESCRIPTION="Fast-paced first-person-shooter online multiplayer game, similar to
 HOMEPAGE="http://legendsthegame.net/"
 SRC_URI="http://legendsthegame.net/files/${MY_P}.run
 	mirror://gentoo/${PN}.png"
+S="${WORKDIR}"
 
 LICENSE="Legends LGPL-2.1+"
 SLOT="0"
@@ -21,7 +23,6 @@ RESTRICT="strip"
 QA_TEXTRELS="${dir:1}/libSDL-1.3.so.0"
 QA_FLAGS_IGNORED="${dir:1}/libSDL-1.3.so.0 ${dir:1}/LinLegends ${dir:1}/lindedicated"
 
-DEPEND=""
 RDEPEND="sys-libs/glibc
 	amd64? ( sys-libs/glibc[multilib] )
 	media-fonts/font-adobe-75dpi
@@ -32,11 +33,9 @@ RDEPEND="sys-libs/glibc
 	media-libs/libvorbis[abi_x86_32(-)]
 	media-libs/openal[abi_x86_32(-)]"
 
-S=${WORKDIR}
-
 src_unpack() {
 	unpack_makeself ${MY_P}.run
-	cd "${S}"
+	cd "${S}" || die
 
 	# keep libSDL-1.3.so because legends requires it as of 0.4.0, and
 	# 1.2.6 is highest in portage
@@ -48,7 +47,7 @@ src_install() {
 	insinto "${dir}"
 	doins -r *
 
-	rm "${D}/${dir}/"/{lindedicated,LinLegends,*.so.0}
+	rm "${ED}/${dir}/"/{lindedicated,LinLegends,*.so.0} || die
 	exeinto "${dir}"
 	doexe lindedicated LinLegends *.so.0
 


             reply	other threads:[~2021-04-04  8:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04  8:14 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-07  0:51 [gentoo-commits] repo/gentoo:master commit in: games-fps/legends/ Austin English

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=1617523985.58e1177c352505f53536b05e90e5e24a80210410.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