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-puzzle/infinifactory/
Date: Mon, 11 Jun 2018 03:08:10
Message-Id: 1528686571.a73b29b1046093e0ecb82ca4338018c3d7c2d50e.Phil_miess@gentoo
1 commit: a73b29b1046093e0ecb82ca4338018c3d7c2d50e
2 Author: Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
3 AuthorDate: Mon Jun 11 03:09:31 2018 +0000
4 Commit: Philip Miess <Phil_miess <AT> yahoo <DOT> com>
5 CommitDate: Mon Jun 11 03:09:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=a73b29b1
7
8 add infinifactory
9
10 games-puzzle/infinifactory/infinifactory-1.ebuild | 70 +++++++++++++++++++++++
11 games-puzzle/infinifactory/metadata.xml | 15 +++++
12 2 files changed, 85 insertions(+)
13
14 diff --git a/games-puzzle/infinifactory/infinifactory-1.ebuild b/games-puzzle/infinifactory/infinifactory-1.ebuild
15 new file mode 100644
16 index 0000000..c15cbe9
17 --- /dev/null
18 +++ b/games-puzzle/infinifactory/infinifactory-1.ebuild
19 @@ -0,0 +1,70 @@
20 +# Copyright 1999-2017 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +
23 +EAPI=6
24 +
25 +inherit unpacker eutils
26 +
27 +DESCRIPTION="Build factories that assemble products for your alien overlords, and don't die."
28 +HOMEPAGE="http://www.zachtronics.com/infinifactory/"
29 +SRC_URI="infinifactory_linux.zip"
30 +
31 +LICENSE="all-rights-reserved"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~x86"
34 +IUSE=""
35 +RESTRICT="bindist fetch"
36 +
37 +MYGAMEDIR=/opt/${PN}
38 +DEPEND="app-arch/unzip"
39 +RDEPEND="${DEPEND}
40 + dev-libs/expat
41 + dev-libs/libbsd
42 + media-libs/mesa
43 + sys-libs/zlib
44 + x11-libs/libX11
45 + x11-libs/libXau
46 + x11-libs/libXcursor
47 + x11-libs/libXdamage
48 + x11-libs/libXdmcp
49 + x11-libs/libXext
50 + x11-libs/libXfixes
51 + x11-libs/libXrandr
52 + x11-libs/libXrender
53 + x11-libs/libXxf86vm
54 + x11-libs/libdrm
55 + x11-libs/libxcb
56 + x11-libs/libxshmfence
57 +"
58 +S="${WORKDIR}"
59 +
60 +pkg_nofetch() {
61 + einfo "Please buy & download ${SRC_URI} from:"
62 + einfo " https://www.humblebundle.com/store"
63 + einfo "and move it to ${DISTDIR}"
64 +}
65 +
66 +src_unpack() {
67 + unpack_zip ${A}
68 +}
69 +
70 +src_configure() { :; }
71 +src_compile() { :; }
72 +
73 +src_install() {
74 + local arch=x86
75 + use amd64 && arch=x86_64
76 +
77 + insinto ${MYGAMEDIR}
78 + exeinto ${MYGAMEDIR}
79 + newexe "${PN}.${arch}" "${PN}"
80 + doins -r infinifactory_Data
81 + dodoc CREDITS.txt LICENSE.txt
82 +
83 + newicon -s 128 infinifactory_Data/Resources/UnityPlayer.png ${PN}.png
84 + make_wrapper ${PN} "./${PN}" "${MYGAMEDIR}"
85 + make_desktop_entry "${PN}" "Infinifacory" "${PN}" "Game"
86 +
87 + domenu ${PN}
88 +
89 +}
90
91 diff --git a/games-puzzle/infinifactory/metadata.xml b/games-puzzle/infinifactory/metadata.xml
92 new file mode 100644
93 index 0000000..52de5c3
94 --- /dev/null
95 +++ b/games-puzzle/infinifactory/metadata.xml
96 @@ -0,0 +1,15 @@
97 +<?xml version="1.0" encoding="UTF-8"?>
98 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
99 +<pkgmetadata>
100 +<maintainer type="person">
101 +<email>phil_miess@×××××.com</email>
102 +</maintainer>
103 +<longdescription lang="en">
104 +Infinifactory is a sandbox puzzle game by Zachtronics, the creators of SpaceChem and Infiniminer. Build factories that assemble products for your alien overlords, and try not to die in the process.
105 +
106 + LIKE SPACECHEM… IN 3D! - Design and run factories in a first-person, fully 3D environment.
107 + HISTOGRAMS ARE BACK! - Optimize your solutions, and then optimize them more when you see how much better your friends did.
108 + VISIT EXOTIC ALIEN LOCALES! - Explore a story-driven campaign with 50+ puzzles, audio logs, and more.
109 + BLOCKS THAT MOVE! - Go beyond the campaign and push the limits of Infinifactory’s next-generation block engine in the sandbox.
110 +</longdescription>
111 +</pkgmetadata>