1 |
commit: 476c8377bdf1f2dff6aba9cb2796a0074b7e61a0 |
2 |
Author: Mario Kicherer <dev <AT> kicherer <DOT> org> |
3 |
AuthorDate: Fri Mar 29 21:02:15 2013 +0000 |
4 |
Commit: Mario Kicherer <dev <AT> kicherer <DOT> org> |
5 |
CommitDate: Fri Mar 29 21:02:15 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=476c8377 |
7 |
|
8 |
[games-util/steam*] small updates |
9 |
|
10 |
--- |
11 |
games-util/steam-games-meta/metadata.xml | 1 + |
12 |
.../steam-games-meta-0-r20130312.ebuild | 20 ++-- |
13 |
.../steam-launcher-1.0.0.35-r1.ebuild | 131 -------------------- |
14 |
.../steam-launcher/steam-launcher-1.0.0.35.ebuild | 117 ----------------- |
15 |
.../steam-launcher/steam-launcher-1.0.0.36.ebuild | 7 +- |
16 |
5 files changed, 19 insertions(+), 257 deletions(-) |
17 |
|
18 |
diff --git a/games-util/steam-games-meta/metadata.xml b/games-util/steam-games-meta/metadata.xml |
19 |
index 428c203..7bf198a 100644 |
20 |
--- a/games-util/steam-games-meta/metadata.xml |
21 |
+++ b/games-util/steam-games-meta/metadata.xml |
22 |
@@ -22,6 +22,7 @@ |
23 |
<flag name='steamgames_tf2'>Team Fortress 2</flag> |
24 |
<flag name='steamgames_journey_down'>The journy down</flag> |
25 |
<flag name='steamgames_trine2'>Trine 2</flag> |
26 |
+ <flag name='steamgames_shatter'>Sidhe's Shatter</flag> |
27 |
<flag name='steamgames_defenders_quest'>Defender's Quest: Valley of the Forgotten</flag> |
28 |
<flag name='testdeps'> |
29 |
Pull in dependencies that are not yet confirmed as strictly |
30 |
|
31 |
diff --git a/games-util/steam-games-meta/steam-games-meta-0-r20130312.ebuild b/games-util/steam-games-meta/steam-games-meta-0-r20130312.ebuild |
32 |
index bf0ce6a..8fbda14 100644 |
33 |
--- a/games-util/steam-games-meta/steam-games-meta-0-r20130312.ebuild |
34 |
+++ b/games-util/steam-games-meta/steam-games-meta-0-r20130312.ebuild |
35 |
@@ -19,7 +19,8 @@ IUSE="s3tc testdeps video_cards_intel video_cards_fglrx video_cards_nouveau |
36 |
|
37 |
# add USE_EXPAND="${USE_EXPAND} STEAMGAMES" to your make.conf for proper |
38 |
# display of steamgames use flags |
39 |
-IUSE_STEAMGAMES="dwarfs unwritten_tales tf2 trine2 journey_down defenders_quest" |
40 |
+IUSE_STEAMGAMES="dwarfs unwritten_tales tf2 trine2 journey_down defenders_quest |
41 |
+ shatter" |
42 |
|
43 |
for sgame in ${IUSE_STEAMGAMES}; do |
44 |
IUSE="${IUSE} steamgames_${sgame}" |
45 |
@@ -55,8 +56,6 @@ RDEPEND=" |
46 |
x11-libs/libXmu |
47 |
x11-libs/libXxf86vm |
48 |
x11-misc/xclip |
49 |
- |
50 |
- video_cards_nvidia? ( media-gfx/nvidia-cg-toolkit ) |
51 |
) |
52 |
) |
53 |
steamgames_dwarfs? ( |
54 |
@@ -79,6 +78,10 @@ RDEPEND=" |
55 |
steamgames_defenders_quest? ( |
56 |
dev-util/adobe-air-runtime |
57 |
) |
58 |
+ steamgames_shatter? ( |
59 |
+ amd64? ( >=media-gfx/nvidia-cg-toolkit-3.1.0013 ) |
60 |
+ x86? ( media-gfx/nvidia-cg-toolkit ) |
61 |
+ ) |
62 |
" |
63 |
REQUIRED_USE=" |
64 |
steamgames_tf2? ( |
65 |
@@ -93,17 +96,18 @@ pkg_postinst() { |
66 |
elog "If a game does not start, please enable \"testdeps\" use-flag and" |
67 |
elog "check if it fixes the issue. Please report, if and which one of the" |
68 |
elog "dependencies is required for a game, so we can mark it accordingly." |
69 |
+ elog "" |
70 |
fi |
71 |
|
72 |
if use amd64; then |
73 |
elog "If a game does not start, please take a look at the dependencies" |
74 |
elog "for the x86 architecture in this ebuild. It might be required that" |
75 |
- elog "you build them in a x86 chroot environment or using crossdev (see" |
76 |
- elog "http://en.gentoo-wiki.com/wiki/Crossdev ). Please report, if and" |
77 |
- elog "which one of the dependencies is required for a game, so we can" |
78 |
- elog "request the inclusion in the emul-linux-x86* packages, see:" |
79 |
- elog "https://bugs.gentoo.org/show_bug.cgi?id=446682" |
80 |
+ elog "we create a multilib ebuild for x86. Please report, if and which" |
81 |
+ elog "one of the dependencies is required for a game, so we can mark it" |
82 |
+ elog "accordingly." |
83 |
+ elog "" |
84 |
fi |
85 |
elog "Ebuild development website: https://github.com/anyc/steam-overlay" |
86 |
+ elog "" |
87 |
elog "If you have problems, please also see http://wiki.gentoo.org/wiki/Steam" |
88 |
} |
89 |
|
90 |
diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.35-r1.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.35-r1.ebuild |
91 |
deleted file mode 100644 |
92 |
index d3de8d8..0000000 |
93 |
--- a/games-util/steam-launcher/steam-launcher-1.0.0.35-r1.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,131 +0,0 @@ |
96 |
-# Copyright 1999-2013 Gentoo Foundation |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
-# $Header: $ |
99 |
- |
100 |
-EAPI=5 |
101 |
- |
102 |
-# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay |
103 |
-# or come to #gentoo-gamerlay in freenode IRC |
104 |
- |
105 |
-inherit eutils gnome2-utils fdo-mime |
106 |
- |
107 |
-DESCRIPTION="Supplementary files for Valve's Steam client for Linux" |
108 |
-HOMEPAGE="http://steampowered.com" |
109 |
- |
110 |
-if [[ "${PV}" == "9999" ]] ; then |
111 |
- SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_latest.deb" |
112 |
- KEYWORDS="" |
113 |
-else |
114 |
- SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz" |
115 |
- KEYWORDS="-* ~amd64 ~x86" |
116 |
-fi |
117 |
- |
118 |
-LICENSE="ValveSteamLicense" |
119 |
- |
120 |
-RESTRICT="bindist mirror" |
121 |
-SLOT="0" |
122 |
-IUSE="-steamruntime" |
123 |
- |
124 |
-RDEPEND=" |
125 |
- app-arch/xz-utils |
126 |
- app-shells/bash |
127 |
- net-misc/curl |
128 |
- || ( |
129 |
- gnome-extra/zenity |
130 |
- x11-terms/xterm |
131 |
- ) |
132 |
- |
133 |
- amd64? ( |
134 |
- >=app-emulation/emul-linux-x86-baselibs-20121028 |
135 |
- || ( |
136 |
- >=app-emulation/emul-linux-x86-xlibs-20121028 |
137 |
- ( |
138 |
- x11-libs/libX11[abi_x86_32] |
139 |
- x11-libs/libXau[abi_x86_32] |
140 |
- x11-libs/libxcb[abi_x86_32] |
141 |
- x11-libs/libXdmcp[abi_x86_32] |
142 |
- ) |
143 |
- ) |
144 |
- >=sys-devel/gcc-4.6.0[multilib] |
145 |
- >=sys-libs/glibc-2.15[multilib] |
146 |
- ) |
147 |
- x86? ( |
148 |
- >=sys-devel/gcc-4.6.0 |
149 |
- >=sys-libs/glibc-2.15 |
150 |
- >=x11-libs/libX11-1.5 |
151 |
- x11-libs/libXau |
152 |
- x11-libs/libxcb |
153 |
- x11-libs/libXdmcp |
154 |
- )" |
155 |
- |
156 |
-S=${WORKDIR}/steam/ |
157 |
- |
158 |
-src_prepare() { |
159 |
- if [[ "${PV}" != "9999" ]] ; then |
160 |
- if ! use steamruntime; then |
161 |
- # use system libraries |
162 |
- sed -i -r 's/#(if \[ -z "\$STEAM_RUNTIME" \]; then)/\1/' steam |
163 |
- sed -i -r "s/# STEAM_RUNTIME=1/ export STEAM_RUNTIME=0/" steam |
164 |
- sed -i -r "s/#(fi)/\1/" steam |
165 |
- fi |
166 |
- |
167 |
- # we use our ebuild functions to install the files |
168 |
- rm Makefile |
169 |
- fi |
170 |
-} |
171 |
- |
172 |
-src_install() { |
173 |
- dobin steam |
174 |
- |
175 |
- insinto /usr/lib/steam/ |
176 |
- doins bootstraplinux_ubuntu12_32.tar.xz |
177 |
- |
178 |
- dodoc debian/changelog steam_install_agreement.txt |
179 |
- doman steam.6 |
180 |
- |
181 |
- domenu steam.desktop |
182 |
- |
183 |
- cd icons/ |
184 |
- for s in * ; do |
185 |
- doicon -s ${s} ${s}/steam.png |
186 |
- done |
187 |
-} |
188 |
- |
189 |
-pkg_preinst() { |
190 |
- gnome2_icon_savelist |
191 |
-} |
192 |
- |
193 |
-pkg_postinst() { |
194 |
- fdo-mime_desktop_database_update |
195 |
- gnome2_icon_cache_update |
196 |
- |
197 |
- elog "Execute /usr/bin/steam to download and install the actual" |
198 |
- elog "client into your home folder. After installation, the script" |
199 |
- elog "also starts the client from your home folder." |
200 |
- elog "" |
201 |
- |
202 |
- if use steamruntime; then |
203 |
- ewarn "You enabled the steam runtime environment. Steam will use bundled" |
204 |
- ewarn "libraries instead of system libraries which is _not_ supported." |
205 |
- ewarn "" |
206 |
- else |
207 |
- elog "We disable STEAM_RUNTIME in order to ignore bundled libraries" |
208 |
- elog "and use installed system libraries instead. If you have problems," |
209 |
- elog "try starting steam with: STEAM_RUNTIME=1 steam" |
210 |
- elog "" |
211 |
- fi |
212 |
- |
213 |
- if ! has_version "gnome-extra/zenity"; then |
214 |
- ewarn "Valve does not provide a xterm fallback for all calls of zenity." |
215 |
- ewarn "Please install gnome-extra/zenity for full support." |
216 |
- ewarn "" |
217 |
- fi |
218 |
- |
219 |
- ewarn "The steam client and the games are _not_ controlled by portage." |
220 |
- ewarn "Updates are handled by the client itself." |
221 |
-} |
222 |
- |
223 |
-pkg_postrm() { |
224 |
- fdo-mime_desktop_database_update |
225 |
- gnome2_icon_cache_update |
226 |
-} |
227 |
|
228 |
diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.35.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.35.ebuild |
229 |
deleted file mode 100644 |
230 |
index ccb84eb..0000000 |
231 |
--- a/games-util/steam-launcher/steam-launcher-1.0.0.35.ebuild |
232 |
+++ /dev/null |
233 |
@@ -1,117 +0,0 @@ |
234 |
-# Copyright 1999-2013 Gentoo Foundation |
235 |
-# Distributed under the terms of the GNU General Public License v2 |
236 |
-# $Header: $ |
237 |
- |
238 |
-EAPI=5 |
239 |
- |
240 |
-# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay |
241 |
-# or come to #gentoo-gamerlay in freenode IRC |
242 |
- |
243 |
-inherit eutils gnome2-utils fdo-mime |
244 |
- |
245 |
-DESCRIPTION="Supplementary files for Valve's Steam client for Linux" |
246 |
-HOMEPAGE="http://steampowered.com" |
247 |
- |
248 |
-if [[ "${PV}" == "9999" ]] ; then |
249 |
- SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_latest.deb" |
250 |
- KEYWORDS="" |
251 |
-else |
252 |
- SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz" |
253 |
- KEYWORDS="-* ~amd64 ~x86" |
254 |
-fi |
255 |
- |
256 |
-LICENSE="ValveSteamLicense" |
257 |
- |
258 |
-RESTRICT="bindist mirror" |
259 |
-SLOT="0" |
260 |
-IUSE="-steamruntime" |
261 |
- |
262 |
-RDEPEND=" |
263 |
- app-arch/xz-utils |
264 |
- app-shells/bash |
265 |
- gnome-extra/zenity |
266 |
- net-misc/curl |
267 |
- || ( |
268 |
- x11-terms/gnome-terminal |
269 |
- x11-terms/xterm |
270 |
- kde-base/konsole |
271 |
- ) |
272 |
- |
273 |
- amd64? ( |
274 |
- >=app-emulation/emul-linux-x86-baselibs-20121028 |
275 |
- >=app-emulation/emul-linux-x86-xlibs-20121028 |
276 |
- >=sys-devel/gcc-4.6.0[multilib] |
277 |
- >=sys-libs/glibc-2.15[multilib] |
278 |
- ) |
279 |
- x86? ( |
280 |
- >=sys-devel/gcc-4.6.0 |
281 |
- >=sys-libs/glibc-2.15 |
282 |
- >=x11-libs/libX11-1.5 |
283 |
- x11-libs/libXau |
284 |
- x11-libs/libxcb |
285 |
- x11-libs/libXdmcp |
286 |
- )" |
287 |
- |
288 |
-S=${WORKDIR}/steam/ |
289 |
- |
290 |
-src_prepare() { |
291 |
- if [[ "${PV}" != "9999" ]] ; then |
292 |
- if ! use steamruntime; then |
293 |
- # use system libraries |
294 |
- sed -i -r 's/#(if \[ -z "\$STEAM_RUNTIME" \]; then)/\1/' steam |
295 |
- sed -i -r "s/# STEAM_RUNTIME=1/ export STEAM_RUNTIME=0/" steam |
296 |
- sed -i -r "s/#(fi)/\1/" steam |
297 |
- fi |
298 |
- |
299 |
- # we use our ebuild functions to install the files |
300 |
- rm Makefile |
301 |
- fi |
302 |
-} |
303 |
- |
304 |
-src_install() { |
305 |
- dobin steam |
306 |
- |
307 |
- insinto /usr/lib/steam/ |
308 |
- doins bootstraplinux_ubuntu12_32.tar.xz |
309 |
- |
310 |
- dodoc debian/changelog steam_install_agreement.txt |
311 |
- doman steam.6 |
312 |
- |
313 |
- domenu steam.desktop |
314 |
- |
315 |
- cd icons/ |
316 |
- for s in * ; do |
317 |
- doicon -s ${s} ${s}/steam.png |
318 |
- done |
319 |
-} |
320 |
- |
321 |
-pkg_preinst() { |
322 |
- gnome2_icon_savelist |
323 |
-} |
324 |
- |
325 |
-pkg_postinst() { |
326 |
- fdo-mime_desktop_database_update |
327 |
- gnome2_icon_cache_update |
328 |
- |
329 |
- elog "Execute /usr/bin/steam to download and install the actual" |
330 |
- elog "client into your home folder. After installation, the script" |
331 |
- elog "also starts the client from your home folder." |
332 |
- |
333 |
- if use steamruntime; then |
334 |
- ewarn "You enabled the steam runtime environment. Steam will use bundled" |
335 |
- ewarn "libraries instead of system libraries which is _not_ supported." |
336 |
- else |
337 |
- elog "" |
338 |
- elog "We disable STEAM_RUNTIME in order to ignore bundled libraries" |
339 |
- elog "and use installed system libraries instead. If you have problems," |
340 |
- elog "try starting steam with: STEAM_RUNTIME=1 steam" |
341 |
- fi |
342 |
- |
343 |
- ewarn "The steam client and the games are _not_ controlled by portage." |
344 |
- ewarn "Updates are handled by the client itself." |
345 |
-} |
346 |
- |
347 |
-pkg_postrm() { |
348 |
- fdo-mime_desktop_database_update |
349 |
- gnome2_icon_cache_update |
350 |
-} |
351 |
|
352 |
diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.36.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.36.ebuild |
353 |
index 3fa95d9..783de06 100644 |
354 |
--- a/games-util/steam-launcher/steam-launcher-1.0.0.36.ebuild |
355 |
+++ b/games-util/steam-launcher/steam-launcher-1.0.0.36.ebuild |
356 |
@@ -89,7 +89,7 @@ src_install() { |
357 |
for s in * ; do |
358 |
doicon -s ${s} ${s}/steam.png |
359 |
done |
360 |
- |
361 |
+ |
362 |
# tgz archive contains no separate pixmap, see #38 |
363 |
insinto /usr/share/pixmaps/ |
364 |
newins 48/steam.png steam_tray_mono.png |
365 |
@@ -103,6 +103,11 @@ pkg_postinst() { |
366 |
fdo-mime_desktop_database_update |
367 |
gnome2_icon_cache_update |
368 |
|
369 |
+ ewarn "This ebuild only installs the launcher. To start the client" |
370 |
+ ewarn "and play games, you'll need further libraries that you can" |
371 |
+ ewarn "pull in using the steam-meta ebuild." |
372 |
+ ewarn "" |
373 |
+ |
374 |
elog "Execute /usr/bin/steam to download and install the actual" |
375 |
elog "client into your home folder. After installation, the script" |
376 |
elog "also starts the client from your home folder." |