public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/scorched3d/
Date: Sun,  4 Apr 2021 22:29:32 +0000 (UTC)	[thread overview]
Message-ID: <1617575309.6cba898d0f8b83f27d255855eaa85a0a2d040704.soap@gentoo> (raw)

commit:     6cba898d0f8b83f27d255855eaa85a0a2d040704
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 22:28:29 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 22:28:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cba898d

games-strategy/scorched3d: Port to EAPI 7

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-strategy/scorched3d/scorched3d-44-r2.ebuild | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

diff --git a/games-strategy/scorched3d/scorched3d-44-r2.ebuild b/games-strategy/scorched3d/scorched3d-44-r2.ebuild
index 384864e070c..2916571b3d9 100644
--- a/games-strategy/scorched3d/scorched3d-44-r2.ebuild
+++ b/games-strategy/scorched3d/scorched3d-44-r2.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-WX_GTK_VER=3.0
-
-inherit autotools eutils wxwidgets
+WX_GTK_VER="3.0"
+inherit autotools desktop edos2unix wxwidgets
 
 DESCRIPTION="Multi-player tank battle in 3D (OpenGL)"
 HOMEPAGE="http://www.scorched3d.co.uk/"
 SRC_URI="mirror://sourceforge/scorched3d/Scorched3D-${PV}-src.tar.gz"
+S="${WORKDIR}/scorched"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -37,10 +37,8 @@ RDEPEND="
 		sci-libs/fftw:3.0=
 	)
 	mysql? ( virtual/mysql )"
-DEPEND="${RDEPEND}
-	!dedicated? ( virtual/pkgconfig )"
-
-S=${WORKDIR}/scorched
+DEPEND="${RDEPEND}"
+BDEPEND="!dedicated? ( virtual/pkgconfig )"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-fixups.patch
@@ -53,10 +51,6 @@ PATCHES=(
 	"${FILESDIR}"/${P}-fix-c++14.patch
 )
 
-pkg_setup() {
-	setup-wxwidgets
-}
-
 src_prepare() {
 	edos2unix \
 		src/launcher/wxdialogs/SettingsDialog.cpp \
@@ -68,6 +62,7 @@ src_prepare() {
 }
 
 src_configure() {
+	setup-wxwidgets
 	econf \
 		--datadir="${EPREFIX}"/usr/share/${PN} \
 		--with-fftw="${EPREFIX}"/usr \
@@ -84,7 +79,7 @@ src_install() {
 	default
 
 	# remove bundled fonts
-	rm "${ED%/}"/usr/share/${PN}/data/fonts/* || die
+	rm "${ED}"/usr/share/${PN}/data/fonts/* || die
 	dosym ../../../fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/data/fonts/dejavusans.ttf
 	dosym ../../../fonts/dejavu/DejaVuSansCondensed-Bold.ttf /usr/share/${PN}/data/fonts/dejavusconbd.ttf
 	dosym ../../../fonts/dejavu/DejaVuSansMono-Bold.ttf /usr/share/${PN}/data/fonts/dejavusmobd.ttf


             reply	other threads:[~2021-04-04 22:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04 22:29 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-05 17:49 [gentoo-commits] repo/gentoo:master commit in: games-strategy/scorched3d/ Pacho Ramos
2024-03-06  3:37 Sam James
2017-12-21  1:57 David Seifert
2017-10-31 18:41 Andreas Hüttel
2017-10-27 12:54 Thomas Deutschmann
2017-10-15 12:53 Sergei Trofimovich
2015-12-29  7:41 Michael Sterrett
2015-12-26 10:36 Agostino Sarubbo
2015-12-21  5:39 Jeroen Roovers
2015-12-16 10:12 Agostino Sarubbo

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=1617575309.6cba898d0f8b83f27d255855eaa85a0a2d040704.soap@gentoo \
    --to=soap@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