|
|
@ -1,21 +1,21 @@
|
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
|
|
|
|
# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay
|
|
|
|
# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay
|
|
|
|
# or come to #gentoo-gamerlay in freenode IRC
|
|
|
|
# or come to #gentoo-games in Libera Chat IRC
|
|
|
|
|
|
|
|
|
|
|
|
inherit linux-info prefix udev xdg-utils
|
|
|
|
inherit desktop linux-info prefix xdg
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client"
|
|
|
|
DESCRIPTION="Installer, launcher and supplementary files for Valve's Steam client"
|
|
|
|
HOMEPAGE="https://steampowered.com"
|
|
|
|
HOMEPAGE="https://steampowered.com"
|
|
|
|
SRC_URI="https://repo-steampowered-com.steamos.cloud/steam/pool/steam/s/steam/steam_${PV}.tar.gz"
|
|
|
|
SRC_URI="https://repo.steampowered.com/steam/archive/stable/steam_${PV}.tar.gz"
|
|
|
|
|
|
|
|
|
|
|
|
LICENSE="ValveSteamLicense MIT"
|
|
|
|
LICENSE="ValveSteamLicense MIT"
|
|
|
|
SLOT="0"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE="+steamruntime"
|
|
|
|
IUSE="+joystick +steamruntime +udev"
|
|
|
|
RESTRICT="bindist mirror test"
|
|
|
|
RESTRICT="bindist mirror test"
|
|
|
|
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
RDEPEND="
|
|
|
@ -27,6 +27,9 @@ RDEPEND="
|
|
|
|
x11-terms/xterm
|
|
|
|
x11-terms/xterm
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
joystick? (
|
|
|
|
|
|
|
|
udev? ( games-util/game-device-udev-rules )
|
|
|
|
|
|
|
|
)
|
|
|
|
steamruntime? (
|
|
|
|
steamruntime? (
|
|
|
|
virtual/opengl[abi_x86_32]
|
|
|
|
virtual/opengl[abi_x86_32]
|
|
|
|
x11-libs/libX11[abi_x86_32]
|
|
|
|
x11-libs/libX11[abi_x86_32]
|
|
|
@ -35,7 +38,7 @@ RDEPEND="
|
|
|
|
x11-libs/libXdmcp[abi_x86_32]
|
|
|
|
x11-libs/libXdmcp[abi_x86_32]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
!steamruntime? (
|
|
|
|
!steamruntime? (
|
|
|
|
>=games-util/steam-client-meta-0-r20190331[steamruntime?]
|
|
|
|
>=games-util/steam-client-meta-0-r20210608[steamruntime?]
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
amd64? (
|
|
|
|
amd64? (
|
|
|
@ -83,12 +86,8 @@ native_path_entries() { path_entries false "${@}"; }
|
|
|
|
multilib_path_entries() { path_entries true "${@}"; }
|
|
|
|
multilib_path_entries() { path_entries true "${@}"; }
|
|
|
|
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
src_prepare() {
|
|
|
|
xdg_environment_reset
|
|
|
|
|
|
|
|
default
|
|
|
|
default
|
|
|
|
|
|
|
|
|
|
|
|
sed -i 's:TAG+="uaccess":\0, TAG+="udev-acl":g' \
|
|
|
|
|
|
|
|
subprojects/steam-devices/*.rules || die
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed \
|
|
|
|
sed \
|
|
|
|
-e "s#@@PVR@@#${PVR}#g" \
|
|
|
|
-e "s#@@PVR@@#${PVR}#g" \
|
|
|
|
-e "s#@@GENTOO_LD_LIBRARY_PATH@@#$(multilib_path_entries debiancompat fltk)#g" \
|
|
|
|
-e "s#@@GENTOO_LD_LIBRARY_PATH@@#$(multilib_path_entries debiancompat fltk)#g" \
|
|
|
@ -101,23 +100,20 @@ src_prepare() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
src_install() {
|
|
|
|
emake install-{icons,bootstrap,desktop} \
|
|
|
|
emake install-{icons,bootstrap} \
|
|
|
|
DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
|
|
|
|
DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
|
|
|
|
|
|
|
|
|
|
|
|
newbin steam-wrapper.sh steam
|
|
|
|
newbin steam-wrapper.sh steam
|
|
|
|
exeinto /usr/lib/steam
|
|
|
|
exeinto /usr/lib/steam
|
|
|
|
doexe bin_steam.sh
|
|
|
|
doexe bin_steam.sh
|
|
|
|
|
|
|
|
domenu steam.desktop
|
|
|
|
|
|
|
|
|
|
|
|
dodoc README debian/changelog
|
|
|
|
dodoc README debian/changelog
|
|
|
|
doman steam.6
|
|
|
|
doman steam.6
|
|
|
|
|
|
|
|
|
|
|
|
udev_dorules subprojects/steam-devices/60-steam-{input,vr}.rules
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
pkg_postinst() {
|
|
|
|
xdg_icon_cache_update
|
|
|
|
xdg_pkg_postinst
|
|
|
|
xdg_desktop_database_update
|
|
|
|
|
|
|
|
udev_reload
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
elog "Execute ${EPREFIX}/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 "client into your home folder. After installation, the script"
|
|
|
@ -146,8 +142,3 @@ pkg_postinst() {
|
|
|
|
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."
|
|
|
|
ewarn "Updates are handled by the client itself."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
|
|
|
|
xdg_icon_cache_update
|
|
|
|
|
|
|
|
xdg_desktop_database_update
|
|
|
|
|
|
|
|
}
|
|
|
|
|