public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-fps/etqw-demo/
@ 2019-09-23 14:23 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2019-09-23 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     82e1d6eedd1442b3d35cf0ff231ea12abf438809
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 14:20:20 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 14:23:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e1d6ee

games-fps/etqw-demo: Add RESTRICT=bindist

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild b/games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild
index 57a181dc367..862cea3fb0d 100644
--- a/games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild
+++ b/games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild
@@ -17,7 +17,7 @@ LICENSE="ETQW"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
-RESTRICT="strip mirror"
+RESTRICT="bindist strip mirror"
 
 DEPEND="app-arch/unzip"
 RDEPEND=">=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/etqw-demo/
@ 2021-04-06 19:47 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2021-04-06 19:47 UTC (permalink / raw
  To: gentoo-commits

commit:     c4f81592921a4a86f40b35999d435c79a2784e64
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 19:45:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 19:45:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f81592

games-fps/etqw-demo: port to EAPI 7, games.eclass--

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

 ...2.0_p1-r2.ebuild => etqw-demo-2.0_p1-r3.ebuild} | 42 ++++++++++++----------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild b/games-fps/etqw-demo/etqw-demo-2.0_p1-r3.ebuild
similarity index 64%
rename from games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild
rename to games-fps/etqw-demo/etqw-demo-2.0_p1-r3.ebuild
index 862cea3fb0d..244db5ad24e 100644
--- a/games-fps/etqw-demo/etqw-demo-2.0_p1-r2.ebuild
+++ b/games-fps/etqw-demo/etqw-demo-2.0_p1-r3.ebuild
@@ -1,37 +1,43 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit unpacker eutils versionator games
+EAPI=7
 
-MY_MAJOR=$(get_major_version)
-MY_REV=$(get_version_component_range 3)
+inherit desktop unpacker wrapper
+
+MY_MAJOR=$(ver_cut 1)
+MY_REV=$(ver_cut 3-)
 MY_BODY="ETQW-demo${MY_MAJOR}-client-full.r${MY_REV/p/}.x86"
 
 DESCRIPTION="Enemy Territory: Quake Wars demo"
 HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/"
 SRC_URI="mirror://idsoftware/etqw/${MY_BODY}.run"
+S="${WORKDIR}"
 
 # See copyrights.txt
 LICENSE="ETQW"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 RESTRICT="bindist strip mirror"
 
-DEPEND="app-arch/unzip"
-RDEPEND=">=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
-	virtual/jpeg-compat:62[abi_x86_32(-)]
+RDEPEND="
 	>=media-libs/libsdl-1.2.15-r4[video,sound,opengl,abi_x86_32(-)]
+	sys-libs/ncurses-compat[abi_x86_32(-)]
+	>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
+	virtual/jpeg-compat:62[abi_x86_32(-)]
 	>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
-	>=x11-libs/libXext-1.3.2[abi_x86_32(-)]"
+	>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
+"
 
-S=${WORKDIR}
-dir=${GAMES_PREFIX_OPT}/${PN}
+BDEPEND="app-arch/unzip"
 
-QA_PREBUILT="${dir:1}/guis/libmojosetupgui_ncurses.so
+dir=opt/${PN}
+
+QA_PREBUILT="
+	${dir:1}/guis/libmojosetupgui_ncurses.so
 	${dir:1}/data/*
-	${dir:1}/data/pb/*.so"
+	${dir:1}/data/pb/*.so
+"
 
 src_unpack() {
 	# exit status of 1 should just be warnings, not corrupt archive
@@ -42,7 +48,7 @@ src_install() {
 	insinto "${dir}"
 	doins -r guis scripts
 
-	cd data
+	cd data || die
 	insinto "${dir}"/data
 	doins -r base pb etqw_icon.png
 	dodoc README.txt EULA.txt copyrights.txt etqwtv.txt
@@ -50,11 +56,9 @@ src_install() {
 	exeinto "${dir}"/data
 	doexe etqw *\.x86 etqw-* libCgx86* libSDL* *.sh
 
-	games_make_wrapper ${PN} ./etqw.x86 "${dir}"/data "${dir}"/data
+	make_wrapper ${PN} ./etqw.x86 "${dir}"/data "${dir}"/data
 	# Matches with desktop entry for enemy-territory-truecombat
 	make_desktop_entry ${PN} "Enemy Territory - Quake Wars (Demo)"
 
-	games_make_wrapper ${PN}-ded ./etqwded.x86 "${dir}"/data "${dir}"/data
-
-	prepgamesdirs
+	make_wrapper ${PN}-ded ./etqwded.x86 "${dir}"/data "${dir}"/data
 }


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

* [gentoo-commits] repo/gentoo:master commit in: games-fps/etqw-demo/
@ 2022-01-22  9:37 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2022-01-22  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     cecaa13c3363bb568da76b31b784fcb53ba44bbe
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Jan 20 20:13:38 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 22 09:36:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecaa13c

games-fps/etqw-demo: fix HOMEPAGE, use https

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/23889
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild b/games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild
index 9b412a633907..a5b05126980f 100644
--- a/games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild
+++ b/games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ MY_REV=$(ver_cut 3-)
 MY_BODY="ETQW-demo${MY_MAJOR}-client-full.r${MY_REV/p/}.x86"
 
 DESCRIPTION="Enemy Territory: Quake Wars demo"
-HOMEPAGE="http://zerowing.idsoftware.com/linux/etqw/"
+HOMEPAGE="https://zerowing.idsoftware.com/linux/etqw/ETQWFrontPage/index.html"
 SRC_URI="mirror://idsoftware/etqw/${MY_BODY}.run"
 S="${WORKDIR}"
 


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

end of thread, other threads:[~2022-01-22  9:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-22  9:37 [gentoo-commits] repo/gentoo:master commit in: games-fps/etqw-demo/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2021-04-06 19:47 Sam James
2019-09-23 14:23 Michał Górny

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