Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/sdlsasteroids/, games-fps/alephone-infinity/, ...
Date: Sun, 29 Apr 2018 16:27:57
Message-Id: 1525019264.67a22279aee9a4adec1f5f90ff1487e82156d52c.pacho@gentoo
1 commit: 67a22279aee9a4adec1f5f90ff1487e82156d52c
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 16:24:43 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 16:27:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a22279
7
8 Revert "Remove masked for removal package"
9
10 This reverts commit 2d0b80ef059fd4c1ea78193385e4b22f92527b73.
11
12 games-arcade/sdlsasteroids/debug | 0
13 games-board/gnugo/learn.phalanx | Bin 262144 -> 0 bytes
14 games-board/phalanx/bug.lrn | 0
15 games-board/phalanx/losers.lrn | 0
16 games-board/phalanx/standard.lrn | 0
17 games-board/phalanx/suicide.lrn | 0
18 games-fps/alephone-infinity/Manifest | 2 +
19 .../alephone-infinity-20080622.ebuild | 40 ++++++++++
20 games-fps/alephone-infinity/metadata.xml | 8 ++
21 games-fps/alephone/Manifest | 1 +
22 games-fps/alephone/alephone-20150620-r1.ebuild | 88 +++++++++++++++++++++
23 games-fps/alephone/files/alephone.sh | 28 +++++++
24 games-fps/alephone/metadata.xml | 12 +++
25 profiles/package.mask | 5 ++
26 14 files changed, 184 insertions(+)
27
28 diff --git a/games-arcade/sdlsasteroids/debug b/games-arcade/sdlsasteroids/debug
29 deleted file mode 100644
30 index e69de29bb2d..00000000000
31
32 diff --git a/games-board/gnugo/learn.phalanx b/games-board/gnugo/learn.phalanx
33 deleted file mode 100644
34 index 6d23118f0d0..00000000000
35 Binary files a/games-board/gnugo/learn.phalanx and /dev/null differ
36
37 diff --git a/games-board/phalanx/bug.lrn b/games-board/phalanx/bug.lrn
38 deleted file mode 100644
39 index e69de29bb2d..00000000000
40
41 diff --git a/games-board/phalanx/losers.lrn b/games-board/phalanx/losers.lrn
42 deleted file mode 100644
43 index e69de29bb2d..00000000000
44
45 diff --git a/games-board/phalanx/standard.lrn b/games-board/phalanx/standard.lrn
46 deleted file mode 100644
47 index e69de29bb2d..00000000000
48
49 diff --git a/games-board/phalanx/suicide.lrn b/games-board/phalanx/suicide.lrn
50 deleted file mode 100644
51 index e69de29bb2d..00000000000
52
53 diff --git a/games-fps/alephone-infinity/Manifest b/games-fps/alephone-infinity/Manifest
54 new file mode 100644
55 index 00000000000..ffd3f5204e5
56 --- /dev/null
57 +++ b/games-fps/alephone-infinity/Manifest
58 @@ -0,0 +1,2 @@
59 +DIST MarathonInfinity.zip 30109883 BLAKE2B 5412c172e3f3066250912d9e818b172c9b036c4a71d090d36c3ef7e078d7e37ca7d676282176bd79d3e87b212d40245e7d16d0f8016a3094de24c4434570fdbd SHA512 1f347615b96d2c07914cda78bdc6971311f3933af78debfcd9fa87a0a3048220726a082602b7a76f516f7b3dd3240d1ea843794ab34e4e9e7733342d9d9fe5b1
60 +DIST alephone-infinity.png 19193 BLAKE2B c4e6eeb74d56798ebf3f96f2ee509fb6ac7d695e2c51e4f34599be507deb6354a0e034e0441ced4b5ad5688ec87a2129fdbded28b036e074737cc8dd0974683b SHA512 ad5c683aae4ee0afa306aaf33c9ad93a2eee59a4283166aada58a48a8dbbe8de62c8af0b04b143366448ef101ba8b2530cbc8bc5b3e1de62c5177775fae6bfd3
61
62 diff --git a/games-fps/alephone-infinity/alephone-infinity-20080622.ebuild b/games-fps/alephone-infinity/alephone-infinity-20080622.ebuild
63 new file mode 100644
64 index 00000000000..46cd7a3b526
65 --- /dev/null
66 +++ b/games-fps/alephone-infinity/alephone-infinity-20080622.ebuild
67 @@ -0,0 +1,40 @@
68 +# Copyright 1999-2015 Gentoo Foundation
69 +# Distributed under the terms of the GNU General Public License v2
70 +
71 +EAPI=5
72 +inherit eutils games
73 +
74 +DESCRIPTION="Aleph One - Marathon Infinity"
75 +HOMEPAGE="http://trilogyrelease.bungie.org/"
76 +SRC_URI="http://files3.bungie.org/trilogy/MarathonInfinity.zip
77 + mirror://gentoo/${PN}.png"
78 +
79 +LICENSE="bungie-marathon"
80 +SLOT="0"
81 +KEYWORDS="~amd64 ~ppc64 ~x86"
82 +IUSE=""
83 +RESTRICT="mirror"
84 +
85 +RDEPEND="games-fps/alephone"
86 +DEPEND="app-arch/unzip"
87 +
88 +S=${WORKDIR}/Marathon\ Infinity
89 +
90 +src_install() {
91 + insinto "${GAMES_DATADIR}"/${PN}
92 + doins -r *
93 +
94 + doicon "${DISTDIR}"/${PN}.png
95 + make_desktop_entry "alephone.sh infinity" "Aleph One - Marathon Infinity"
96 +
97 + # Make sure the extra dirs exist in case the user wants to add some data
98 + keepdir "${GAMES_DATADIR}"/${PN}/{Scripts,"Physics Models",Textures,Themes}
99 +
100 + prepgamesdirs
101 +}
102 +
103 +pkg_postinst() {
104 + games_pkg_postinst
105 + elog "To play this scenario, run:"
106 + elog "alephone.sh infinity"
107 +}
108
109 diff --git a/games-fps/alephone-infinity/metadata.xml b/games-fps/alephone-infinity/metadata.xml
110 new file mode 100644
111 index 00000000000..78274e0fa55
112 --- /dev/null
113 +++ b/games-fps/alephone-infinity/metadata.xml
114 @@ -0,0 +1,8 @@
115 +<?xml version="1.0" encoding="UTF-8"?>
116 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
117 +<pkgmetadata>
118 +<maintainer type="project">
119 + <email>games@g.o</email>
120 + <name>Gentoo Games Project</name>
121 +</maintainer>
122 +</pkgmetadata>
123
124 diff --git a/games-fps/alephone/Manifest b/games-fps/alephone/Manifest
125 new file mode 100644
126 index 00000000000..63f1b15b4ac
127 --- /dev/null
128 +++ b/games-fps/alephone/Manifest
129 @@ -0,0 +1 @@
130 +DIST AlephOne-20150620.tar.bz2 5031898 BLAKE2B 7f319c1b1ae2930e5ebfdf7baa1947d35e3f606e936fe86393cf26e1b9b7803283897811bf17cdb2f88931db606b3a13ed1f83bf9a8e9fed3b197135da0cbf46 SHA512 fb47969137b791f83b111171d7b92b3708597db294ce19fb682ce28c49edcd4cb84a6ce4dcceb6630812a8c676dfe7f39f3fb4642f40ef7086a0d6c6fdeba8df
131
132 diff --git a/games-fps/alephone/alephone-20150620-r1.ebuild b/games-fps/alephone/alephone-20150620-r1.ebuild
133 new file mode 100644
134 index 00000000000..4672cf9d674
135 --- /dev/null
136 +++ b/games-fps/alephone/alephone-20150620-r1.ebuild
137 @@ -0,0 +1,88 @@
138 +# Copyright 1999-2017 Gentoo Foundation
139 +# Distributed under the terms of the GNU General Public License v2
140 +
141 +EAPI=6
142 +inherit autotools eutils
143 +
144 +MY_P=AlephOne-${PV}
145 +DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
146 +HOMEPAGE="http://source.bungie.org/"
147 +SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/AlephOne-${PV}.tar.bz2"
148 +
149 +LICENSE="GPL-3+ BitstreamVera OFL-1.1"
150 +SLOT="0"
151 +KEYWORDS="~amd64 ~ppc64 ~x86"
152 +IUSE="alsa curl ffmpeg mad mpeg sndfile speex vorbis"
153 +
154 +RDEPEND="
155 + dev-libs/boost
156 + dev-libs/expat
157 + dev-libs/zziplib
158 + media-libs/libpng:0
159 + media-libs/libsdl[joystick,opengl,video]
160 + media-libs/sdl-image[png]
161 + media-libs/sdl-net
162 + media-libs/sdl-ttf
163 + virtual/opengl
164 + virtual/glu
165 + alsa? ( media-libs/alsa-lib )
166 + curl? ( net-misc/curl )
167 + ffmpeg? ( virtual/ffmpeg )
168 + mad? ( media-libs/libmad )
169 + mpeg? ( media-libs/smpeg )
170 + sndfile? ( media-libs/libsndfile )
171 + speex? ( media-libs/speex )
172 + vorbis? ( media-libs/libvorbis )"
173 +DEPEND="${RDEPEND}
174 + virtual/pkgconfig"
175 +
176 +S=${WORKDIR}/${MY_P}
177 +
178 +src_prepare() {
179 + default
180 +
181 + sed "s:GAMES_DATADIR:/usr/share:g" \
182 + "${FILESDIR}"/${PN}.sh > "${T}"/${PN}.sh \
183 + || die
184 +
185 + # try using the system expat - bug #251108
186 + sed -i \
187 + -e '/SUBDIRS/ s/Expat//' \
188 + -e 's/Expat\/libexpat.a/-lexpat/' \
189 + Source_Files/Makefile.am || die
190 + sed -i -e '/Expat/d' configure.ac || die
191 + rm -r Source_Files/Expat || die
192 +
193 + eautoreconf
194 +}
195 +
196 +src_configure() {
197 + econf \
198 + --enable-lua \
199 + --enable-opengl \
200 + $(use_with alsa) \
201 + $(use_with ffmpeg) \
202 + $(use_with mad) \
203 + $(use_with mpeg smpeg) \
204 + $(use_with sndfile) \
205 + $(use_with speex) \
206 + $(use_with vorbis)
207 +}
208 +
209 +src_install() {
210 + default
211 + dobin "${T}"/${PN}.sh
212 + doman docs/${PN}.6
213 + dodoc docs/*.html
214 +}
215 +
216 +pkg_postinst() {
217 + echo
218 + elog "Read the docs and install the data files accordingly to play."
219 + echo
220 + elog "If you only want to install one scenario, read"
221 + elog "http://traxus.bungie.org/index.php/Aleph_One_install_guide#Single_scenario_3"
222 + elog "If you want to install multiple scenarios, read"
223 + elog "http://traxus.bungie.org/index.php/Aleph_One_install_guide#Multiple_scenarios_3"
224 + echo
225 +}
226
227 diff --git a/games-fps/alephone/files/alephone.sh b/games-fps/alephone/files/alephone.sh
228 new file mode 100644
229 index 00000000000..62ac98f8577
230 --- /dev/null
231 +++ b/games-fps/alephone/files/alephone.sh
232 @@ -0,0 +1,28 @@
233 +#!/bin/sh
234 +
235 +DIR=$(dirname "${0}")
236 +CMD=$(basename "${0}")
237 +ALEPHONE=${CMD%%.sh}
238 +
239 +if [[ -z "${1}" ]]
240 +then
241 + echo "Usage: ${0} SCENARIO FLAGS"
242 + echo "Where SCENARIO is one of:"
243 + for d in "GAMES_DATADIR"/alephone-*
244 + do
245 + echo " ${d##*/alephone-}"
246 + done
247 + exit 2
248 +fi
249 +
250 +export ALEPHONE_DATA="GAMES_DATADIR/alephone-${1}"
251 +
252 +shift
253 +
254 +# kill ARTS, because we're just that nice
255 +if artsshell terminate 2> /dev/null
256 +then
257 + sleep 2
258 +fi
259 +
260 +"${DIR}"/"${ALEPHONE}" "$@"
261
262 diff --git a/games-fps/alephone/metadata.xml b/games-fps/alephone/metadata.xml
263 new file mode 100644
264 index 00000000000..f7a55faa021
265 --- /dev/null
266 +++ b/games-fps/alephone/metadata.xml
267 @@ -0,0 +1,12 @@
268 +<?xml version='1.0' encoding='UTF-8'?>
269 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
270 +<pkgmetadata>
271 + <maintainer type="project">
272 + <email>games@g.o</email>
273 + <name>Gentoo Games Project</name>
274 + </maintainer>
275 + <upstream>
276 + <remote-id type="sourceforge">marathon</remote-id>
277 + <remote-id type="github">Aleph-One-Marathon/alephone</remote-id>
278 + </upstream>
279 +</pkgmetadata>
280
281 diff --git a/profiles/package.mask b/profiles/package.mask
282 index 869836bbec2..625096ab773 100644
283 --- a/profiles/package.mask
284 +++ b/profiles/package.mask
285 @@ -476,6 +476,11 @@ x11-themes/icewm-themes
286 # month.
287 sys-freebsd/virtio-kmod
288
289 +# Pacho Ramos <pacho@g.o> (17 Mar 2018)
290 +# Doesn't build (#591918, #587392). Removal in a month.
291 +games-fps/alephone
292 +games-fps/alephone-infinity
293 +
294 # Pacho Ramos <pacho@g.o> (17 Mar 2018)
295 # Broken for a long time (#587806). Removal in a month.
296 app-text/zemberek-server