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