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-launcher/
Date: Fri, 30 Aug 2013 10:55:20
Message-Id: 1377860086.d20319d47bd2c150b69c70ba5cf661159c474ab5.anyc@gentoo
1 commit: d20319d47bd2c150b69c70ba5cf661159c474ab5
2 Author: Mario Kicherer <dev <AT> kicherer <DOT> org>
3 AuthorDate: Fri Aug 30 10:54:42 2013 +0000
4 Commit: Mario Kicherer <dev <AT> kicherer <DOT> org>
5 CommitDate: Fri Aug 30 10:54:46 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=d20319d4
7
8 [games-util/steam-launcher] new version 1.0.0.40
9
10 ---
11 .../steam-launcher/steam-launcher-1.0.0.40.ebuild | 108 +++++++++++++++++++++
12 1 file changed, 108 insertions(+)
13
14 diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.40.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.40.ebuild
15 new file mode 100644
16 index 0000000..5e5487d
17 --- /dev/null
18 +++ b/games-util/steam-launcher/steam-launcher-1.0.0.40.ebuild
19 @@ -0,0 +1,108 @@
20 +# Copyright 1999-2013 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI=5
25 +
26 +# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay
27 +# or come to #gentoo-gamerlay in freenode IRC
28 +
29 +inherit eutils gnome2-utils fdo-mime
30 +
31 +DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client"
32 +HOMEPAGE="http://steampowered.com"
33 +SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz"
34 +
35 +KEYWORDS="-* ~amd64 ~x86"
36 +LICENSE="ValveSteamLicense"
37 +
38 +RESTRICT="bindist mirror"
39 +SLOT="0"
40 +
41 +RDEPEND="
42 + app-arch/xz-utils
43 + app-shells/bash
44 + net-misc/curl
45 + || (
46 + gnome-extra/zenity
47 + x11-terms/xterm
48 + )
49 +
50 + amd64? (
51 + >=app-emulation/emul-linux-x86-baselibs-20121028
52 + || (
53 + >=app-emulation/emul-linux-x86-xlibs-20121028
54 + (
55 + x11-libs/libX11[abi_x86_32]
56 + x11-libs/libXau[abi_x86_32]
57 + x11-libs/libxcb[abi_x86_32]
58 + x11-libs/libXdmcp[abi_x86_32]
59 + )
60 + )
61 + >=sys-devel/gcc-4.6.0[multilib]
62 + >=sys-libs/glibc-2.15[multilib]
63 + )
64 + x86? (
65 + >=sys-devel/gcc-4.6.0
66 + >=sys-libs/glibc-2.15
67 + >=x11-libs/libX11-1.5
68 + x11-libs/libXau
69 + x11-libs/libxcb
70 + x11-libs/libXdmcp
71 + )"
72 +
73 +S=${WORKDIR}/steam/
74 +
75 +src_prepare() {
76 + # we use our ebuild functions to install the files
77 + rm Makefile
78 +}
79 +
80 +src_install() {
81 + dobin steam
82 +
83 + insinto /usr/lib/steam/
84 + doins bootstraplinux_ubuntu12_32.tar.xz
85 +
86 + dodoc debian/changelog steam_install_agreement.txt
87 + doman steam.6
88 +
89 + domenu steam.desktop
90 +
91 + cd icons/
92 + for s in * ; do
93 + doicon -s ${s} ${s}/steam.png
94 + done
95 +
96 + # tgz archive contains no separate pixmap, see #38
97 + insinto /usr/share/pixmaps/
98 + newins 48/steam.png steam_tray_mono.png
99 +}
100 +
101 +pkg_preinst() {
102 + gnome2_icon_savelist
103 +}
104 +
105 +pkg_postinst() {
106 + fdo-mime_desktop_database_update
107 + gnome2_icon_cache_update
108 +
109 + elog "Execute /usr/bin/steam to download and install the actual"
110 + elog "client into your home folder. After installation, the script"
111 + elog "also starts the client from your home folder."
112 + elog ""
113 +
114 + if ! has_version "gnome-extra/zenity"; then
115 + ewarn "Valve does not provide a xterm fallback for all calls of zenity."
116 + ewarn "Please install gnome-extra/zenity for full support."
117 + ewarn ""
118 + fi
119 +
120 + ewarn "The steam client and the games are _not_ controlled by portage."
121 + ewarn "Updates are handled by the client itself."
122 +}
123 +
124 +pkg_postrm() {
125 + fdo-mime_desktop_database_update
126 + gnome2_icon_cache_update
127 +}