From a61797b51c81941b96df3f70717cb9d5f90c0c08 Mon Sep 17 00:00:00 2001 From: Alexander Tratsevskiy Date: Tue, 17 Jun 2014 15:17:58 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20steam-launcer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- games-util/steam-launcher/Manifest | 2 + .../steam-launcher-1.0.0.47.ebuild | 108 ++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 games-util/steam-launcher/Manifest create mode 100644 games-util/steam-launcher/steam-launcher-1.0.0.47.ebuild diff --git a/games-util/steam-launcher/Manifest b/games-util/steam-launcher/Manifest new file mode 100644 index 000000000..6282a8c71 --- /dev/null +++ b/games-util/steam-launcher/Manifest @@ -0,0 +1,2 @@ +DIST steam_1.0.0.47.tar.gz 2326735 SHA256 1de4e1abe5bb3eecbde66d66c238ff79d083d31897f0c008f5e345889d9deac3 SHA512 482c2fd5291e83b08d8a8d2559e82bd9cedd5018c6e7c4b4c9718e4e1b5a51217699f59a8ccfd8ca3b9a8a743a4ab4c81a7a9ec49e0796c7c4b170b68dd2911a WHIRLPOOL 491c71de0fd80b6986992ad5011738f39cd5d7782d453a8e12d1abacf919819a69465a8de9ade52f5c5cd1bcc73b53005ab46a2be83342200c777be1b00461f4 +EBUILD steam-launcher-1.0.0.47.ebuild 2399 SHA256 b7ba4614c79a1697bc92a854d2e3fa3eb1636c7185063bf193eccc3c9d5cb11e SHA512 8943a871105da9b62c4eb4c0d548b7141a6f2d83939532524261e585209c4513920022bfbb3da32f1679626bcbc920fa11ffa8f4bab844e41cac9744b3b3b61a WHIRLPOOL 8bdbcf1f372c827f071b97d7a0619bb0d917cbaaf5ea23db86a8390b0fedc78123250c5b272c900dee1dbf805864dca6bd28a5f8260dea80616e26e70778b21f diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.47.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.47.ebuild new file mode 100644 index 000000000..5e5487df8 --- /dev/null +++ b/games-util/steam-launcher/steam-launcher-1.0.0.47.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay +# or come to #gentoo-gamerlay in freenode IRC + +inherit eutils gnome2-utils fdo-mime + +DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client" +HOMEPAGE="http://steampowered.com" +SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="ValveSteamLicense" + +RESTRICT="bindist mirror" +SLOT="0" + +RDEPEND=" + app-arch/xz-utils + app-shells/bash + net-misc/curl + || ( + gnome-extra/zenity + x11-terms/xterm + ) + + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-20121028 + || ( + >=app-emulation/emul-linux-x86-xlibs-20121028 + ( + x11-libs/libX11[abi_x86_32] + x11-libs/libXau[abi_x86_32] + x11-libs/libxcb[abi_x86_32] + x11-libs/libXdmcp[abi_x86_32] + ) + ) + >=sys-devel/gcc-4.6.0[multilib] + >=sys-libs/glibc-2.15[multilib] + ) + x86? ( + >=sys-devel/gcc-4.6.0 + >=sys-libs/glibc-2.15 + >=x11-libs/libX11-1.5 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXdmcp + )" + +S=${WORKDIR}/steam/ + +src_prepare() { + # we use our ebuild functions to install the files + rm Makefile +} + +src_install() { + dobin steam + + insinto /usr/lib/steam/ + doins bootstraplinux_ubuntu12_32.tar.xz + + dodoc debian/changelog steam_install_agreement.txt + doman steam.6 + + domenu steam.desktop + + cd icons/ + for s in * ; do + doicon -s ${s} ${s}/steam.png + done + + # tgz archive contains no separate pixmap, see #38 + insinto /usr/share/pixmaps/ + newins 48/steam.png steam_tray_mono.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update + + elog "Execute /usr/bin/steam to download and install the actual" + elog "client into your home folder. After installation, the script" + elog "also starts the client from your home folder." + elog "" + + if ! has_version "gnome-extra/zenity"; then + ewarn "Valve does not provide a xterm fallback for all calls of zenity." + ewarn "Please install gnome-extra/zenity for full support." + ewarn "" + fi + + ewarn "The steam client and the games are _not_ controlled by portage." + ewarn "Updates are handled by the client itself." +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +}