Gentoo Archives: gentoo-commits

From: Mario Kicherer <dev@××××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-util/steam-games-meta/, games-util/steam-client-meta/, ...
Date: Tue, 26 Feb 2013 22:17:38
Message-Id: 1361917046.96ea30afc032324d818ca66d34c1069a411d9b50.anyc@gentoo
1 commit: 96ea30afc032324d818ca66d34c1069a411d9b50
2 Author: Mario Kicherer <dev <AT> kicherer <DOT> org>
3 AuthorDate: Tue Feb 26 22:17:26 2013 +0000
4 Commit: Mario Kicherer <dev <AT> kicherer <DOT> org>
5 CommitDate: Tue Feb 26 22:17:26 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=96ea30af
7
8 [games-util/steam*] new base 1.0.0.34
9
10 ---
11 games-util/steam-base/steam-base-1.0.0.27.ebuild | 102 --------------------
12 games-util/steam-base/steam-base-1.0.0.28.ebuild | 102 --------------------
13 ...-1.0.0.29.ebuild => steam-base-1.0.0.33.ebuild} | 2 +-
14 ...-1.0.0.26.ebuild => steam-base-1.0.0.34.ebuild} | 37 +++++--
15 .../steam-client-meta-9999.ebuild | 2 +
16 .../steam-games-meta/steam-games-meta-9999.ebuild | 4 +-
17 6 files changed, 30 insertions(+), 219 deletions(-)
18
19 diff --git a/games-util/steam-base/steam-base-1.0.0.27.ebuild b/games-util/steam-base/steam-base-1.0.0.27.ebuild
20 deleted file mode 100644
21 index 3efb9fc..0000000
22 --- a/games-util/steam-base/steam-base-1.0.0.27.ebuild
23 +++ /dev/null
24 @@ -1,102 +0,0 @@
25 -# Copyright 1999-2013 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -# $Header: $
28 -
29 -EAPI=5
30 -
31 -# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay
32 -# or come to #gentoo-gamerlay in freenode IRC
33 -
34 -inherit eutils gnome2-utils fdo-mime
35 -
36 -DESCRIPTION="Supplementary files for Valve's Steam client for Linux"
37 -HOMEPAGE="http://steampowered.com"
38 -
39 -if [[ "${PV}" == "9999" ]] ; then
40 - SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_latest.deb"
41 - KEYWORDS=""
42 -else
43 - SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz"
44 - KEYWORDS="-* ~amd64 ~x86"
45 -fi
46 -
47 -LICENSE="ValveSteamLicense"
48 -
49 -RESTRICT="bindist mirror"
50 -SLOT="0"
51 -IUSE=""
52 -
53 -RDEPEND="
54 - app-shells/bash
55 - gnome-extra/zenity
56 -
57 - amd64? (
58 - >=app-emulation/emul-linux-x86-baselibs-20121028
59 - >=app-emulation/emul-linux-x86-xlibs-20121028
60 - >=sys-devel/gcc-4.6.0[multilib]
61 - >=sys-libs/glibc-2.15[multilib]
62 - )
63 - x86? (
64 - >=sys-devel/gcc-4.6.0
65 - >=sys-libs/glibc-2.15
66 - >=x11-libs/libX11-1.5
67 - x11-libs/libXau
68 - x11-libs/libxcb
69 - x11-libs/libXdmcp
70 - )"
71 -
72 -S=${WORKDIR}/steam-${PV}/
73 -
74 -src_prepare() {
75 - if [[ "${PV}" != "9999" ]] ; then
76 - # use system libraries
77 - sed -i -r 's/#(if \[ -z "\$STEAM_RUNTIME" \]; then)/\1/' steam
78 - sed -i -r "s/# STEAM_RUNTIME=1/ export STEAM_RUNTIME=0/" steam
79 - sed -i -r "s/#(fi)/\1/" steam
80 -
81 - # we use our ebuild functions to install the files
82 - rm Makefile
83 - fi
84 -}
85 -
86 -src_install() {
87 - dobin steam
88 -
89 - insinto /usr/lib/steam/
90 - doins bootstraplinux_ubuntu12_32.tar.xz
91 -
92 - dodoc debian/changelog steam_install_agreement.txt
93 - doman steam.6
94 -
95 - domenu steam.desktop
96 -
97 - cd icons/
98 - for s in * ; do
99 - doicon -s ${s} ${s}/steam.png
100 - done
101 -}
102 -
103 -pkg_preinst() {
104 - gnome2_icon_savelist
105 -}
106 -
107 -pkg_postinst() {
108 - fdo-mime_desktop_database_update
109 - gnome2_icon_cache_update
110 -
111 - elog "Execute /usr/bin/steam to download and install the actual"
112 - elog "client into your home folder. After installation, the script"
113 - elog "also starts the client from your home folder."
114 - elog ""
115 - elog "We disable STEAM_RUNTIME in order to ignore packaged libraries"
116 - elog "and use installed system libraries instead. If you have problems,"
117 - elog "try starting steam with: STEAM_RUNTIME=1 steam"
118 -
119 - ewarn "The steam client and the games are _not_ controlled by portage."
120 - ewarn "Updates are handled by the client itself."
121 -}
122 -
123 -pkg_postrm() {
124 - fdo-mime_desktop_database_update
125 - gnome2_icon_cache_update
126 -}
127
128 diff --git a/games-util/steam-base/steam-base-1.0.0.28.ebuild b/games-util/steam-base/steam-base-1.0.0.28.ebuild
129 deleted file mode 100644
130 index 3efb9fc..0000000
131 --- a/games-util/steam-base/steam-base-1.0.0.28.ebuild
132 +++ /dev/null
133 @@ -1,102 +0,0 @@
134 -# Copyright 1999-2013 Gentoo Foundation
135 -# Distributed under the terms of the GNU General Public License v2
136 -# $Header: $
137 -
138 -EAPI=5
139 -
140 -# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay
141 -# or come to #gentoo-gamerlay in freenode IRC
142 -
143 -inherit eutils gnome2-utils fdo-mime
144 -
145 -DESCRIPTION="Supplementary files for Valve's Steam client for Linux"
146 -HOMEPAGE="http://steampowered.com"
147 -
148 -if [[ "${PV}" == "9999" ]] ; then
149 - SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_latest.deb"
150 - KEYWORDS=""
151 -else
152 - SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz"
153 - KEYWORDS="-* ~amd64 ~x86"
154 -fi
155 -
156 -LICENSE="ValveSteamLicense"
157 -
158 -RESTRICT="bindist mirror"
159 -SLOT="0"
160 -IUSE=""
161 -
162 -RDEPEND="
163 - app-shells/bash
164 - gnome-extra/zenity
165 -
166 - amd64? (
167 - >=app-emulation/emul-linux-x86-baselibs-20121028
168 - >=app-emulation/emul-linux-x86-xlibs-20121028
169 - >=sys-devel/gcc-4.6.0[multilib]
170 - >=sys-libs/glibc-2.15[multilib]
171 - )
172 - x86? (
173 - >=sys-devel/gcc-4.6.0
174 - >=sys-libs/glibc-2.15
175 - >=x11-libs/libX11-1.5
176 - x11-libs/libXau
177 - x11-libs/libxcb
178 - x11-libs/libXdmcp
179 - )"
180 -
181 -S=${WORKDIR}/steam-${PV}/
182 -
183 -src_prepare() {
184 - if [[ "${PV}" != "9999" ]] ; then
185 - # use system libraries
186 - sed -i -r 's/#(if \[ -z "\$STEAM_RUNTIME" \]; then)/\1/' steam
187 - sed -i -r "s/# STEAM_RUNTIME=1/ export STEAM_RUNTIME=0/" steam
188 - sed -i -r "s/#(fi)/\1/" steam
189 -
190 - # we use our ebuild functions to install the files
191 - rm Makefile
192 - fi
193 -}
194 -
195 -src_install() {
196 - dobin steam
197 -
198 - insinto /usr/lib/steam/
199 - doins bootstraplinux_ubuntu12_32.tar.xz
200 -
201 - dodoc debian/changelog steam_install_agreement.txt
202 - doman steam.6
203 -
204 - domenu steam.desktop
205 -
206 - cd icons/
207 - for s in * ; do
208 - doicon -s ${s} ${s}/steam.png
209 - done
210 -}
211 -
212 -pkg_preinst() {
213 - gnome2_icon_savelist
214 -}
215 -
216 -pkg_postinst() {
217 - fdo-mime_desktop_database_update
218 - gnome2_icon_cache_update
219 -
220 - elog "Execute /usr/bin/steam to download and install the actual"
221 - elog "client into your home folder. After installation, the script"
222 - elog "also starts the client from your home folder."
223 - elog ""
224 - elog "We disable STEAM_RUNTIME in order to ignore packaged libraries"
225 - elog "and use installed system libraries instead. If you have problems,"
226 - elog "try starting steam with: STEAM_RUNTIME=1 steam"
227 -
228 - ewarn "The steam client and the games are _not_ controlled by portage."
229 - ewarn "Updates are handled by the client itself."
230 -}
231 -
232 -pkg_postrm() {
233 - fdo-mime_desktop_database_update
234 - gnome2_icon_cache_update
235 -}
236
237 diff --git a/games-util/steam-base/steam-base-1.0.0.29.ebuild b/games-util/steam-base/steam-base-1.0.0.33.ebuild
238 similarity index 99%
239 rename from games-util/steam-base/steam-base-1.0.0.29.ebuild
240 rename to games-util/steam-base/steam-base-1.0.0.33.ebuild
241 index 542462d..4dbd20d 100644
242 --- a/games-util/steam-base/steam-base-1.0.0.29.ebuild
243 +++ b/games-util/steam-base/steam-base-1.0.0.33.ebuild
244 @@ -45,7 +45,7 @@ RDEPEND="
245 x11-libs/libXdmcp
246 )"
247
248 -S=${WORKDIR}/steam-${PV}/
249 +S=${WORKDIR}/steam/
250
251 src_prepare() {
252 if [[ "${PV}" != "9999" ]] ; then
253
254 diff --git a/games-util/steam-base/steam-base-1.0.0.26.ebuild b/games-util/steam-base/steam-base-1.0.0.34.ebuild
255 similarity index 72%
256 rename from games-util/steam-base/steam-base-1.0.0.26.ebuild
257 rename to games-util/steam-base/steam-base-1.0.0.34.ebuild
258 index 3efb9fc..ccb84eb 100644
259 --- a/games-util/steam-base/steam-base-1.0.0.26.ebuild
260 +++ b/games-util/steam-base/steam-base-1.0.0.34.ebuild
261 @@ -24,11 +24,18 @@ LICENSE="ValveSteamLicense"
262
263 RESTRICT="bindist mirror"
264 SLOT="0"
265 -IUSE=""
266 +IUSE="-steamruntime"
267
268 RDEPEND="
269 + app-arch/xz-utils
270 app-shells/bash
271 gnome-extra/zenity
272 + net-misc/curl
273 + || (
274 + x11-terms/gnome-terminal
275 + x11-terms/xterm
276 + kde-base/konsole
277 + )
278
279 amd64? (
280 >=app-emulation/emul-linux-x86-baselibs-20121028
281 @@ -45,15 +52,17 @@ RDEPEND="
282 x11-libs/libXdmcp
283 )"
284
285 -S=${WORKDIR}/steam-${PV}/
286 +S=${WORKDIR}/steam/
287
288 src_prepare() {
289 if [[ "${PV}" != "9999" ]] ; then
290 - # use system libraries
291 - sed -i -r 's/#(if \[ -z "\$STEAM_RUNTIME" \]; then)/\1/' steam
292 - sed -i -r "s/# STEAM_RUNTIME=1/ export STEAM_RUNTIME=0/" steam
293 - sed -i -r "s/#(fi)/\1/" steam
294 -
295 + if ! use steamruntime; then
296 + # use system libraries
297 + sed -i -r 's/#(if \[ -z "\$STEAM_RUNTIME" \]; then)/\1/' steam
298 + sed -i -r "s/# STEAM_RUNTIME=1/ export STEAM_RUNTIME=0/" steam
299 + sed -i -r "s/#(fi)/\1/" steam
300 + fi
301 +
302 # we use our ebuild functions to install the files
303 rm Makefile
304 fi
305 @@ -87,10 +96,16 @@ pkg_postinst() {
306 elog "Execute /usr/bin/steam to download and install the actual"
307 elog "client into your home folder. After installation, the script"
308 elog "also starts the client from your home folder."
309 - elog ""
310 - elog "We disable STEAM_RUNTIME in order to ignore packaged libraries"
311 - elog "and use installed system libraries instead. If you have problems,"
312 - elog "try starting steam with: STEAM_RUNTIME=1 steam"
313 +
314 + if use steamruntime; then
315 + ewarn "You enabled the steam runtime environment. Steam will use bundled"
316 + ewarn "libraries instead of system libraries which is _not_ supported."
317 + else
318 + elog ""
319 + elog "We disable STEAM_RUNTIME in order to ignore bundled libraries"
320 + elog "and use installed system libraries instead. If you have problems,"
321 + elog "try starting steam with: STEAM_RUNTIME=1 steam"
322 + fi
323
324 ewarn "The steam client and the games are _not_ controlled by portage."
325 ewarn "Updates are handled by the client itself."
326
327 diff --git a/games-util/steam-client-meta/steam-client-meta-9999.ebuild b/games-util/steam-client-meta/steam-client-meta-9999.ebuild
328 index 2a84f88..248efb8 100644
329 --- a/games-util/steam-client-meta/steam-client-meta-9999.ebuild
330 +++ b/games-util/steam-client-meta/steam-client-meta-9999.ebuild
331 @@ -19,6 +19,8 @@ IUSE="flash video_cards_intel windows-games"
332 RDEPEND="
333 virtual/opengl
334
335 + media-fonts/font-mutt-misc
336 +
337 windows-games? ( app-emulation/wine )
338
339 amd64? (
340
341 diff --git a/games-util/steam-games-meta/steam-games-meta-9999.ebuild b/games-util/steam-games-meta/steam-games-meta-9999.ebuild
342 index 6529a16..cddff1d 100644
343 --- a/games-util/steam-games-meta/steam-games-meta-9999.ebuild
344 +++ b/games-util/steam-games-meta/steam-games-meta-9999.ebuild
345 @@ -57,9 +57,7 @@ RDEPEND="
346 )
347 )
348 steamgames_dwarfs? (
349 - x86? (
350 - media-libs/libexif
351 - )
352 + x86? ( media-libs/libexif )
353 amd64? ( >=media-libs/libexif-0.6.21-r1[abi_x86_32] )
354 )
355 steamgames_unwritten_tales? (