Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/psychonauts/, licenses/
Date: Sun, 03 Jun 2012 16:05:55
Message-Id: 1338739480.cc25ce159e4e009d4d59ac97c052ed48c81e6792.winterheart@gentoo
1 commit: cc25ce159e4e009d4d59ac97c052ed48c81e6792
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sun Jun 3 15:17:49 2012 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sun Jun 3 16:04:40 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=cc25ce15
7
8 [games-action/psychonauts] Psychonauts - A mind-bending platforming
9 adventure from Double Fine Productions and Tim Schafer.
10 Enjoy your HIB V!
11
12 ---
13 games-action/psychonauts/metadata.xml | 15 +++++
14 .../psychonauts/psychonauts-2012.05.31.ebuild | 48 ++++++++++++++++
15 licenses/Psychonauts-EULA | 57 ++++++++++++++++++++
16 3 files changed, 120 insertions(+), 0 deletions(-)
17
18 diff --git a/games-action/psychonauts/metadata.xml b/games-action/psychonauts/metadata.xml
19 new file mode 100644
20 index 0000000..9dfdfbc
21 --- /dev/null
22 +++ b/games-action/psychonauts/metadata.xml
23 @@ -0,0 +1,15 @@
24 +<?xml version="1.0" encoding="UTF-8"?>
25 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 +<pkgmetadata>
27 +<maintainer>
28 +<email>azamat.hackimov@×××××.com</email>
29 +<name>Azamat H. Hackimov</name>
30 +</maintainer>
31 +<longdescription lang="en">
32 +A mind-bending platforming adventure from Double Fine Productions.
33 +</longdescription>
34 +<longdescription lang="ru">
35 +Психологическая платформенная адвенчура от Double Fine Productions.
36 +</longdescription>
37 +</pkgmetadata>
38 +
39
40 diff --git a/games-action/psychonauts/psychonauts-2012.05.31.ebuild b/games-action/psychonauts/psychonauts-2012.05.31.ebuild
41 new file mode 100644
42 index 0000000..f730339
43 --- /dev/null
44 +++ b/games-action/psychonauts/psychonauts-2012.05.31.ebuild
45 @@ -0,0 +1,48 @@
46 +# Copyright 1999-2012 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Header: $
49 +
50 +EAPI=3
51 +
52 +inherit games versionator
53 +
54 +MY_PV=$(version_format_string '${2}${3}${1}')
55 +
56 +DESCRIPTION="A mind-bending platforming adventure from Double Fine Productions."
57 +HOMEPAGE="http://www.psychonauts.com/"
58 +SRC_URI="${PN}-linux-${MY_PV}.zip"
59 +
60 +LICENSE="Psychonauts-EULA"
61 +SLOT="0"
62 +KEYWORDS="-* ~amd64 ~x86"
63 +IUSE=""
64 +
65 +DEPEND="app-arch/unzip"
66 +RDEPEND="virtual/opengl
67 + amd64? ( app-emulation/emul-linux-x86-sdl )
68 + x86? ( media-libs/openal media-libs/libsdl )"
69 +
70 +RESTRICT="fetch strip"
71 +
72 +S="${WORKDIR}/${PN}-linux-installer/data"
73 +
74 +pkg_nofetch() {
75 + einfo "Please download ${A}"
76 + einfo "from your personal page in Humble Indie Bundle V site"
77 + einfo "(http://www.humblebundle.com)"
78 +}
79 +
80 +src_install() {
81 + local dir="${GAMES_PREFIX_OPT}/${PN}"
82 + dodoc "Psychonauts Manual Win.pdf"
83 + dodoc Documents/Readmes/*
84 + exeinto ${dir}
85 + doexe Psychonauts || die
86 + insinto ${dir}
87 + doins -r DisplaySettings.ini PsychonautsData2.pkg WorkResource || die
88 + doicon ${PN}.png
89 + games_make_wrapper ${PN} ./Psychonauts "${dir}" "${dir}"
90 + make_desktop_entry ${PN} Psychonauts ${PN}
91 +
92 + prepgamesdirs
93 +}
94
95 diff --git a/licenses/Psychonauts-EULA b/licenses/Psychonauts-EULA
96 new file mode 100644
97 index 0000000..1cdc27c
98 --- /dev/null
99 +++ b/licenses/Psychonauts-EULA
100 @@ -0,0 +1,57 @@
101 +PSYCHONAUTS
102 +End User License Agreement - PC version
103
104 +Please read this End User License Agreement ("License Agreement") before
105 +installing the Psychonauts software ("Software"). By installing this Software,
106 +you indicate your acceptance of this License Agreement.
107
108 +LICENSE RIGHTS AND RESTRICTION. Double Fine Productions, Inc., its licensors,
109 +distributors, assigns, and successors (collectively, "Double Fine") grants to
110 +you the non-exclusive, non-assignable right to use the Software in object code
111 +form on a maximum of one (1) computer system solely for your personal use and
112 +enjoyment. The Software shall not be copied or used for any other purpose. You
113 +may not reverse engineer, decompile, or disassemble the Software, except to
114 +the extent that the foregoing restriction is expressly prohibited by
115 +applicable law. You may not sell, license, rent, prepare derivative works
116 +based upon the Software, or otherwise transfer the Software and accompanying
117 +written materials. All rights not expressly granted herein are reserved by
118 +Double Fine.
119
120 +ADDITIONAL RESTRICTIONS. Commercial use of the Software is prohibited. You are
121 +not permitted or authorized to use the Software for commercial purposes, or
122 +for the creation of additional levels whether or not done for commercial
123 +purposes.
124 +
125 +COPYRIGHT. All title and copyrights in and to the Software and any copies of
126 +the Software are owned or controlled by Double Fine. This Software is
127 +protected by copyright and other industrial and intellectual property laws and
128 +international treaty provisions. All rights not expressly granted herein are
129 +reserved by Double Fine.
130 +  
131 +NO WARRANTIES. The Software and accompanying written materials are provided
132 +"as is," without warranty of any kind. To the maximum extent permitted by law,
133 +Double Fine disclaims all warranties, either express or implied, including but
134 +not limited to implied warranties of merchantability, fitness for a particular
135 +purpose and noninfringement. The entire risk arising out of the use or
136 +performance of the Software and any accompanying written materials remains
137 +with you.
138 +  
139 +NO LIABILITY FOR CONSEQUENTIAL DAMAGES. To the maximum extent permitted by
140 +applicable law: in no event shall Double Fine be liable for any damages
141 +whatsoever (including, without limitation, damages for loss of business
142 +profits, business interruption, loss of business information, or other
143 +pecuniary or any personal loss) arising out of the use of or inability to use
144 +the Software, even if Double Fine has been advised of the possibility of such
145 +damages. Because some states/jurisdictions do not allow the exclusion or
146 +limitation of liability for consequential or incidental damages, the above
147 +limitation may not apply to you.
148 +  
149 +TERMINATION OF LICENSE. If you violate any of the provisions of this License
150 +Agreement, the licensed rights described above shall immediately terminate
151 +without notice to you by Double Fine.
152 +  
153 +MISCELLANEOUS. This Agreement is governed by the laws of the State of
154 +California, and the United States of America to the maximum extent permitted
155 +by the law of the place where you purchased this License Agreement to the
156 +Software. Psychonauts is protected by copyright and other laws of the United
157 +States and international treaties.