1 |
commit: aea1fc6ec8e0f1d2d948c76df1db9da39110e596 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 29 21:10:11 2017 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 29 21:10:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=aea1fc6e |
7 |
|
8 |
games-util/steam-launcher: Drop old package in favour of steam-overlay |
9 |
|
10 |
.../files/steam-fix-ld-library-path.patch | 21 ---- |
11 |
games-util/steam-launcher/metadata.xml | 11 -- |
12 |
.../steam-launcher/steam-launcher-1.0.0.49.ebuild | 119 --------------------- |
13 |
3 files changed, 151 deletions(-) |
14 |
|
15 |
diff --git a/games-util/steam-launcher/files/steam-fix-ld-library-path.patch b/games-util/steam-launcher/files/steam-fix-ld-library-path.patch |
16 |
deleted file mode 100644 |
17 |
index c98ef77..0000000 |
18 |
--- a/games-util/steam-launcher/files/steam-fix-ld-library-path.patch |
19 |
+++ /dev/null |
20 |
@@ -1,21 +0,0 @@ |
21 |
---- steam 2015-01-01 19:14:52.312377741 +0100 |
22 |
-+++ steam_new 2015-01-01 19:13:59.023702762 +0100 |
23 |
-@@ -17,6 +17,18 @@ |
24 |
- # Set up domain for script localization |
25 |
- export TEXTDOMAIN=steam |
26 |
- |
27 |
-+# Steam appends /usr/lib32 to LD_LIBRARY_PATH. We need to make sure that |
28 |
-+# OpenGL implementation dir goes before that, so we need to append it |
29 |
-+# to user's LD_LIBRARY_PATH ourselves. But that's needed only with |
30 |
-+# the new eselect-opengl that uses 000opengl file. |
31 |
-+if [ -f /etc/env.d/000opengl ]; then |
32 |
-+ . /etc/env.d/000opengl |
33 |
-+ # Append only when LDPATH is non-empty -- i.e. using nvidia or ati. |
34 |
-+ if [ -n "${LDPATH}" ]; then |
35 |
-+ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}${LD_LIBRARY_PATH+:}${LDPATH} |
36 |
-+ fi |
37 |
-+fi |
38 |
-+ |
39 |
- function show_message() |
40 |
- { |
41 |
- style=$1 |
42 |
|
43 |
diff --git a/games-util/steam-launcher/metadata.xml b/games-util/steam-launcher/metadata.xml |
44 |
deleted file mode 100644 |
45 |
index bbd24e8..0000000 |
46 |
--- a/games-util/steam-launcher/metadata.xml |
47 |
+++ /dev/null |
48 |
@@ -1,11 +0,0 @@ |
49 |
-<?xml version="1.0" encoding="UTF-8"?> |
50 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
51 |
-<pkgmetadata> |
52 |
- <longdescription> |
53 |
- This ebuild installs common files for the Steam environment, |
54 |
- like bootstrap archive and icons, but not the client itself. |
55 |
- </longdescription> |
56 |
- <upstream> |
57 |
- <bugs-to>https://github.com/anyc/steam-overlay</bugs-to> |
58 |
- </upstream> |
59 |
-</pkgmetadata> |
60 |
|
61 |
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 |
62 |
deleted file mode 100644 |
63 |
index 995fd1f..0000000 |
64 |
--- a/games-util/steam-launcher/steam-launcher-1.0.0.49.ebuild |
65 |
+++ /dev/null |
66 |
@@ -1,119 +0,0 @@ |
67 |
-# Copyright 1999-2015 Gentoo Foundation |
68 |
-# Distributed under the terms of the GNU General Public License v2 |
69 |
-# $Header: $ |
70 |
- |
71 |
-EAPI=5 |
72 |
- |
73 |
-inherit eutils gnome2-utils fdo-mime udev games |
74 |
- |
75 |
-DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client" |
76 |
-HOMEPAGE="http://steampowered.com" |
77 |
-SRC_URI="http://repo.steampowered.com/steam/pool/steam/s/steam/steam_${PV}.tar.gz" |
78 |
- |
79 |
-KEYWORDS="-* ~amd64 ~x86" |
80 |
-LICENSE="ValveSteamLicense" |
81 |
- |
82 |
-RESTRICT="bindist mirror" |
83 |
-SLOT="0" |
84 |
- |
85 |
-RDEPEND=" |
86 |
- app-arch/tar |
87 |
- app-shells/bash |
88 |
- net-misc/curl |
89 |
- || ( |
90 |
- >=gnome-extra/zenity-3 |
91 |
- x11-terms/xterm |
92 |
- ) |
93 |
- |
94 |
- amd64? ( |
95 |
- || ( |
96 |
- >=app-emulation/emul-linux-x86-xlibs-20121028[-abi_x86_32(-)] |
97 |
- ( |
98 |
- x11-libs/libX11[abi_x86_32] |
99 |
- x11-libs/libXau[abi_x86_32] |
100 |
- x11-libs/libxcb[abi_x86_32] |
101 |
- x11-libs/libXdmcp[abi_x86_32] |
102 |
- ) |
103 |
- ) |
104 |
- >=sys-devel/gcc-4.6.0[multilib] |
105 |
- >=sys-libs/glibc-2.15[multilib] |
106 |
- ) |
107 |
- |
108 |
- x86? ( |
109 |
- >=sys-devel/gcc-4.6.0 |
110 |
- >=sys-libs/glibc-2.15 |
111 |
- >=x11-libs/libX11-1.5 |
112 |
- x11-libs/libXau |
113 |
- x11-libs/libxcb |
114 |
- x11-libs/libXdmcp |
115 |
- ) |
116 |
-" |
117 |
- |
118 |
-S=${WORKDIR}/steam/ |
119 |
- |
120 |
-src_prepare() { |
121 |
- epatch "${FILESDIR}"/steam-fix-ld-library-path.patch |
122 |
- |
123 |
- # we use our ebuild functions to install the files |
124 |
- rm Makefile |
125 |
- |
126 |
- sed -i \ |
127 |
- -e "s:/usr/bin/steam:${GAMES_BINDIR}/steam:" \ |
128 |
- "${S}"/steam.desktop || die "sed failed" |
129 |
- |
130 |
- epatch_user |
131 |
-} |
132 |
- |
133 |
-src_install() { |
134 |
- dogamesbin steam || die "dogamesbin failed" |
135 |
- |
136 |
- insinto /usr/lib/steam/ |
137 |
- doins bootstraplinux_ubuntu12_32.tar.xz |
138 |
- |
139 |
- udev_dorules lib/udev/rules.d/99-steam-controller-perms.rules |
140 |
- |
141 |
- dodoc debian/changelog steam_install_agreement.txt |
142 |
- doman steam.6 |
143 |
- |
144 |
- domenu steam.desktop |
145 |
- |
146 |
- cd icons/ |
147 |
- for s in * ; do |
148 |
- doicon -s ${s} ${s}/steam.png |
149 |
- done |
150 |
- |
151 |
- # tgz archive contains no separate pixmap, see #38 |
152 |
- insinto /usr/share/pixmaps/ |
153 |
- newins 48/steam_tray_mono.png steam_tray_mono.png |
154 |
- |
155 |
- prepgamesdirs |
156 |
-} |
157 |
- |
158 |
-pkg_preinst() { |
159 |
- gnome2_icon_savelist |
160 |
-} |
161 |
- |
162 |
-pkg_postinst() { |
163 |
- fdo-mime_desktop_database_update |
164 |
- gnome2_icon_cache_update |
165 |
- udev_reload |
166 |
- |
167 |
- elog "Execute ${GAMES_BINDIR}/steam to download and install the actual" |
168 |
- elog "client into your home folder. After installation, the script" |
169 |
- elog "also starts the client from your home folder." |
170 |
- elog "" |
171 |
- |
172 |
- if ! has_version "gnome-extra/zenity"; then |
173 |
- ewarn "Valve does not provide a xterm fallback for all calls of zenity." |
174 |
- ewarn "Please install gnome-extra/zenity for full support." |
175 |
- ewarn "" |
176 |
- fi |
177 |
- |
178 |
- ewarn "The steam client and the games are _not_ controlled by portage." |
179 |
- ewarn "Updates are handled by the client itself." |
180 |
-} |
181 |
- |
182 |
-pkg_postrm() { |
183 |
- fdo-mime_desktop_database_update |
184 |
- gnome2_icon_cache_update |
185 |
-} |