public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mario Kicherer" <dev@kicherer.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-util/steam-launcher/
Date: Thu, 25 Apr 2013 20:10:27 +0000 (UTC)	[thread overview]
Message-ID: <1366920617.5dd33478c9514f59ea28b6cf313116db7716df3a.anyc@gentoo> (raw)

commit:     5dd33478c9514f59ea28b6cf313116db7716df3a
Author:     Mario Kicherer <dev <AT> kicherer <DOT> org>
AuthorDate: Thu Apr 25 20:10:17 2013 +0000
Commit:     Mario Kicherer <dev <AT> kicherer <DOT> org>
CommitDate: Thu Apr 25 20:10:17 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=5dd33478

[games-util/steam-launcher] new v38, beta requires enabled runtime due to missing deps

---
 .../steam-launcher/steam-launcher-1.0.0.38.ebuild  |  143 ++++++++++++++++++++
 1 files changed, 143 insertions(+), 0 deletions(-)

diff --git a/games-util/steam-launcher/steam-launcher-1.0.0.38.ebuild b/games-util/steam-launcher/steam-launcher-1.0.0.38.ebuild
new file mode 100644
index 0000000..35a64cb
--- /dev/null
+++ b/games-util/steam-launcher/steam-launcher-1.0.0.38.ebuild
@@ -0,0 +1,143 @@
+# 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="Supplementary files for Valve's Steam client for Linux"
+HOMEPAGE="http://steampowered.com"
+
+if [[ "${PV}" == "9999" ]] ; then
+	SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_latest.deb"
+	KEYWORDS=""
+else
+	SRC_URI="http://repo.steampowered.com/steam/archive/precise/steam_${PV}.tar.gz"
+	KEYWORDS="-* ~amd64 ~x86"
+fi
+
+LICENSE="ValveSteamLicense"
+
+RESTRICT="bindist mirror"
+SLOT="0"
+IUSE="-steamruntime"
+
+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() {
+	if [[ "${PV}" != "9999" ]] ; then
+		if ! use steamruntime; then
+			# use system libraries
+			sed -i -r 's/#(if \[ -z "\$STEAM_RUNTIME" \]; then)/\1/' steam
+			sed -i -r "s/#	STEAM_RUNTIME=1/ export STEAM_RUNTIME=0/" steam
+			sed -i -r "s/#(fi)/\1/" steam
+		fi
+
+		# we use our ebuild functions to install the files
+		rm Makefile
+	fi
+}
+
+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
+
+	ewarn "This ebuild only installs the launcher. To start the client"
+	ewarn "and play games, you'll need further libraries that you can"
+	ewarn "pull in using the steam-meta ebuild."
+	ewarn ""
+
+	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 use steamruntime; then
+		ewarn "You enabled the steam runtime environment. Steam will use bundled"
+		ewarn "libraries instead of system libraries which is _not_ supported."
+		ewarn ""
+	else
+		elog "We disable STEAM_RUNTIME in order to ignore bundled libraries"
+		elog "and use installed system libraries instead. If you have problems,"
+		elog "try starting steam with: STEAM_RUNTIME=1 steam"
+		elog ""
+		ewarn "Due to new dependencies, the steam beta client currently only works"
+		ewarn "with steam runtime enabled."
+		ewarn ""
+	fi
+
+	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
+}


             reply	other threads:[~2013-04-25 20:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 20:10 Mario Kicherer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-30 10:55 [gentoo-commits] proj/gamerlay:master commit in: games-util/steam-launcher/ Mario Kicherer
2013-09-28 11:04 Mario Kicherer
2014-02-15 11:49 Mario Kicherer
2014-06-09 22:24 Mario Kicherer
2015-01-01 20:03 Mario Kicherer
2015-01-11 12:57 Vadim A. Misbakh-Soloviov
2015-01-11 15:19 Vadim A. Misbakh-Soloviov
2015-01-12 17:21 Mario Kicherer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1366920617.5dd33478c9514f59ea28b6cf313116db7716df3a.anyc@gentoo \
    --to=dev@kicherer.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox