public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-action/descent2-vertigo/
@ 2017-04-27 21:41 James Le Cuirot
  0 siblings, 0 replies; 5+ messages in thread
From: James Le Cuirot @ 2017-04-27 21:41 UTC (permalink / raw
  To: gentoo-commits

commit:     b0d7ed309226566849a1817f6cffcb752c09c825
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 26 22:31:40 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 21:41:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d7ed30

games-action/descent2-vertigo: New package, closes bug #369399

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../descent2-vertigo/descent2-vertigo-1.0.ebuild   | 57 ++++++++++++++++++++++
 games-action/descent2-vertigo/metadata.xml         |  8 +++
 2 files changed, 65 insertions(+)

diff --git a/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild b/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
new file mode 100644
index 00000000000..d49ee60b99d
--- /dev/null
+++ b/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cdrom eutils
+
+DESCRIPTION="Data files for Descent 2: The Vertigo Series"
+HOMEPAGE="http://www.interplay.com/games/descent.php"
+LICENSE="descent-data"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="videos"
+RESTRICT="bindist"
+
+S="${WORKDIR}"
+
+src_unpack() {
+	cdrom_get_cds vertigo/d2x.hog:hoard.ham
+
+	case ${CDROM_SET} in
+		0) einfo "Found Descent 2 Vertigo Series CD" ;;
+		1) einfo "Found Descent 2 Vertigo Series installation" ;;
+	esac
+
+	cd "${CDROM_ABSMATCH%/*}" || die
+	eshopts_push -s globstar nocaseglob nullglob
+
+	# Strip directories
+	# Lowercase
+	# *.{hog,mn2} into data/missions
+	# Remainder into data
+
+	tar c \
+		--mode=u+w \
+		--ignore-case \
+		--xform='s:.*/::xg' \
+		--xform='s:.*:\L\0:x' \
+		--xform='s:.*\.(hog|mn2)$:data/missions/\0:x' \
+		--xform='s:^[^/]+$:data/\0:x' \
+		--exclude="$(use videos || echo '*.mvl')" \
+		**/{hoard.ham,d2x-h.mvl,{d2x,panic}.{hog,mn2}}* \
+		| tar x -C "${WORKDIR}"
+
+	assert "tar failed"
+	eshopts_pop
+}
+
+src_install() {
+	insinto /usr/share/games/d2x
+	doins -r data/*
+}
+
+pkg_postinst() {
+	elog "A client is needed to run the game, e.g. games-action/dxx-rebirth."
+	echo
+}

diff --git a/games-action/descent2-vertigo/metadata.xml b/games-action/descent2-vertigo/metadata.xml
new file mode 100644
index 00000000000..26079e608be
--- /dev/null
+++ b/games-action/descent2-vertigo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/descent2-vertigo/
@ 2020-02-12 21:04 David Seifert
  0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2020-02-12 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     c7bd466983d868a9f7d7c6d3836f270075df3c17
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 21:03:39 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 21:03:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bd4669

games-action/descent2-vertigo: [QA] inherit estack.eclass directly

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

 games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild b/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
index d49ee60b99d..630163b554a 100644
--- a/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
+++ b/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cdrom eutils
+inherit cdrom estack eutils
 
 DESCRIPTION="Data files for Descent 2: The Vertigo Series"
 HOMEPAGE="http://www.interplay.com/games/descent.php"
+
 LICENSE="descent-data"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/descent2-vertigo/
@ 2023-07-05 20:49 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2023-07-05 20:49 UTC (permalink / raw
  To: gentoo-commits

commit:     e7c7e81fe9252a6349abeb1ef5e6f388a4851d37
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jul  5 07:50:53 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Jul  5 20:49:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c7e81f

games-action/descent2-vertigo: use HTTPS, fix HOMEPAGE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31757
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild b/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
index 9c27d067bd53..ababa913308d 100644
--- a/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
+++ b/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
 inherit cdrom estack
 
 DESCRIPTION="Data files for Descent 2: The Vertigo Series"
-HOMEPAGE="http://www.interplay.com/games/descent.php"
+HOMEPAGE="https://www.interplay.com"
 
 LICENSE="descent-data"
 SLOT="0"


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/descent2-vertigo/
@ 2024-06-09 11:34 James Le Cuirot
  0 siblings, 0 replies; 5+ messages in thread
From: James Le Cuirot @ 2024-06-09 11:34 UTC (permalink / raw
  To: gentoo-commits

commit:     b80c07cb08d673d0030a1c92ea3bcbcb04478134
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  9 11:31:27 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 11:34:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80c07cb

games-action/descent2-vertigo: EAPI 8

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 ...descent2-vertigo-1.0.ebuild => descent2-vertigo-1.0-r1.ebuild} | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild b/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
similarity index 96%
rename from games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
rename to games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
index ababa913308d..3c88671110c4 100644
--- a/games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild
+++ b/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
@@ -1,21 +1,19 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit cdrom estack
 
 DESCRIPTION="Data files for Descent 2: The Vertigo Series"
 HOMEPAGE="https://www.interplay.com"
-
+S="${WORKDIR}"
 LICENSE="descent-data"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="videos"
 RESTRICT="bindist"
 
-S="${WORKDIR}"
-
 src_unpack() {
 	cdrom_get_cds vertigo/d2x.hog:hoard.ham
 


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

* [gentoo-commits] repo/gentoo:master commit in: games-action/descent2-vertigo/
@ 2025-02-28 10:01 Arthur Zamarin
  0 siblings, 0 replies; 5+ messages in thread
From: Arthur Zamarin @ 2025-02-28 10:01 UTC (permalink / raw
  To: gentoo-commits

commit:     2c5a6b202e4731aaed31475fbfdcb032a2cdf3b2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 09:58:01 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 10:00:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c5a6b20

games-action/descent2-vertigo: fix NonConsistentTarUsage [QA]

Issue: https://github.com/pkgcore/pkgcheck/issues/704
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild b/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
index 3c88671110c4..203ef25b3f43 100644
--- a/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
+++ b/games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,7 +30,7 @@ src_unpack() {
 	# *.{hog,mn2} into data/missions
 	# Remainder into data
 
-	tar c \
+	tar -c -f - \
 		--mode=u+w \
 		--ignore-case \
 		--xform='s:.*/::xg' \
@@ -39,7 +39,7 @@ src_unpack() {
 		--xform='s:^[^/]+$:data/\0:x' \
 		--exclude="$(use videos || echo '*.mvl')" \
 		**/{hoard.ham,d2x-h.mvl,{d2x,panic}.{hog,mn2}}* \
-		| tar x -C "${WORKDIR}"
+		| tar -x -f - -C "${WORKDIR}"
 
 	assert "tar failed"
 	eshopts_pop


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

end of thread, other threads:[~2025-02-28 10:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 10:01 [gentoo-commits] repo/gentoo:master commit in: games-action/descent2-vertigo/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-06-09 11:34 James Le Cuirot
2023-07-05 20:49 Conrad Kostecki
2020-02-12 21:04 David Seifert
2017-04-27 21:41 James Le Cuirot

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