public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/xpilot/
@ 2017-01-31  0:59 Austin English
  0 siblings, 0 replies; 4+ messages in thread
From: Austin English @ 2017-01-31  0:59 UTC (permalink / raw
  To: gentoo-commits

commit:     65c125f28ba986e4e866a37bfff9a709f98de267
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 00:59:07 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 00:59:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c125f2

games-action/xpilot: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 games-action/xpilot/xpilot-4.5.5-r1.ebuild | 56 ++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/games-action/xpilot/xpilot-4.5.5-r1.ebuild b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
new file mode 100644
index 00000000..6541d99
--- /dev/null
+++ b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A multi-player 2D client/server space game"
+HOMEPAGE="http://www.xpilot.org/"
+SRC_URI="mirror://sourceforge/xpilotgame/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+	x11-libs/libXext"
+DEPEND="${RDEPEND}
+	app-text/rman
+	x11-misc/gccmakedep
+	x11-misc/imake
+	x11-proto/xextproto
+	x11-proto/xproto"
+
+src_prepare() {
+	#default
+	eapply_user
+
+	sed -i \
+		-e '/^INSTMAN/s:=.*:=/usr/share/man/man6:' \
+		-e "/^INSTLIB/s:=.*:=/usr/share/${PN}:" \
+		-e "/^INSTBIN/s:=.*:=/usr/bin:" \
+		Local.config || die
+
+	# work with glibc-2.20
+	sed -i \
+		-e 's/getline/lgetline/' \
+		src/client/textinterface.c || die
+}
+
+src_compile() {
+	xmkmf || die
+	emake Makefiles
+	emake includes
+	emake depend
+	emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS} ${LDFLAGS}"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	emake DESTDIR="${D}" install.man
+	newicon lib/textures/logo.ppm ${PN}.ppm
+	make_desktop_entry ${PN} XPilot /usr/share/pixmaps/${PN}.ppm
+	dodoc README.txt doc/{ChangeLog,CREDITS,FAQ,README*,TODO}
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-action/xpilot/
@ 2018-05-22  2:45 Matt Turner
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Turner @ 2018-05-22  2:45 UTC (permalink / raw
  To: gentoo-commits

commit:     fd215c2113832ec4a71451eefdb390252a8973aa
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue May 22 02:22:42 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 22 02:45:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd215c21

games-action/xpilot: Update dependencies (x11-proto/* -> x11-base/xorg-proto).

 games-action/xpilot/xpilot-4.5.5-r1.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-action/xpilot/xpilot-4.5.5-r1.ebuild b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
index cfd0162fb1a..ecc92dce870 100644
--- a/games-action/xpilot/xpilot-4.5.5-r1.ebuild
+++ b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,10 +17,9 @@ RDEPEND="x11-libs/libX11
 	x11-libs/libXext"
 DEPEND="${RDEPEND}
 	app-text/rman
+	x11-base/xorg-proto
 	x11-misc/gccmakedep
-	x11-misc/imake
-	x11-proto/xextproto
-	x11-proto/xproto"
+	x11-misc/imake"
 
 src_prepare() {
 	#default


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-action/xpilot/
@ 2018-08-15 10:33 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2018-08-15 10:33 UTC (permalink / raw
  To: gentoo-commits

commit:     d90602babd1398e4b8b765c71d2fbbf04ae334f0
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Thu Aug  2 23:37:30 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 15 10:33:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90602ba

games-action/xpilot: eutils->desktop

Only has eutils for the implicit desktop inheritance for
make_desktop_entry and newicon.

Package-Manager: Portage-2.3.44, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9426

 games-action/xpilot/xpilot-4.5.5-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-action/xpilot/xpilot-4.5.5-r1.ebuild b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
index ecc92dce870..d2003e60dd1 100644
--- a/games-action/xpilot/xpilot-4.5.5-r1.ebuild
+++ b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils toolchain-funcs
+
+inherit desktop toolchain-funcs
 
 DESCRIPTION="A multi-player 2D client/server space game"
 HOMEPAGE="http://www.xpilot.org/"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-action/xpilot/
@ 2021-08-27  9:28 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2021-08-27  9:28 UTC (permalink / raw
  To: gentoo-commits

commit:     a52f8d961e5359a29ce7e855da4e88f098ce533e
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Aug 25 16:03:54 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Aug 27 09:22:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52f8d96

games-action/xpilot: EAPI8, minor improvements

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/22101
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-action/xpilot/Manifest               |  1 +
 games-action/xpilot/xpilot-4.5.5-r1.ebuild | 43 ++++++++++++++++++------------
 2 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/games-action/xpilot/Manifest b/games-action/xpilot/Manifest
index dc9475dc910..ac0b093502d 100644
--- a/games-action/xpilot/Manifest
+++ b/games-action/xpilot/Manifest
@@ -1 +1,2 @@
 DIST xpilot-4.5.5.tar.bz2 1115502 BLAKE2B 9f7758dabc834f9ffad602e2ba215e1e08ff3f33b21480eae0176775d6c55df3e3238652e0cbbbc688acbab9e23395f46d853ee52fd55d177fdace5138621335 SHA512 002fbdbee3035e21f441d749d68ac41da2816a691e1c0d1cf9de9cddaa479c92da57eb36081884b9908a6ae83454f6f532c24c89280d27e2cbf9570442ef301c
+DIST xpilot.png 9682 BLAKE2B 689ac9d6efe54ee1d8c166543cd7c720ebd71c05818b074dffdcb1499d645c3cb9f9db00ce8c6f29d433255d0f58e2d30897f1438c0b41e13f5fd2043e5bac46 SHA512 5a59f01399b03852a795f5c475ce64cf2890e102b806c5e3540c635ad32d1a16f6a0e2c4dd8d0de0a33a9fbc907b68640f151905b71a54556b59a83602036f95

diff --git a/games-action/xpilot/xpilot-4.5.5-r1.ebuild b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
index c90d59c476c..28e96af330c 100644
--- a/games-action/xpilot/xpilot-4.5.5-r1.ebuild
+++ b/games-action/xpilot/xpilot-4.5.5-r1.ebuild
@@ -1,35 +1,44 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit desktop toolchain-funcs
 
-DESCRIPTION="A multi-player 2D client/server space game"
+DESCRIPTION="Multi-player 2D client/server space game"
 HOMEPAGE="http://www.xpilot.org/"
-SRC_URI="mirror://sourceforge/xpilotgame/${P}.tar.bz2"
+SRC_URI="
+	https://dev.gentoo.org/~ionen/distfiles/${PN}.png
+	mirror://sourceforge/xpilotgame/${P}.tar.bz2"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-RDEPEND="x11-libs/libX11
+RDEPEND="
+	x11-libs/libX11
 	x11-libs/libXext"
-DEPEND="${RDEPEND}
+DEPEND="
+	${RDEPEND}
+	x11-base/xorg-proto"
+BDEPEND="
 	app-text/rman
-	x11-base/xorg-proto
 	x11-misc/gccmakedep
 	>=x11-misc/imake-1.0.8-r1"
 
+DOCS=(
+	README.txt
+	doc/{ChangeLog,CREDITS,FAQ,TODO}
+	doc/README.{MAPS,MAPS2,SHIPS,sounds,talkmacros}
+)
+
 src_prepare() {
-	#default
-	eapply_user
+	default
 
 	sed -i \
-		-e '/^INSTMAN/s:=.*:=/usr/share/man/man6:' \
-		-e "/^INSTLIB/s:=.*:=/usr/share/${PN}:" \
-		-e "/^INSTBIN/s:=.*:=/usr/bin:" \
+		-e "/^INSTMAN/s|=.*|=${EPREFIX}/usr/share/man/man6|" \
+		-e "/^INSTLIB/s|=.*|=${EPREFIX}/usr/share/${PN}|" \
+		-e "/^INSTBIN/s|=.*|=${EPREFIX}/usr/bin|" \
 		Local.config || die
 
 	# work with glibc-2.20
@@ -53,9 +62,9 @@ src_compile() {
 }
 
 src_install() {
-	emake DESTDIR="${D}" install
+	default
 	emake DESTDIR="${D}" install.man
-	newicon lib/textures/logo.ppm ${PN}.ppm
-	make_desktop_entry ${PN} XPilot /usr/share/pixmaps/${PN}.ppm
-	dodoc README.txt doc/{ChangeLog,CREDITS,FAQ,README*,TODO}
+
+	doicon "${DISTDIR}"/${PN}.png
+	make_desktop_entry ${PN} XPilot
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-27  9:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-15 10:33 [gentoo-commits] repo/gentoo:master commit in: games-action/xpilot/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2021-08-27  9:28 Ionen Wolkens
2018-05-22  2:45 Matt Turner
2017-01-31  0:59 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox