initial commit

This commit is contained in:
anyc 2012-11-10 13:33:16 +01:00
parent 7b01609d53
commit abd631ac55
5 changed files with 168 additions and 1 deletions

View File

@ -1,4 +1,13 @@
steam-overlay
=============
Gentoo overlay for Valve's Steam client and Steam-based games
Gentoo overlay for Valve's Steam client and Steam-based games
To use this overlay follow the instructions at http://samuelololol.blogspot.de/2010/10/layman-with-custom-git-repo-ie-github.html
If you have problems, please take a look at http://wiki.gentoo.org/wiki/Steam and
https://forums.gentoo.org/viewtopic-t-930354-postdays-0-postorder-asc-start-75.html .
The correspondig bugzilla entry is here: https://bugs.gentoo.org/show_bug.cgi?id=442176

View File

@ -0,0 +1,3 @@
AUX remove-ubuntu-specifics.patch 1263 SHA256 3b5590f6cf489dcf8c8326dfccd5809e4c24058290ecc3553bf812d92b0ce148 SHA512 57d181b6e299ffc06f7008e982240d125dc7955fdb2bf1e5c3acbf2c4fb709f7582a9a4d7058c5c83d76b6c5a8d5441164e184ea69952da7466cc5ed19b80a00 WHIRLPOOL 59cf040ba6bdf4e698f6fd843f549c3eba294bac38e8f5891dec6213d7432d8aea83c133c19a3827bcba5f1f1f37b5de9d09bb19057c095512f785c69d454485
DIST steam.deb 1327544 SHA256 98df4be2c084cb0f1fabc3927f6987b15d2a9a19118f329a356d220e1d142445 SHA512 08d3f63253fc649adff0fa80615f2956cec042b8ada8511204254112c6da8c175359f692b4c95ee24dde3bb2224c31ddda145ca0a6ea7c9708e351581785b16b WHIRLPOOL f9f3f378cdb50aebf9ededa5a8c0e61bdbbcdef272678a2921aaa3e3ba21f1a79ac00564cdb012b17d62026da6c9692f0b7221929e07e04e6ffad60643280e91
EBUILD steam-installer-9999.ebuild 2418 SHA256 d5c95801d70b9401e193acb64681817792389174ea0d45d607f757cd14f0f907 SHA512 6a3ace461440b78bdbe440ebda1059b08e4b590e8ecbdb62daf939bad2deb18be5be57581c51efbe1fed8c93453cdd8bbfaa5ab6af3367c70f578bf38e40c920 WHIRLPOOL 467f3f36ea4f4c7f1074cc662d10f3c3b54343029d800f3e750fa661f51128bbeec3deb9aa066ff2ff067a986fb41b605bb2de7e2af81a5cfea487bfa4676f7d

View File

@ -0,0 +1,39 @@
--- usr/bin/steam.orig 2012-11-08 11:49:47.959025506 +0100
+++ usr/bin/steam 2012-11-08 11:49:59.588025546 +0100
@@ -1,26 +1,5 @@
#! /bin/bash
-function install_extra_packages() {
- EXTRA_PACKAGES="$*"
-
- # Get the list of packages which are already installed
- INSTALLED="$(dpkg --get-selections $EXTRA_PACKAGES 2>/dev/null | grep "\binstall$" | cut -f1 | sort)"
-
- # compute the list of packages that need to be installed
- NEEDSINSTALL="$(comm -23 <(echo "$EXTRA_PACKAGES" | tr ' ' '\n' | sort) <(echo "$INSTALLED") | xargs ) "
-
- MESSAGE='Enter your password to complete the Steam installation.
-
-Steam needs to install these additional packages:
-'$NEEDSINSTALL
-
- if [ $NEEDSINSTALL ]; then
- # Call gksudo to actually do the work
- gksudo --disable-grab --message "$MESSAGE" apt-get install $NEEDSINSTALL
- fi
-}
-
-
# these variables can be overridden on commandline
LAUNCHSTEAMDIR=~/Steam
LAUNCHSTEAMPLATFORM=ubuntu12_32
@@ -54,9 +33,6 @@
cp /usr/share/applications/steam.desktop "${DESKTOP_DIR}"
chmod +x "${DESKTOP_DIR}/steam.desktop"
-
- # Try and install any extra packages
- install_extra_packages jockey-common python-apt
fi
# go to the install directory and run the client
LAUNCHSTEAMDIR=`readlink -e $STEAMROOTLINK`

View File

@ -0,0 +1,104 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils unpacker
DESCRIPTION="Installer for Valve's Steam client for Linux"
HOMEPAGE="https://steampowered.com"
SRC_URI="http://media.steampowered.com/client/installer/steam.deb"
LICENSE="steam"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RDEPEND=" virtual/opengl
amd64? (
>=app-emulation/emul-linux-x86-baselibs-20121028
>=app-emulation/emul-linux-x86-gtklibs-20121028
>=app-emulation/emul-linux-x86-opengl-20121028
>=app-emulation/emul-linux-x86-sdl-20121028
>=app-emulation/emul-linux-x86-soundlibs-20121028
>=app-emulation/emul-linux-x86-xlibs-20121028
>=sys-devel/gcc-4.6.0[multilib]
>=sys-libs/glibc-2.15[multilib]
)
x86? (
dev-libs/glib:2
dev-libs/libgcrypt
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype:2
media-libs/libjpeg-turbo
media-libs/libogg
media-libs/libpng:1.2
media-libs/libsdl
media-libs/libtheora
media-libs/libvorbis
media-libs/openal
media-sound/pulseaudio
net-misc/curl
net-print/cups
sys-apps/dbus
>=sys-devel/gcc-4.6.0
>=sys-libs/glibc-2.15
>=sys-libs/zlib-1.2.4
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
>=x11-libs/libX11-1.5
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/pango
>=x11-libs/pixman-0.24.4
)"
S=${WORKDIR}
src_unpack() {
unpack_deb ${A}
}
src_prepare() {
# fix QA notice
sed -r -i "s/^(MimeType=.*)/\1;/" usr/share/applications/steam.desktop
sed -r -i "s/^(Actions=.*)/\1;/" usr/share/applications/steam.desktop
epatch "${FILESDIR}/remove-ubuntu-specifics.patch"
}
src_install() {
dobin "usr/bin/steam"
insinto "/usr/lib/"
doins -r usr/lib/steam
dodoc usr/share/doc/steam/changelog.gz
doman usr/share/man/man6/steam.6.gz
insinto /usr/share/applications/
doins usr/share/applications/steam.desktop
insinto /usr/share/icons/
doins -r usr/share/icons/
doicon usr/share/pixmaps/steam.xpm
}
pkg_postinst() {
einfo "This ebuild only installs the steam installer."
einfo "Execute \"steam\" to install the actual client into"
einfo "your home folder."
ewarn "The steam client and the games are not controlled by"
ewarn "portage. Updates are handled by the client itself."
}

12
steam-overlay.xml Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" ?>
<repositories version="1.0">
<repo priority="50" quality="experimental" status="unofficial">
<name>steam-overlay</name>
<description>Gentoo overlay for Valve's Steam client and Steam-based games</description>
<homepage>https://github.com/anyc/steam-overlay</homepage>
<owner>
<email></email>
</owner>
<source type="git">git://github.com/anyc/steam-overlay.git</source>
</repo>
</repositories>