* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2015-08-23 19:23 Julian Ospald
0 siblings, 0 replies; 19+ messages in thread
From: Julian Ospald @ 2015-08-23 19:23 UTC (permalink / raw
To: gentoo-commits
commit: 798f3ba9fcc41b99adcf23cad2185d0498fe4251
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 19:23:10 2015 +0000
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 19:23:33 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=798f3ba9
games-fps/duke3d-data: revbump to update gog file
games-fps/duke3d-data/Manifest | 2 +-
...e3d-data-1.0-r2.ebuild => duke3d-data-1.0-r3.ebuild} | 17 +++++++++++------
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest
index 87fedf3..6310182 100644
--- a/games-fps/duke3d-data/Manifest
+++ b/games-fps/duke3d-data/Manifest
@@ -1 +1 @@
-DIST gog_duke_nukem_3d_1.0.0.7.tar.gz 30376296 SHA256 ba81c81d5f35f3aa424d30d9ab1c8441f8967bf4776cc85299efc95eea257ea3 SHA512 d0471bdc65b1030e080de382fea661d78348769d13bca2115ba1fb22aa2de54298bcaa4807c7315d0e2e4eefcc04bc9489d4e4c75fe0db1e99dd0ccd4e138450 WHIRLPOOL 4766138fd3decf78db00e7b6d6ad8128d742454573b56a880b94dba63b7de2438afc0e402e22eca0f0c6ca589f78ef6a28cfd0fbe5e62e40e3ce7427b2daa5fd
+DIST gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh 31823668 SHA256 7c70e60c621a13bdc2cd34048022df638ad478cae646f338021f7deea411f63b SHA512 9c74299ac2db58aed4eb50367e15124bea6073cdba6ba5f403032a292d141ba734943af4c15e776cc0a4087a6f92c85d2413a1a525660b75aa0da457b2fac378 WHIRLPOOL dde14e901711b17c87d5edc92587ef4c999c1ffdcf9c67f5527c92b65cd1d23774149dee12c7e9055a476d0b266acbb23519602e32a80a99f47dc3f9d751b44d
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r2.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
similarity index 77%
rename from games-fps/duke3d-data/duke3d-data-1.0-r2.ebuild
rename to games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index 0933f55..e57d6ef 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r2.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
CDROM_OPTIONAL="yes"
-inherit eutils cdrom games
+inherit eutils cdrom unpacker games
-GOG_FILE="gog_duke_nukem_3d_1.0.0.7.tar.gz"
+GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh"
DESCRIPTION="Duke Nukem 3D data files"
HOMEPAGE="http://www.3drealms.com/"
SRC_URI="gog? ( ${GOG_FILE} )"
@@ -44,8 +44,13 @@ src_unpack() {
die "Error locating data files.";
fi
else
- unpack "${GOG_FILE}"
- cd "Duke Nukem 3D/data" || die
+ dd \
+ ibs="$(head -n 519 "${DISTDIR}/${GOG_FILE}" | wc -c | tr -d ' ')" \
+ skip=1 \
+ if="${DISTDIR}/${GOG_FILE}" \
+ of="${T}"/${GOG_FILE}.zip || die
+ unpack_zip "${T}"/${GOG_FILE}.zip
+ cd data/noarch/data || die
# convert to lowercase
find . -type f \
@@ -70,7 +75,7 @@ src_install() {
# avoid double slash
doins "${CDROM_ROOT}"/${DATAROOT}{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
else
- doins "Duke Nukem 3D/data"/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
+ doins data/noarch/data/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
fi
prepgamesdirs
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2015-08-23 20:25 Julian Ospald
0 siblings, 0 replies; 19+ messages in thread
From: Julian Ospald @ 2015-08-23 20:25 UTC (permalink / raw
To: gentoo-commits
commit: e82ca5e038a73dd4c154ed48db74beca1532f342
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 20:24:12 2015 +0000
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 20:24:36 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82ca5e0
games-fps/duke3d-data: simplify unpack phase
Apparently, unzip can handle the leading shell script fuzz just fine.
games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index e57d6ef..4be3b5b 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -44,12 +44,7 @@ src_unpack() {
die "Error locating data files.";
fi
else
- dd \
- ibs="$(head -n 519 "${DISTDIR}/${GOG_FILE}" | wc -c | tr -d ' ')" \
- skip=1 \
- if="${DISTDIR}/${GOG_FILE}" \
- of="${T}"/${GOG_FILE}.zip || die
- unpack_zip "${T}"/${GOG_FILE}.zip
+ unpack_zip "${DISTDIR}"/${GOG_FILE}
cd data/noarch/data || die
# convert to lowercase
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2015-08-23 20:31 Julian Ospald
0 siblings, 0 replies; 19+ messages in thread
From: Julian Ospald @ 2015-08-23 20:31 UTC (permalink / raw
To: gentoo-commits
commit: 34c4986956b17f1187353b8c31b134dbc0824078
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 20:30:53 2015 +0000
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 20:30:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c49869
games-fps/duke3d-data: add app-arch/unzip to DEPEND
games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index 4be3b5b..be9af9f 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -20,6 +20,7 @@ REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="mirror bindist gog? ( fetch )"
RDEPEND="|| ( games-fps/eduke32 games-fps/duke3d )"
+DEPEND="gog? ( app-arch/unzip )"
S=${WORKDIR}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2015-12-06 5:09 Jeroen Roovers
0 siblings, 0 replies; 19+ messages in thread
From: Jeroen Roovers @ 2015-12-06 5:09 UTC (permalink / raw
To: gentoo-commits
commit: dbb137b4c4c2b15c1381f62c8ac4c7feb70aa593
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 6 05:09:25 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Dec 6 05:09:25 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbb137b4
games-fps/duke3d-data: Stable for HPPA (bug #567518).
Package-Manager: portage-2.2.26
RepoMan-Options: --ignore-arches
games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index be9af9f..9cd076a 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="gog? ( ${GOG_FILE} )"
LICENSE="DUKE3D gog? ( GOG-EULA )"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+KEYWORDS="~amd64 hppa ~ppc ~x86"
IUSE="gog"
REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="mirror bindist gog? ( fetch )"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2015-12-07 10:49 Agostino Sarubbo
0 siblings, 0 replies; 19+ messages in thread
From: Agostino Sarubbo @ 2015-12-07 10:49 UTC (permalink / raw
To: gentoo-commits
commit: a90165ddd8e11aa2b561007bda694f0afc841dd1
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 7 10:49:37 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 10:49:37 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90165dd
games-fps/duke3d-data: amd64 stable wrt bug #567518
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index 9cd076a..463c159 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="gog? ( ${GOG_FILE} )"
LICENSE="DUKE3D gog? ( GOG-EULA )"
SLOT="0"
-KEYWORDS="~amd64 hppa ~ppc ~x86"
+KEYWORDS="amd64 hppa ~ppc ~x86"
IUSE="gog"
REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="mirror bindist gog? ( fetch )"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2015-12-25 16:20 Agostino Sarubbo
0 siblings, 0 replies; 19+ messages in thread
From: Agostino Sarubbo @ 2015-12-25 16:20 UTC (permalink / raw
To: gentoo-commits
commit: 1c688431e3e7fcef622e211ddac5ea6d94ad2929
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 16:18:33 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 16:18:33 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c688431
games-fps/duke3d-data: x86 stable wrt bug #567518
Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index c0be00d..e21ce3a 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="gog? ( ${GOG_FILE} )"
LICENSE="DUKE3D gog? ( GOG-EULA )"
SLOT="0"
-KEYWORDS="amd64 hppa ppc ~x86"
+KEYWORDS="amd64 hppa ppc x86"
IUSE="gog"
REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="mirror bindist gog? ( fetch )"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2015-12-29 7:41 Michael Sterrett
0 siblings, 0 replies; 19+ messages in thread
From: Michael Sterrett @ 2015-12-29 7:41 UTC (permalink / raw
To: gentoo-commits
commit: 6ad84ef9c353f4a28c65866030490df1c9e53d31
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 05:18:47 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 07:40:55 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad84ef9
old
Package-Manager: portage-2.2.24
games-fps/duke3d-data/duke3d-data-1.0.ebuild | 42 ----------------------------
1 file changed, 42 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0.ebuild b/games-fps/duke3d-data/duke3d-data-1.0.ebuild
deleted file mode 100644
index 2f94011..0000000
--- a/games-fps/duke3d-data/duke3d-data-1.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils cdrom games
-
-DESCRIPTION="Duke Nukem 3D data files"
-HOMEPAGE="http://www.3drealms.com/"
-SRC_URI=""
-
-LICENSE="DUKE3D"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="|| ( games-fps/eduke32 games-fps/duke3d )"
-
-S=${WORKDIR}
-
-src_unpack() {
- export CDROM_NAME_SET=("Existing Install" "Duke Nukem 3D CD")
- cdrom_get_cds duke3d.grp:dvd/dn3dinst/duke3d.grp
-
- if [[ ${CDROM_SET} -ne 0 && ${CDROM_SET} -ne 1 ]] ; then
- die "Error locating data files.";
- fi
-}
-
-src_install() {
- local DATAROOT
-
- case ${CDROM_SET} in
- 0) DATAROOT= ;;
- 1) DATAROOT="dn3dinst/" ;;
- esac
-
- insinto "${GAMES_DATADIR}"/duke3d
- doins "${CDROM_ROOT}"/$DATAROOT/{duke3d.grp,duke.rts,game.con,user.con,demo2.dmo,defs.con,demo1.dmo} \
- || die "doins failed"
- prepgamesdirs
-}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2017-12-18 9:33 James Le Cuirot
0 siblings, 0 replies; 19+ messages in thread
From: James Le Cuirot @ 2017-12-18 9:33 UTC (permalink / raw
To: gentoo-commits
commit: 71fe8c820445bd99242ef225e8e523cf78d90de0
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 09:33:26 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 09:33:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fe8c82
games-fps/duke3d-data: Update Manifest hashes
Package-Manager: Portage-2.3.19, Repoman-2.3.6
games-fps/duke3d-data/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest
index 631018258c0..abdba63e755 100644
--- a/games-fps/duke3d-data/Manifest
+++ b/games-fps/duke3d-data/Manifest
@@ -1 +1 @@
-DIST gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh 31823668 SHA256 7c70e60c621a13bdc2cd34048022df638ad478cae646f338021f7deea411f63b SHA512 9c74299ac2db58aed4eb50367e15124bea6073cdba6ba5f403032a292d141ba734943af4c15e776cc0a4087a6f92c85d2413a1a525660b75aa0da457b2fac378 WHIRLPOOL dde14e901711b17c87d5edc92587ef4c999c1ffdcf9c67f5527c92b65cd1d23774149dee12c7e9055a476d0b266acbb23519602e32a80a99f47dc3f9d751b44d
+DIST gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh 31823668 BLAKE2B a08dc85615129a5527abd2fcbb94e5e9ce4c188d41bed1fd600a45847e54f5d3480c234bf712f77433858206193e60fd63dd3997a340770b564ab22d46b73990 SHA512 9c74299ac2db58aed4eb50367e15124bea6073cdba6ba5f403032a292d141ba734943af4c15e776cc0a4087a6f92c85d2413a1a525660b75aa0da457b2fac378
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2018-01-18 15:12 James Le Cuirot
0 siblings, 0 replies; 19+ messages in thread
From: James Le Cuirot @ 2018-01-18 15:12 UTC (permalink / raw
To: gentoo-commits
commit: 5f3b312b24c353447cd70f8eaa12ecf41eac929a
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 15:11:53 2018 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 15:12:21 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3b312b
games-fps/duke3d-data: Bump GOG download to 2.0.0.9
No revbump because the change only concerned a bundled libpng that we
do not use.
Closes: https://bugs.gentoo.org/642556
Package-Manager: Portage-2.3.19, Repoman-2.3.6
games-fps/duke3d-data/Manifest | 2 +-
games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest
index abdba63e755..af0c417af3b 100644
--- a/games-fps/duke3d-data/Manifest
+++ b/games-fps/duke3d-data/Manifest
@@ -1 +1 @@
-DIST gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh 31823668 BLAKE2B a08dc85615129a5527abd2fcbb94e5e9ce4c188d41bed1fd600a45847e54f5d3480c234bf712f77433858206193e60fd63dd3997a340770b564ab22d46b73990 SHA512 9c74299ac2db58aed4eb50367e15124bea6073cdba6ba5f403032a292d141ba734943af4c15e776cc0a4087a6f92c85d2413a1a525660b75aa0da457b2fac378
+DIST gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh 31969896 BLAKE2B 7e93515f8aedaedf6f0dc90faf5e7fef165c000414ae9dc62bad77c78568ecdec1f16b72befe1c80c7c9c8c4bd7fb11f2fd3c36f53aa9ef9d787f8b7215228f3 SHA512 d06f20bc1334172b80e4a75bd3321c3835cd95ac823836899fda8d5f8667ac83471b04a5863646aa953a39fd1cb64eb1818ee668340ede62d0a356ebdcb4065c
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
index ad7eb38e4f0..a17e667056f 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -6,7 +6,7 @@ EAPI=5
CDROM_OPTIONAL="yes"
inherit eutils cdrom unpacker games
-GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.8.sh"
+GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh"
DESCRIPTION="Duke Nukem 3D data files"
HOMEPAGE="http://www.3drealms.com/"
SRC_URI="gog? ( ${GOG_FILE} )"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2018-05-31 17:23 Pacho Ramos
0 siblings, 0 replies; 19+ messages in thread
From: Pacho Ramos @ 2018-05-31 17:23 UTC (permalink / raw
To: gentoo-commits
commit: 9b204ddd58c2d44815bc6cdacf3b9ff872aba4ae
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu May 31 17:15:55 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu May 31 17:15:55 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b204ddd
games-fps/duke3d-data: Drop old
Package-Manager: Portage-2.3.38, Repoman-2.3.9
games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild | 77 -------------------------
1 file changed, 77 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
deleted file mode 100644
index a17e667056f..00000000000
--- a/games-fps/duke3d-data/duke3d-data-1.0-r3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-CDROM_OPTIONAL="yes"
-inherit eutils cdrom unpacker games
-
-GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh"
-DESCRIPTION="Duke Nukem 3D data files"
-HOMEPAGE="http://www.3drealms.com/"
-SRC_URI="gog? ( ${GOG_FILE} )"
-
-LICENSE="DUKE3D gog? ( GOG-EULA )"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="gog"
-REQUIRED_USE="^^ ( cdinstall gog )"
-RESTRICT="mirror bindist gog? ( fetch )"
-
-RDEPEND="|| ( games-fps/eduke32 games-fps/duke3d )"
-DEPEND="gog? ( app-arch/unzip )"
-
-S=${WORKDIR}
-
-pkg_nofetch() {
- einfo "Please download ${GOG_FILE} from your GOG.com account after buying Duke Nukem 3d"
- einfo "and put it into ${DISTDIR}."
-}
-
-src_unpack() {
- if use cdinstall ; then
- export CDROM_NAME_SET=(
- "Existing Install"
- "Duke Nukem 3D CD"
- "Duke Nukem 3D Atomic Edition CD"
- )
- cdrom_get_cds duke3d.grp:dvd/dn3dinst/duke3d.grp:atominst/duke3d.grp
-
- if [[ ${CDROM_SET} -ne 0
- && ${CDROM_SET} -ne 1
- && ${CDROM_SET} -ne 2 ]]
- then
- die "Error locating data files.";
- fi
- else
- unpack_zip "${DISTDIR}"/${GOG_FILE}
- cd data/noarch/data || die
-
- # convert to lowercase
- find . -type f \
- -execdir sh -c 'echo "converting ${1} to lowercase"
- lower="`echo "${1}" | tr [:upper:] [:lower:]`"
- [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
- fi
-}
-
-src_install() {
- local DATAROOT
-
- insinto "${GAMES_DATADIR}"/duke3d
-
- if use cdinstall ; then
- case ${CDROM_SET} in
- 0) DATAROOT="" ;;
- 1) DATAROOT="dn3dinst/" ;;
- 2) DATAROOT="atominst/" ;;
- esac
-
- # avoid double slash
- doins "${CDROM_ROOT}"/${DATAROOT}{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
- else
- doins data/noarch/data/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
- fi
-
- prepgamesdirs
-}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2018-05-31 17:23 Pacho Ramos
0 siblings, 0 replies; 19+ messages in thread
From: Pacho Ramos @ 2018-05-31 17:23 UTC (permalink / raw
To: gentoo-commits
commit: 67c465b8d9b5e57c24827c89f3ee04933f8a6914
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu May 31 17:15:42 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu May 31 17:15:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c465b8
games-fps/duke3d-data: Stop using games.eclass
Package-Manager: Portage-2.3.38, Repoman-2.3.9
games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild | 75 +++++++++++++++++++++++++
1 file changed, 75 insertions(+)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
new file mode 100644
index 00000000000..100efef9882
--- /dev/null
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+CDROM_OPTIONAL="yes"
+inherit eutils cdrom unpacker
+
+GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh"
+DESCRIPTION="Duke Nukem 3D data files"
+HOMEPAGE="http://www.3drealms.com/"
+SRC_URI="gog? ( ${GOG_FILE} )"
+
+LICENSE="DUKE3D gog? ( GOG-EULA )"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="gog"
+REQUIRED_USE="^^ ( cdinstall gog )"
+RESTRICT="mirror bindist gog? ( fetch )"
+
+RDEPEND="|| ( games-fps/eduke32 games-fps/duke3d )"
+DEPEND="gog? ( app-arch/unzip )"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please download ${GOG_FILE} from your GOG.com account after buying Duke Nukem 3d"
+ einfo "and put it into ${DISTDIR}."
+}
+
+src_unpack() {
+ if use cdinstall ; then
+ export CDROM_NAME_SET=(
+ "Existing Install"
+ "Duke Nukem 3D CD"
+ "Duke Nukem 3D Atomic Edition CD"
+ )
+ cdrom_get_cds duke3d.grp:dvd/dn3dinst/duke3d.grp:atominst/duke3d.grp
+
+ if [[ ${CDROM_SET} -ne 0
+ && ${CDROM_SET} -ne 1
+ && ${CDROM_SET} -ne 2 ]]
+ then
+ die "Error locating data files.";
+ fi
+ else
+ unpack_zip "${DISTDIR}"/${GOG_FILE}
+ cd data/noarch/data || die
+
+ # convert to lowercase
+ find . -type f \
+ -execdir sh -c 'echo "converting ${1} to lowercase"
+ lower="`echo "${1}" | tr [:upper:] [:lower:]`"
+ [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
+ fi
+}
+
+src_install() {
+ local DATAROOT
+
+ insinto /usr/share/duke3d
+
+ if use cdinstall ; then
+ case ${CDROM_SET} in
+ 0) DATAROOT="" ;;
+ 1) DATAROOT="dn3dinst/" ;;
+ 2) DATAROOT="atominst/" ;;
+ esac
+
+ # avoid double slash
+ doins "${CDROM_ROOT}"/${DATAROOT}{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
+ else
+ doins data/noarch/data/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
+ fi
+}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2018-08-26 11:01 Michał Górny
0 siblings, 0 replies; 19+ messages in thread
From: Michał Górny @ 2018-08-26 11:01 UTC (permalink / raw
To: gentoo-commits
commit: 06a5ee4c42f09b941fa19202b61b388e8bd4b881
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 26 10:42:53 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 26 11:01:07 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a5ee4c
games-fps/duke3d-data: Remove support for non-existent deps
games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
index 100efef9882..41779136538 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
@@ -18,7 +18,7 @@ IUSE="gog"
REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="mirror bindist gog? ( fetch )"
-RDEPEND="|| ( games-fps/eduke32 games-fps/duke3d )"
+RDEPEND="games-fps/eduke32"
DEPEND="gog? ( app-arch/unzip )"
S=${WORKDIR}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2018-12-20 17:25 Ben Kohler
0 siblings, 0 replies; 19+ messages in thread
From: Ben Kohler @ 2018-12-20 17:25 UTC (permalink / raw
To: gentoo-commits
commit: 920de3d9fb1fe40bc57d83c107b9037c203cb653
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 20 17:18:57 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Dec 20 17:18:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=920de3d9
games-fps/duke3d-data: don't reference ${DISTDIR} in pkg_nofetch
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
index 41779136538..7be1ed35cfc 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,7 +25,7 @@ S=${WORKDIR}
pkg_nofetch() {
einfo "Please download ${GOG_FILE} from your GOG.com account after buying Duke Nukem 3d"
- einfo "and put it into ${DISTDIR}."
+ einfo "and put it into your DISTDIR directory."
}
src_unpack() {
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2020-03-20 21:53 Matt Turner
0 siblings, 0 replies; 19+ messages in thread
From: Matt Turner @ 2020-03-20 21:53 UTC (permalink / raw
To: gentoo-commits
commit: eb57e91f6b019bc80012dd942ee3b456f8b34b29
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 20 21:47:32 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 21:52:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb57e91f
games-fps/duke3d-data: drop hppa keywords
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
index 7be1ed35cfc..a367bad4e4b 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="gog? ( ${GOG_FILE} )"
LICENSE="DUKE3D gog? ( GOG-EULA )"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="gog"
REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="mirror bindist gog? ( fetch )"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2020-09-04 23:14 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2020-09-04 23:14 UTC (permalink / raw
To: gentoo-commits
commit: 76713922276d45a3ee1589bbc830c10cea206186
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 4 23:14:07 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 4 23:14:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76713922
games-fps/duke3d-data: Keyword 1.0-r4 arm64, #730556
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
index a367bad4e4b..a466c316ad8 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,7 +13,7 @@ SRC_URI="gog? ( ${GOG_FILE} )"
LICENSE="DUKE3D gog? ( GOG-EULA )"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="gog"
REQUIRED_USE="^^ ( cdinstall gog )"
RESTRICT="mirror bindist gog? ( fetch )"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2021-01-10 23:21 Conrad Kostecki
0 siblings, 0 replies; 19+ messages in thread
From: Conrad Kostecki @ 2021-01-10 23:21 UTC (permalink / raw
To: gentoo-commits
commit: 4c1fbfa0b65744e96404d9bebae886481c6ef5d9
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 23:06:26 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 23:20:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1fbfa0
games-fps/duke3d-data: drop old version
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild | 75 -------------------------
1 file changed, 75 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
deleted file mode 100644
index a466c316ad8..00000000000
--- a/games-fps/duke3d-data/duke3d-data-1.0-r4.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-CDROM_OPTIONAL="yes"
-inherit eutils cdrom unpacker
-
-GOG_FILE="gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh"
-DESCRIPTION="Duke Nukem 3D data files"
-HOMEPAGE="http://www.3drealms.com/"
-SRC_URI="gog? ( ${GOG_FILE} )"
-
-LICENSE="DUKE3D gog? ( GOG-EULA )"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="gog"
-REQUIRED_USE="^^ ( cdinstall gog )"
-RESTRICT="mirror bindist gog? ( fetch )"
-
-RDEPEND="games-fps/eduke32"
-DEPEND="gog? ( app-arch/unzip )"
-
-S=${WORKDIR}
-
-pkg_nofetch() {
- einfo "Please download ${GOG_FILE} from your GOG.com account after buying Duke Nukem 3d"
- einfo "and put it into your DISTDIR directory."
-}
-
-src_unpack() {
- if use cdinstall ; then
- export CDROM_NAME_SET=(
- "Existing Install"
- "Duke Nukem 3D CD"
- "Duke Nukem 3D Atomic Edition CD"
- )
- cdrom_get_cds duke3d.grp:dvd/dn3dinst/duke3d.grp:atominst/duke3d.grp
-
- if [[ ${CDROM_SET} -ne 0
- && ${CDROM_SET} -ne 1
- && ${CDROM_SET} -ne 2 ]]
- then
- die "Error locating data files.";
- fi
- else
- unpack_zip "${DISTDIR}"/${GOG_FILE}
- cd data/noarch/data || die
-
- # convert to lowercase
- find . -type f \
- -execdir sh -c 'echo "converting ${1} to lowercase"
- lower="`echo "${1}" | tr [:upper:] [:lower:]`"
- [ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
- fi
-}
-
-src_install() {
- local DATAROOT
-
- insinto /usr/share/duke3d
-
- if use cdinstall ; then
- case ${CDROM_SET} in
- 0) DATAROOT="" ;;
- 1) DATAROOT="dn3dinst/" ;;
- 2) DATAROOT="atominst/" ;;
- esac
-
- # avoid double slash
- doins "${CDROM_ROOT}"/${DATAROOT}{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
- else
- doins data/noarch/data/{duke3d.grp,duke.rts,game.con,user.con,demo?.dmo,defs.con}
- fi
-}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2021-01-10 23:21 Conrad Kostecki
0 siblings, 0 replies; 19+ messages in thread
From: Conrad Kostecki @ 2021-01-10 23:21 UTC (permalink / raw
To: gentoo-commits
commit: 562a08dca458234a309833c45d861c5386747ed7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 22:45:37 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 23:20:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562a08dc
games-fps/duke3d-data: bump to EAPI=7
This is a major overhaul of the ebuild.
Changes:
* Integration of 'games-fps/duke3d-demodata' (will be last-rited)
* Switch to 3DRealms FTP for shareware version.
* Simplify handling of lower- and uppercase files.
* Unpacking all files directly in lowercase.
* Installing shipped maps (_SE, _ST and _ZOO), as they are not present
in the *.GRP file.
* Updated CDROM_NAME_SET to CDROM_NAMES.
* Updated CD names.
Tested with Duke Nukem 3D Retail 1.3 and Atomic 1.5 CDs, Existing
Install, GOG version and shareware version.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/duke3d-data/Manifest | 1 +
games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild | 111 ++++++++++++++++++++++++
games-fps/duke3d-data/metadata.xml | 7 +-
3 files changed, 118 insertions(+), 1 deletion(-)
diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest
index af0c417af3b..872c196b345 100644
--- a/games-fps/duke3d-data/Manifest
+++ b/games-fps/duke3d-data/Manifest
@@ -1 +1,2 @@
+DIST 3dduke13.zip 5924374 BLAKE2B 177329f04defdd2a2ab35a1926a321bbc8de023878ad6bec610669b5578cbe2f38bc0b03a37c0d0d2dcc99acf2b473ddf683b498b971b857b20964bcdbc7d7c8 SHA512 eb92daa88b4e7cfeebe1fb3d2c021e0a4a66262d0d6e76b5e27fe3cedd382e381d23b392a6d9adb42a418b9318e011c2d8adfbdc77d7c5371e61d8c091c7eb65
DIST gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh 31969896 BLAKE2B 7e93515f8aedaedf6f0dc90faf5e7fef165c000414ae9dc62bad77c78568ecdec1f16b72befe1c80c7c9c8c4bd7fb11f2fd3c36f53aa9ef9d787f8b7215228f3 SHA512 d06f20bc1334172b80e4a75bd3321c3835cd95ac823836899fda8d5f8667ac83471b04a5863646aa953a39fd1cb64eb1818ee668340ede62d0a356ebdcb4065c
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild
new file mode 100644
index 00000000000..27e3d901411
--- /dev/null
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CDROM_OPTIONAL="yes"
+MY_PN_DEMO="3dduke"
+MY_PN_GOG="gog_duke_nukem_3d_atomic_edition"
+MY_PV_DEMO="13"
+MY_PV_GOG="2.0.0.9"
+MY_P_DEMO="${MY_PN_DEMO}${MY_PV_DEMO}"
+MY_P_GOG="${MY_PN_GOG}_${MY_PV_GOG}"
+
+inherit cdrom
+
+DESCRIPTION="Duke Nukem 3D (Atomic Edition) data files"
+HOMEPAGE="http://www.3drealms.com/"
+SRC_URI="
+ demo? ( "ftp://ftp.3drealms.com/share/${MY_P_DEMO}.zip" )
+ gog? ( "${MY_P_GOG}.sh" )
+"
+S="${WORKDIR}"
+
+LICENSE="DUKE3D gog? ( GOG-EULA )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+demo gog"
+REQUIRED_USE="^^ ( cdinstall demo gog )"
+RESTRICT="bindist gog? ( fetch ) mirror"
+
+BDEPEND="
+ demo? ( app-arch/unzip )
+ gog? ( app-arch/unzip )
+"
+
+pkg_nofetch() {
+ if use gog; then
+ einfo "Please download ${MY_P_GOG}.sh from your GOG.com account after"
+ einfo "buying Duke Nukem 3D and place it into your DISTDIR directory."
+ fi
+}
+
+src_unpack() {
+ if use cdinstall ; then
+ local CDROM_NAMES=(
+ "Existing installation"
+ "Duke Nukem 3D CD"
+ "Duke Nukem 3D Atomic Edition CD"
+ )
+
+ cdrom_get_cds duke3d.grp:dn3dinst/duke3d.grp:atominst/duke3d.grp
+
+ ! [[ "${CDROM_SET}" -ge 0 && "${CDROM_SET}" -le 2 ]] && die "Could not locate data files."
+ fi
+
+ if use demo; then
+ # Use '-LL' to extract everything in lowercase.
+ unzip "${DISTDIR}/${MY_P_DEMO}.zip" || die
+ unzip -LL "DN3DSW${MY_PV_DEMO}.SHR" || die
+ fi
+
+ if use gog; then
+ # Since 'unpacker' eclass does not support options,
+ # doing manual unpack and checking for return code,
+ # as all non-fatal errors should be ignored, because
+ # it's a self-extracting archive and will fail otherwise.
+ # Also use '-LL' to extract everything in lowercase.
+ unzip -LL "${DISTDIR}/${MY_P_GOG}.sh"
+ [[ $? -le 1 ]] || die
+ fi
+}
+
+src_install() {
+ if use cdinstall; then
+ local DATAROOT
+
+ case ${CDROM_SET} in
+ 0) DATAROOT="" ;;
+ 1) DATAROOT="dn3dinst" ;;
+ 2) DATAROOT="atominst" ;;
+ esac
+
+ pushd "${CDROM_ROOT}/${DATAROOT}" || die
+ fi
+
+ if use gog; then
+ pushd "${S}/data/noarch/data" || die
+ fi
+
+ insinto /usr/share/duke3d
+ for file in *.con *.dmo *.grp *.rts; do
+ newins "${file}" "${file,,}"
+ done
+
+ if ! use demo; then
+ if use cdinstall && [[ "${CDROM_SET}" -ne 0 ]]; then
+ doins ../goodies/build/*.map
+ else
+ doins *.map
+ fi
+
+ popd || die
+ fi
+}
+
+pkg_postinst() {
+ if use demo; then
+ einfo "Please keep in mind, that many addons for Duke Nukem 3D will require"
+ einfo "the registered version and will not work with the shareware version."
+ fi
+}
diff --git a/games-fps/duke3d-data/metadata.xml b/games-fps/duke3d-data/metadata.xml
index bb71cbd28b6..c4c07706b93 100644
--- a/games-fps/duke3d-data/metadata.xml
+++ b/games-fps/duke3d-data/metadata.xml
@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
<maintainer type="project">
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
<use>
- <flag name="gog">Extract the data from the GOG.com installer.</flag>
+ <flag name="demo">Extract data files from the shareware version.</flag>
+ <flag name="gog">Extract data files from the GOG.com version.</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2022-06-25 14:35 Conrad Kostecki
0 siblings, 0 replies; 19+ messages in thread
From: Conrad Kostecki @ 2022-06-25 14:35 UTC (permalink / raw
To: gentoo-commits
commit: 7144bff06c6e8d247532423213d8809acaec1fde
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 14:26:34 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 14:34:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7144bff0
games-fps/duke3d-data: add ~ppc64 keyword
Thanks to ernsteiswuerfel for testing!
Closes: https://bugs.gentoo.org/850487
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild
index 27e3d9014112..bdccbe5b8c9d 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r5.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
@@ -23,7 +23,7 @@ S="${WORKDIR}"
LICENSE="DUKE3D gog? ( GOG-EULA )"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="+demo gog"
REQUIRED_USE="^^ ( cdinstall demo gog )"
RESTRICT="bindist gog? ( fetch ) mirror"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/
@ 2024-05-22 20:41 James Le Cuirot
0 siblings, 0 replies; 19+ messages in thread
From: James Le Cuirot @ 2024-05-22 20:41 UTC (permalink / raw
To: gentoo-commits
commit: 8445658531a5aa2d62e4bbcebf87edbb998c7e3b
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 20:40:35 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed May 22 20:41:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84456585
games-fps/duke3d-data: Download the demo from archive.org
The old FTP server is still there but having permissions issues. FTP is far from
ideal these days anyway.
Closes: https://bugs.gentoo.org/932463
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild
index 3f20abbff21c..feb57df50554 100644
--- a/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild
+++ b/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,8 +16,8 @@ inherit cdrom
DESCRIPTION="Duke Nukem 3D (Atomic Edition) data files"
HOMEPAGE="https://www.3drealms.com/"
SRC_URI="
- demo? ( "ftp://ftp.3drealms.com/share/${MY_P_DEMO}.zip" )
- gog? ( "${MY_P_GOG}.sh" )
+ demo? ( https://archive.org/download/3dduke13/${MY_P_DEMO}.zip )
+ gog? ( ${MY_P_GOG}.sh )
"
S="${WORKDIR}"
^ permalink raw reply related [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-05-22 20:41 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-04 23:14 [gentoo-commits] repo/gentoo:master commit in: games-fps/duke3d-data/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-05-22 20:41 James Le Cuirot
2022-06-25 14:35 Conrad Kostecki
2021-01-10 23:21 Conrad Kostecki
2021-01-10 23:21 Conrad Kostecki
2020-03-20 21:53 Matt Turner
2018-12-20 17:25 Ben Kohler
2018-08-26 11:01 Michał Górny
2018-05-31 17:23 Pacho Ramos
2018-05-31 17:23 Pacho Ramos
2018-01-18 15:12 James Le Cuirot
2017-12-18 9:33 James Le Cuirot
2015-12-29 7:41 Michael Sterrett
2015-12-25 16:20 Agostino Sarubbo
2015-12-07 10:49 Agostino Sarubbo
2015-12-06 5:09 Jeroen Roovers
2015-08-23 20:31 Julian Ospald
2015-08-23 20:25 Julian Ospald
2015-08-23 19:23 Julian Ospald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox