Обновлен steam

atratsevskiy
Alexander Tratsevskiy 8 years ago
parent 85a290b5ec
commit bbc262cc41

@ -1,3 +1 @@
DIST steam_1.0.0.49.tar.gz 2179436 SHA256 fd893b5c2f5585be1cd8a83f4a6c7d523a2bd985a91587adb5afaccd6fa12fb0 SHA512 52a26bee229dfaf5bb0974340edaa4e07a7a8aa908b6e5187b61933ffbb9848cf6ea4803890334d976126c3a20b91d040a49782163000421beff0e9a036d144a WHIRLPOOL 8350e6f45f74cdfa310b94214ae367006fa824a4509d33ecad9f5f5f852990cb62af7be00c007de1a926172aa2a83b3658de809ab8f23f3496ea537f6c0bf623
DIST steam_1.0.0.50.tar.gz 2729990 SHA256 be6388c0ab36799d6173276ac75b4d92c6623a53d901395c9fc1963cfd245573 SHA512 bf068742d89690b545def7754a5f916256e2ebaaf8dd6ae6f07f154e40fe4bd5216ca02698f8dc9b794b56325c7dc66c435b8b2b6cd30141f814a4902810b531 WHIRLPOOL 7d650bfca5469f2c2118e13693ec403bbda4a9e7bac07b734cfb14a1b98b56df92b9112bf2bc29f05c3f906a01f1d72991dcd036bce4118facd290c88f1edbf1
DIST steam_1.0.0.51.tar.gz 2732202 SHA256 bf766db05fcc3a8079e7e514accfbd2503813a3c70ff8336aa93e554ed7719be SHA512 ef33fa52c80b1d55e6a6955056e102cec28b18f5136ee9d79737e7c7e74b2c4b2c236082cf7844a6eaf78fb46d49dda3eb72fd856b65843c37a2dc5e90ba75a3 WHIRLPOOL 780c84410a8efe21a6209edb6ca52ad7ae4c908ae3fb17f8e226d209ad5c8fed05f8b01c384f35785753973551e034370704961c4cebbd0fc86f0d4468107095
DIST steam_1.0.0.52.tar.gz 2730077 SHA256 dd3b1a9f597bf0e088094d6fd1e495068434b604346139f277ea26c41e009304 SHA512 eefff7b2d223305fa8ff8b2419f9806e21784044c2832b42c5583bac4b9391d66444903e2753153842a85eab196418ca47d9b4b3a1daaf839e1eb15edfff891e WHIRLPOOL 34928f4684265f4571cb5a1f709eb03db4e28b0851c9dd95802cb1883d0c39120e893b3393453b2264e3bb2c249c6eb78c1b71b5ecf0ce59c5c675d17b5d4aa5

@ -1,8 +1,9 @@
--- /usr/bin/steam 2015-03-31 21:21:06.000000000 +0200
+++ steam 2015-05-05 13:34:16.462812460 +0200
@@ -31,6 +31,27 @@
fi
fi
diff -Naur a/steam b/steam
--- a/steam 2016-08-14 18:44:23.069675427 +0100
+++ b/steam 2016-08-14 18:44:29.853577578 +0100
@@ -38,6 +38,27 @@
# Gentoo's lsb-release doesn't set this.
export DISTRIB_RELEASE="2.2"
+# Finds joystick devices so we can coerce Steam's old SDL library into using them
+function enum_joysticks {

@ -1,19 +1,22 @@
--- steam 2015-01-01 19:14:52.312377741 +0100
+++ steam_new 2015-01-01 19:13:59.023702762 +0100
@@ -17,6 +17,18 @@
diff -Naur a/steam b/steam
--- a/steam 2016-03-29 21:03:30.000000000 +0100
+++ b/steam 2016-08-14 18:31:09.449120220 +0100
@@ -17,6 +17,20 @@
# Set up domain for script localization
export TEXTDOMAIN=steam
+# A libpcre.so.3 symlink to libpcre.so.1 is installed here. It's
+# needed by some games when not using the Steam runtime.
+export LD_LIBRARY_PATH+="${LD_LIBRARY_PATH+:}@@DEBIAN_COMPAT@@"
+
+# Steam appends /usr/lib32 to LD_LIBRARY_PATH. We need to make sure that
+# OpenGL implementation dir goes before that, so we need to append it
+# to user's LD_LIBRARY_PATH ourselves. But that's needed only with
+# the new eselect-opengl that uses 000opengl file.
+if [ -f /etc/env.d/000opengl ]; then
+ . /etc/env.d/000opengl
+ # Append only when LDPATH is non-empty -- i.e. using nvidia or ati.
+ if [ -n "${LDPATH}" ]; then
+ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}${LD_LIBRARY_PATH+:}${LDPATH}
+ fi
+if [[ -f "/etc/env.d/000opengl" ]]; then
+ . "/etc/env.d/000opengl"
+ # Append only when LDPATH is non-empty -- i.e. using nvidia or ati.
+ [[ -n "${LDPATH}" ]] && LD_LIBRARY_PATH+=":${LDPATH}"
+fi
+
function show_message()

