Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/final-doom-data-gog/
Date: Sun, 20 Feb 2022 22:39:05
Message-Id: 1645396678.3caf5213bbb7e9613fcaaa7fb017315f6feb075c.chewi@gentoo
1 commit: 3caf5213bbb7e9613fcaaa7fb017315f6feb075c
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 22:37:58 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 22:37:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3caf5213
7
8 games-fps/final-doom-data-gog: New package
9
10 Closes: https://bugs.gentoo.org/162256
11 Closes: https://bugs.gentoo.org/162258
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 games-fps/final-doom-data-gog/Manifest | 1 +
15 .../final-doom-data-gog-1.9.ebuild | 35 ++++++++++++++++++++++
16 games-fps/final-doom-data-gog/metadata.xml | 12 ++++++++
17 3 files changed, 48 insertions(+)
18
19 diff --git a/games-fps/final-doom-data-gog/Manifest b/games-fps/final-doom-data-gog/Manifest
20 new file mode 100644
21 index 000000000000..7794370ee76d
22 --- /dev/null
23 +++ b/games-fps/final-doom-data-gog/Manifest
24 @@ -0,0 +1 @@
25 +DIST setup_final_doom_1.9_(28044).exe 28883648 BLAKE2B e5b8657011eca1b06e9b04a3cdc57cc731b0009d32dee4e375ac308f71f568f4cfed9e8f030b89d7fad46b98076ede762a5635e81317a668c1b1e9c4c0b0e14a SHA512 e4c454609f2c3f08be3b0064768a76ca171a44ea3c822ec632ceee3616e1d9d2df7b5dd0cb8730160184b862bfccba0ac1da05e32a8f90cf3dc2a7314b196e6d
26
27 diff --git a/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild b/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild
28 new file mode 100644
29 index 000000000000..8ff5f5a2491b
30 --- /dev/null
31 +++ b/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild
32 @@ -0,0 +1,35 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DESCRIPTION="Data files for Final DOOM from gog.com"
39 +HOMEPAGE="https://www.gog.com/en/game/doom_ii_final_doom"
40 +SRC_URI="setup_final_doom_${PV}_(28044).exe"
41 +LICENSE="GOG-EULA"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm ~m68k ~x86"
44 +RESTRICT="bindist fetch"
45 +
46 +BDEPEND="app-arch/innoextract"
47 +
48 +S="${WORKDIR}"
49 +
50 +pkg_nofetch() {
51 + einfo "Please buy and download ${SRC_URI} from:"
52 + einfo " ${HOMEPAGE}"
53 + einfo "and move it to your distfiles directory."
54 +}
55 +
56 +src_install() {
57 + innoextract --extract --lowercase \
58 + --include=/Plutonia/PLUTONIA.WAD \
59 + --include=/TNT/TNT.WAD \
60 + --include=/Manual.pdf \
61 + "${DISTDIR}/${A}" || die
62 +
63 + insinto /usr/share/doom
64 + doins plutonia/plutonia.wad tnt/tnt.wad
65 +
66 + dodoc manual.pdf
67 +}
68
69 diff --git a/games-fps/final-doom-data-gog/metadata.xml b/games-fps/final-doom-data-gog/metadata.xml
70 new file mode 100644
71 index 000000000000..88274e035679
72 --- /dev/null
73 +++ b/games-fps/final-doom-data-gog/metadata.xml
74 @@ -0,0 +1,12 @@
75 +<?xml version="1.0" encoding="UTF-8"?>
76 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
77 +<pkgmetadata>
78 + <maintainer type="person">
79 + <email>chewi@g.o</email>
80 + <name>James Le Cuirot</name>
81 + </maintainer>
82 + <maintainer type="project">
83 + <email>games@g.o</email>
84 + <name>Gentoo Games Project</name>
85 + </maintainer>
86 +</pkgmetadata>