summaryrefslogtreecommitdiff
path: root/app-emulation/steam/steam-1.0.0.45-r4.ebuild
blob: adc1d592ab567ac8861a63888f235e26af23fc62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2


EAPI=6

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
	sys-apps/gentoo-functions
	media-libs/freetype
	x11-libs/gdk-pixbuf
	gnome-extra/zenity
	amd64? (
		media-libs/alsa-lib[abi_x86_32(-)]
		media-libs/mesa[abi_x86_32(-)]
		x11-libs/libX11[abi_x86_32(-)]
		x11-libs/libxcb[abi_x86_32(-)]
	)
	x86? (
		media-libs/alsa-lib
		media-libs/mesa
		x11-libs/libX11
		x11-libs/libxcb
	)"

S=${WORKDIR}/${PN}

PATCHES=( "${FILESDIR}/redcore-${PN}.patch" )

src_install() {
	emake DESTDIR="${D}" install
	dobin "${FILESDIR}"/redcore-steam
	rm -rf "${D}"/usr/bin/steamdeps
	dosym /bin/true /usr/bin/steamdeps
	rm -rf "${D}"/usr/share/doc/"${PN}"
	dodoc steam_install_agreement.txt
}