Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/alephone-infinity/
Date: Mon, 29 Aug 2022 22:53:21
Message-Id: 1661813591.b7dc59895a591302745b0917e698a6e3fe6a9dd6.sam@gentoo
1 commit: b7dc59895a591302745b0917e698a6e3fe6a9dd6
2 Author: Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
3 AuthorDate: Sat Aug 27 10:25:49 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 22:53:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7dc5989
7
8 games-fps/alephone-infinity: new package, add 20220115
9
10 Closes: https://bugs.gentoo.org/82908
11 Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
12 Closes: https://github.com/gentoo/gentoo/pull/27031
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 games-fps/alephone-infinity/Manifest | 1 +
16 .../alephone-infinity-20220115.ebuild | 37 ++++++++++++++++++++++
17 games-fps/alephone-infinity/metadata.xml | 16 ++++++++++
18 3 files changed, 54 insertions(+)
19
20 diff --git a/games-fps/alephone-infinity/Manifest b/games-fps/alephone-infinity/Manifest
21 new file mode 100644
22 index 000000000000..ffbb5a9efc2d
23 --- /dev/null
24 +++ b/games-fps/alephone-infinity/Manifest
25 @@ -0,0 +1 @@
26 +DIST MarathonInfinity-20220115-Data.zip 32203483 BLAKE2B c00e1ff6b4fc053e9df7f15711a73fd46f8e978714a7755137d1d9228a11715f5f3f161af17c1bd9d8bb9b6aaa4ae8292f5d007223c0c14b9a37a5f3e466675c SHA512 b37865f9f8e7ec14995e3ef5df8c3b3a8badc12fc1dc2388beaad90863e40f4fc589a08482e11a9ab21b7b1659c2248a340083ae0d0166689a4377a07d3c03ae
27
28 diff --git a/games-fps/alephone-infinity/alephone-infinity-20220115.ebuild b/games-fps/alephone-infinity/alephone-infinity-20220115.ebuild
29 new file mode 100644
30 index 000000000000..2b0f0b0b8319
31 --- /dev/null
32 +++ b/games-fps/alephone-infinity/alephone-infinity-20220115.ebuild
33 @@ -0,0 +1,37 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit desktop
40 +
41 +DESCRIPTION="Aleph One - Marathon Infinity"
42 +HOMEPAGE="http://marathon.sourceforge.net/"
43 +SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/MarathonInfinity-${PV}-Data.zip"
44 +S="${WORKDIR}/Marathon Infinity"
45 +
46 +LICENSE="bungie-marathon"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +RESTRICT="mirror"
50 +
51 +RDEPEND="games-fps/alephone"
52 +BDEPEND="app-arch/unzip"
53 +
54 +MY_NAME="infinity"
55 +MY_DIR="/usr/share/alephone-${MY_NAME}"
56 +
57 +src_install() {
58 + insinto "${MY_DIR}"
59 + doins -r *
60 +
61 + make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}"
62 +
63 + # Make sure the extra dirs exist in case the user wants to add some data
64 + keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes}
65 +}
66 +
67 +pkg_postinst() {
68 + elog "To play this scenario, run:"
69 + elog "alephone.sh ${MY_NAME}"
70 +}
71
72 diff --git a/games-fps/alephone-infinity/metadata.xml b/games-fps/alephone-infinity/metadata.xml
73 new file mode 100644
74 index 000000000000..2a5f1108e681
75 --- /dev/null
76 +++ b/games-fps/alephone-infinity/metadata.xml
77 @@ -0,0 +1,16 @@
78 +<?xml version='1.0' encoding='UTF-8'?>
79 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
80 +<pkgmetadata>
81 + <maintainer type="project">
82 + <email>games@g.o</email>
83 + <name>Gentoo Games Project</name>
84 + </maintainer>
85 + <maintainer type="person">
86 + <email>Matt.Jolly@××××××××.ninja</email>
87 + <name>Matt Jolly</name>
88 + </maintainer>
89 + <upstream>
90 + <remote-id type="github">Aleph-One-Marathon/alephone</remote-id>
91 + <remote-id type="sourceforge">marathon</remote-id>
92 + </upstream>
93 +</pkgmetadata>