@ -0,0 +1,14 @@
diff -Naur a/steam b/steam
--- a/steam 2016-08-14 18:34:25.911287460 +0100
+++ b/steam 2016-08-14 18:38:10.673046304 +0100
@@ -31,6 +31,10 @@
[[ -n "${LDPATH}" ]] && LD_LIBRARY_PATH+=":${LDPATH}"
fi
+# Set a default STEAM_RUNTIME value.
+: ${STEAM_RUNTIME:=@@STEAM_RUNTIME@@}
+export STEAM_RUNTIME
+
function show_message()
{
style=$1

@ -0,0 +1,13 @@
diff -Naur a/steam b/steam
--- a/steam 2016-08-14 18:38:48.226504733 +0100
+++ b/steam 2016-08-14 18:43:41.709271991 +0100
@@ -35,6 +35,9 @@
: ${STEAM_RUNTIME:=@@STEAM_RUNTIME@@}
export STEAM_RUNTIME
+# Gentoo's lsb-release doesn't set this.
+export DISTRIB_RELEASE="2.2"
+
function show_message()
{
style=$1

@ -1,134 +0,0 @@
# Copyright 1999-2015 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 udev
DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client"
HOMEPAGE="http://steampowered.com"
SRC_URI="http://repo.steampowered.com/steam/pool/steam/s/steam/steam_${PV}.tar.gz"
KEYWORDS="-* ~amd64 ~x86"
LICENSE="ValveSteamLicense"
RESTRICT="bindist mirror"
SLOT="0"
IUSE="+steamruntime"
RDEPEND="
app-arch/tar
app-shells/bash
net-misc/curl
|| (
>=gnome-extra/zenity-3
x11-terms/xterm
)
amd64? (
steamruntime? (
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
)
!steamruntime? ( >=games-util/steam-client-meta-0-r20141204[steamruntime?] )
>=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() {
epatch "${FILESDIR}"/steam-fix-ld-library-path.patch
if ! use steamruntime; then
# use system libraries if user has not set the variable otherwise and add dirty hack for unbound LD_LIBRARY_PATH if it is not set
sed -i -r "s/(export TEXTDOMAIN=steam)/\1\nif \[ -z \"\$STEAM_RUNTIME\" \]; then export STEAM_RUNTIME=0; fi\nif [ -z \"\$LD_LIBRARY_PATH\" ]; then export LD_LIBRARY_PATH=\"\"; fi/" steam || die
# use violent force to load the system's SDL library
#sed -i '/export STEAM_RUNTIME=0; fi/a if \[ \"$STEAM_RUNTIME\" == "0" \]; then export LD_PRELOAD="/usr/lib32/libSDL2-2.0.so.0"; fi' steam || die
fi
# dirty workaround to avoid crashing distro detection
sed -i '/(export TEXTDOMAIN=steam)/a export DISTRIB_RELEASE="FixMe"' steam || die
# 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
udev_dorules lib/udev/rules.d/99-steam-controller-perms.rules
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_tray_mono.png steam_tray_mono.png
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
udev_reload
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 Gentoo's system libraries."
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"
ewarn ""
ewarn "Notice: Valve only supports Steam with the 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
}

@ -1,135 +0,0 @@
# Copyright 1999-2015 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 udev
DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client"
HOMEPAGE="http://steampowered.com"
SRC_URI="http://repo.steampowered.com/steam/pool/steam/s/steam/steam_${PV}.tar.gz"
KEYWORDS="-* ~amd64 ~x86"
LICENSE="ValveSteamLicense"
RESTRICT="bindist mirror"
SLOT="0"
IUSE="+steamruntime"
RDEPEND="
app-arch/tar
app-shells/bash
net-misc/curl
|| (
>=gnome-extra/zenity-3
x11-terms/xterm
)
amd64? (
steamruntime? (
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
)
!steamruntime? ( >=games-util/steam-client-meta-0-r20141204[steamruntime?] )
>=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() {
epatch "${FILESDIR}"/steam-fix-ld-library-path.patch
epatch "${FILESDIR}"/steam-fix-joystick-detection.patch
if ! use steamruntime; then
# use system libraries if user has not set the variable otherwise and add dirty hack for unbound LD_LIBRARY_PATH if it is not set
sed -i -r "s/(export TEXTDOMAIN=steam)/\1\nif \[ -z \"\$STEAM_RUNTIME\" \]; then export STEAM_RUNTIME=0; fi\nif [ -z \"\$LD_LIBRARY_PATH\" ]; then export LD_LIBRARY_PATH=\"\"; fi/" steam || die
# use violent force to load the system's SDL library
#sed -i '/export STEAM_RUNTIME=0; fi/a if \[ \"$STEAM_RUNTIME\" == "0" \]; then export LD_PRELOAD="/usr/lib32/libSDL2-2.0.so.0"; fi' steam || die
fi
# dirty workaround to avoid crashing distro detection
sed -i '/(export TEXTDOMAIN=steam)/a export DISTRIB_RELEASE="FixMe"' steam || die
# 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
udev_dorules lib/udev/rules.d/99-steam-controller-perms.rules
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_tray_mono.png steam_tray_mono.png
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
udev_reload
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 Gentoo's system libraries."
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"
ewarn ""
ewarn "Notice: Valve only supports Steam with the 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
}

@ -1,19 +1,19 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# $Id$
EAPI=5
EAPI=6
# 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 udev
inherit eutils gnome2-utils linux-info prefix udev xdg
DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client"
HOMEPAGE="http://steampowered.com"
SRC_URI="http://repo.steampowered.com/steam/pool/steam/s/steam/steam_${PV}.tar.gz"
KEYWORDS="-* ~amd64 ~x86"
KEYWORDS="~amd64 ~x86"
LICENSE="ValveSteamLicense"
RESTRICT="bindist mirror"
@ -29,44 +29,67 @@ RDEPEND="
x11-terms/xterm
)
steamruntime? (
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
)
!steamruntime? (
>=games-util/steam-client-meta-0-r20141204[steamruntime?]
)
amd64? (
steamruntime? (
x11-libs/libX11[abi_x86_32]
x11-libs/libXau[abi_x86_32]
x11-libs/libxcb[abi_x86_32]
x11-libs/libXdmcp[abi_x86_32]
)
!steamruntime? ( >=games-util/steam-client-meta-0-r20141204[steamruntime?] )
>=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() {
epatch "${FILESDIR}"/steam-fix-ld-library-path.patch
epatch "${FILESDIR}"/steam-fix-joystick-detection.patch
if ! use steamruntime; then
# use system libraries if user has not set the variable otherwise and add dirty hack for unbound LD_LIBRARY_PATH if it is not set
sed -i -r "s/(export TEXTDOMAIN=steam)/\1\nif \[ -z \"\$STEAM_RUNTIME\" \]; then export STEAM_RUNTIME=0; fi\nif [ -z \"\$LD_LIBRARY_PATH\" ]; then export LD_LIBRARY_PATH=\"\"; fi/" steam || die
# use violent force to load the system's SDL library
#sed -i '/export STEAM_RUNTIME=0; fi/a if \[ \"$STEAM_RUNTIME\" == "0" \]; then export LD_PRELOAD="/usr/lib32/libSDL2-2.0.so.0"; fi' steam || die
PATCHES=(
"${FILESDIR}"/steam-fix-ld-library-path.patch
"${FILESDIR}"/steam-runtime-default.patch
"${FILESDIR}"/steam-set-distrib-release.patch
"${FILESDIR}"/steam-fix-joystick-detection.patch
)
pkg_setup() {
linux-info_pkg_setup
if ! { linux_config_exists && linux_chkconfig_present INPUT_UINPUT; }; then
ewarn "If you want to use the Steam controller, please make sure"
ewarn "CONFIG_INPUT_UINPUT is enabled in your kernel config."
# Device Drivers
# -> Input device support
# -> Miscellaneous devices
# -> User level driver support
fi
}
src_prepare() {
xdg_environment_reset
default
# dirty workaround to avoid crashing distro detection
sed -i '/(export TEXTDOMAIN=steam)/a export DISTRIB_RELEASE="FixMe"' steam || die
sed -i 's:TAG+="uaccess":\0, TAG+="udev-acl":g' \
lib/udev/rules.d/99-steam-controller-perms.rules || die
sed -i \
-e "s:@@DEBIAN_COMPAT@@:${EPREFIX}/usr/$(get_libdir)/debiancompat$(use amd64 && echo "\\:${EPREFIX}/usr/$(ABI=x86 get_libdir)/debiancompat"):g" \
-e "s:@@STEAM_RUNTIME@@:$(usex steamruntime 1 0):g" \
steam || die
# Still need EPREFIX in the DEBIAN_COMPAT sed replacement because
# the regular expression used by hprefixify doesn't match here.
hprefixify steam
}
# we use our ebuild functions to install the files
rm Makefile
src_compile() {
:
}
src_install() {
@ -75,14 +98,14 @@ src_install() {
insinto /usr/lib/steam/
doins bootstraplinux_ubuntu12_32.tar.xz
udev_dorules lib/udev/rules.d/99-steam-controller-perms.rules
udev_dorules lib/udev/rules.d/99-steam-controller-perms.rules lib/udev/rules.d/99-HTC-Vive-perms.rules
dodoc debian/changelog steam_install_agreement.txt
doman steam.6
domenu steam.desktop
cd icons/
cd icons/ || die
for s in * ; do
doicon -s ${s} ${s}/steam.png
done
@ -93,27 +116,28 @@ src_install() {
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
xdg_pkg_postinst
gnome2_icon_cache_update
udev_reload
elog "Execute /usr/bin/steam to download and install the actual"
elog "Execute ${EPREFIX}/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 "You enabled the Steam runtime environment. Steam will use bundled"
ewarn "libraries instead of Gentoo's system libraries."
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 "try starting Steam with: STEAM_RUNTIME=1 steam"
ewarn ""
ewarn "Notice: Valve only supports Steam with the runtime enabled!"
ewarn ""
@ -125,11 +149,11 @@ pkg_postinst() {
ewarn ""
fi
ewarn "The steam client and the games are _not_ controlled by portage."
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
xdg_pkg_postrm
gnome2_icon_cache_update
}

@ -2,7 +2,7 @@
~app-crypt/shim-signed-0.2 amd64 x86
~dev-python/soaplib-1.0.0 amd64 x86
~games-action/oolite-1.84 amd64 x86
~games-util/steam-launcher-1.0.0.51 amd64 x86
~games-util/steam-launcher-1.0.0.52 amd64 x86
~mate-base/mdm-2.0.5 amd64 x86
~media-video/simplescreenrecorder-0.3.6 amd64 x86
~net-misc/modem-manager-gui-0.0.18 amd64 x86

Loading…
Cancel
Save