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