Gentoo Archives: gentoo-commits

From: Philip Miess <Phil_miess@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/superposition:master commit in: games-rpg/infamousmachine/
Date: Tue, 17 Oct 2017 01:51:57
Message-Id: 1508204917.3069208969126067e4a7be1370eae33952e6a23e.Phil_miess@gentoo
1 commit: 3069208969126067e4a7be1370eae33952e6a23e
2 Author: Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
3 AuthorDate: Tue Oct 17 01:48:37 2017 +0000
4 Commit: Philip Miess <Phil_miess <AT> yahoo <DOT> com>
5 CommitDate: Tue Oct 17 01:48:37 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=30692089
7
8 kelvin and the infamouse machine
9
10 games-rpg/infamousmachine/Manifest | 3 ++
11 games-rpg/infamousmachine/infamousmachine-1.ebuild | 61 ++++++++++++++++++++++
12 games-rpg/infamousmachine/metadata.xml | 13 +++++
13 3 files changed, 77 insertions(+)
14
15 diff --git a/games-rpg/infamousmachine/Manifest b/games-rpg/infamousmachine/Manifest
16 new file mode 100644
17 index 0000000..3d51699
18 --- /dev/null
19 +++ b/games-rpg/infamousmachine/Manifest
20 @@ -0,0 +1,3 @@
21 +DIST infamousmachine_unix_1_0.sh.zip 239896979 SHA256 99ff9f53e6bc24d20627890732643e53969ee43fa00cdcb634be079f4891afd8 SHA512 967566d48a400c5e358dbe52d6058b06f3f1467c50bca12cbc9fc181b2bcfdd821c16fc2d44328a9da1e038298d82e85bcdf25c46844aa4afc0019af0b507ec8 WHIRLPOOL 475bc50e1db4755997274c39a2a39da1c390f43bccb541a68b0cfe56aba951187d0e68a86415ce466f727e8d8643bab69300711be012cefe52b5cbd562a05d8f
22 +EBUILD infamousmachine-1.ebuild 1426 SHA256 7e58c6563bc2cc326a73df8b7bfb5ca77bad38ca37b68469ac48cb22f1132d75 SHA512 01576d6590a4c391c1eb92450638dabf7b36e423b2ae0f1f6ab0fa6ec9b5d72fecfe8f4334e64d480813c344cd342c1688fc19b121d1c424bd6d52b9356afc09 WHIRLPOOL 5f9f76769a25fe4971244623798be2f9844534e60da3e3dbce494a53e5daf2c3e73c575658d2b51f48deb7098d9874501f54b7f8b87e737c254389ebd19bf07c
23 +MISC metadata.xml 733 SHA256 c2ed97c761163a46de509c129b9a6316c080a36b88fcc6d6e4c9dab7bea592f0 SHA512 5e377b097357cd790095b689b928df77d2bfdeb89a4bc38d8cc52d486470c9a019d10143fbbc568effaa94ef166dd0540b5f8835403c428fb5ed567a998b065f WHIRLPOOL 9ee5dfd7d331a963d5da080565f23bc7300d6f679e25cfcdefee13826ddd727262d6b0f1754b606f254cda0b8384789888e1264d986b16d3ec84703856b1ad8e
24
25 diff --git a/games-rpg/infamousmachine/infamousmachine-1.ebuild b/games-rpg/infamousmachine/infamousmachine-1.ebuild
26 new file mode 100644
27 index 0000000..63e9326
28 --- /dev/null
29 +++ b/games-rpg/infamousmachine/infamousmachine-1.ebuild
30 @@ -0,0 +1,61 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit eutils
37 +
38 +DESCRIPTION="A point-and-click adventure about the well intentioned but not-so-brilliant Kelvin, his workplace crush, a crazy scientist, and a hideous time machine that came to ruin everything."
39 +HOMEPAGE="http://www.infamousmachine.com"
40 +SRC_URI="infamousmachine_unix_1_0.sh.zip"
41 +
42 +LICENSE="all-rights-reserved"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE=""
46 +
47 +DEPEND=">=virtual/jre-1.7:*
48 + virtual/opengl
49 + media-libs/openal
50 + app-arch/p7zip"
51 +RDEPEND="${DEPEND}"
52 +
53 +RESTRICT="bindist fetch mirror strip"
54 +S="${WORKDIR}"
55 +
56 +pkg_nofetch() {
57 + einfo "Please download ${SRC_URI}"
58 + einfo "from your personal page in Humble Bundle site"
59 + einfo "(http://www.humblebundle.com) and place it in ${DISTDIR}"
60 +}
61 +
62 +
63 +src_unpack() {
64 + unpack ${A}
65 + cd "${S}"
66 + 7zip x infamousmachine_unix_1_0.sh
67 +}
68 +
69 +src_prepare() {
70 + rm infamousmachine_unix_1_0.sh
71 + rmdir '.install4j\'
72 +}
73 +
74 +src_install() {
75 + local dir="/opt/${P}"
76 +
77 + insinto "${dir}"
78 + doins InfamousMachine.vmoptions
79 + doins InfamousMachine.jar
80 + doins .install4j
81 +
82 + exeinto "${dir}"
83 + doexe InfamousMachine
84 +
85 + make_wrapper ${PN} ./InfamousMachine "${dir}" "${dir}"
86 + newicon .install4j/InfamousMachine.png "${PN}"
87 + make_desktop_entry ${PN} "Kelvin and the Infamous Machine" "${PN}" Game
88 +
89 +}
90 +
91 +
92
93 diff --git a/games-rpg/infamousmachine/metadata.xml b/games-rpg/infamousmachine/metadata.xml
94 new file mode 100644
95 index 0000000..c082031
96 --- /dev/null
97 +++ b/games-rpg/infamousmachine/metadata.xml
98 @@ -0,0 +1,13 @@
99 +<?xml version="1.0" encoding="UTF-8"?>
100 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
101 +<pkgmetadata>
102 +<maintainer type="person">
103 +<email>phil_miess@×××××.com</email>
104 +<name>Philip Miess</name>
105 +</maintainer>
106 +<longdescription lang="en">
107 +Enraged after his life’s research is ridiculed by the media, Dr. Edwin Lupin decides to become not the greatest genius ever, but the only genius ever, by stealing credit for humankind's most appreciated works.
108 +
109 +Now, spacetime is being altered and humanity needs a hero. Can the bumbling Kelvin, driven by a basic understanding of right and wrong, repair the unraveling timeline? Or will he totally blow it and doom the universe to oblivion?
110 +</longdescription>
111 +</pkgmetadata>