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