diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-11-16 21:19:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-11-16 21:19:12 +0000 |
commit | 802c3491919735bc805fedfd101901f5b64a77b8 (patch) | |
tree | 5150cc8c335c2b9a07b99c64c8d443ebc411826e /app-emulation/steam/steam-1.0.0.45-r8.ebuild | |
parent | 4bd9cb6bedf755ecb9fb4cfae4c40472cd4ebcc3 (diff) |
adjust steam to work nice with gcc 5.4.0
Diffstat (limited to 'app-emulation/steam/steam-1.0.0.45-r8.ebuild')
-rw-r--r-- | app-emulation/steam/steam-1.0.0.45-r8.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-emulation/steam/steam-1.0.0.45-r8.ebuild b/app-emulation/steam/steam-1.0.0.45-r8.ebuild new file mode 100644 index 00000000..e4a19487 --- /dev/null +++ b/app-emulation/steam/steam-1.0.0.45-r8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + + +EAPI=5 + +inherit eutils + +DESCRIPTION="Digital distribution client bootstrap package" +HOMEPAGE="http://steampowered.com/" +SRC_URI="http://repo.steampowered.com/${PN}/pool/${PN}/s/${PN}/${PN}_${PV}.tar.gz" + +LICENSE="custom" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + virtual/ttf-fonts + dev-util/desktop-file-utils + x11-themes/hicolor-icon-theme + net-misc/curl + sys-apps/dbus + media-libs/freetype + x11-libs/gdk-pixbuf + gnome-extra/zenity + amd64? ( + >=media-libs/alsa-lib-1.0.28[abi_x86_32(-)] + >=media-libs/mesa-10.0.4[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + ) + x86? ( + media-libs/alsa-lib + media-libs/mesa + x11-libs/libX11 + )" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/redcore-${PN}.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + exeinto /usr/bin || die + doexe ${FILESDIR}/redcore-steam || die + rm -rf "${D}"/usr/bin/steamdeps || die + dosym /bin/true /usr/bin/steamdeps || die +} |