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