-
Notifications
You must be signed in to change notification settings - Fork 44
/
steam-client-meta-0-r20190331.ebuild
135 lines (113 loc) · 3.69 KB
/
steam-client-meta-0-r20190331.ebuild
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit pax-utils
# Please report bugs/suggestions on: https://github.com/anyc/steam-overlay
# or come to #gentoo-gamerlay in freenode IRC
DESCRIPTION="Meta package for Valve's native Steam client"
HOMEPAGE="http://steampowered.com"
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="flash +pulseaudio steamfonts +steamruntime steamvr trayicon video_cards_intel video_cards_nvidia"
# This can help to determine the dependencies:
# find ~/.steam/root/ -exec readelf -d {} + 2>/dev/null | grep Shared | sort -u | fgrep -v -f <(ls -1 ~/.steam/root/ubuntu12_32/)
RDEPEND="
media-fonts/font-mutt-misc
|| ( media-fonts/font-bitstream-100dpi media-fonts/font-adobe-100dpi )
virtual/opengl[abi_x86_32]
flash? ( www-plugins/adobe-flash[abi_x86_32] )
trayicon? ( sys-apps/dbus )
steamfonts? ( media-fonts/steamfonts )
steamvr? ( sys-apps/usbutils )
amd64? (
!media-libs/mesa[-abi_x86_32]
!x11-misc/virtualgl[-abi_x86_32]
)
x86? (
video_cards_intel? ( >=media-libs/mesa-9 )
)
!steamruntime? (
app-arch/bzip2[abi_x86_32]
dev-libs/atk[abi_x86_32]
dev-libs/dbus-glib[abi_x86_32]
dev-libs/expat[abi_x86_32]
dev-libs/glib:2[abi_x86_32]
dev-libs/nspr[abi_x86_32]
dev-libs/nss[abi_x86_32]
media-libs/alsa-lib[abi_x86_32]
media-libs/fontconfig[abi_x86_32]
media-libs/freetype[abi_x86_32]
media-libs/libpng:1.2[abi_x86_32]
media-libs/openal[abi_x86_32]
net-misc/curl[abi_x86_32]
net-misc/networkmanager[abi_x86_32]
net-print/cups[abi_x86_32]
sys-apps/dbus[abi_x86_32,X]
sys-libs/libudev-compat[abi_x86_32]
sys-libs/zlib[abi_x86_32]
virtual/libusb[abi_x86_32]
x11-libs/gdk-pixbuf[abi_x86_32]
x11-libs/gtk+:2[abi_x86_32,cups]
x11-libs/libICE[abi_x86_32]
x11-libs/libSM[abi_x86_32]
x11-libs/libvdpau[abi_x86_32]
x11-libs/libX11[abi_x86_32]
x11-libs/libXScrnSaver[abi_x86_32]
x11-libs/libXcomposite[abi_x86_32]
x11-libs/libXcursor[abi_x86_32]
x11-libs/libXdamage[abi_x86_32]
x11-libs/libXext[abi_x86_32]
x11-libs/libXfixes[abi_x86_32]
x11-libs/libXi[abi_x86_32]
x11-libs/libXinerama[abi_x86_32]
x11-libs/libXrandr[abi_x86_32]
x11-libs/libXrender[abi_x86_32]
x11-libs/libXtst[abi_x86_32]
x11-libs/pango[abi_x86_32]
=x11-libs/libva-1*[abi_x86_32]
trayicon? ( dev-libs/libappindicator:2[abi_x86_32] )
pulseaudio? ( media-sound/pulseaudio[abi_x86_32,caps] )
!pulseaudio? ( media-sound/apulse[abi_x86_32] )
video_cards_nvidia? ( || (
<x11-drivers/nvidia-drivers-358
>=x11-drivers/nvidia-drivers-361.18
) )
amd64? (
>=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
)
)
"
pkg_postinst() {
elog "This is only a meta package that pulls in the required"
elog "dependencies for the steam client."
elog ""
if use flash; then
elog "In order to use flash, link the 32bit libflashplayer.so to"
elog "\${STEAM_FOLDER}/ubuntu12_32/plugins/"
elog ""
fi
if host-is-pax; then
elog "If you're using PAX, please see:"
elog "https://wiki.gentoo.org/wiki/Steam#Hardened_Gentoo"
elog ""
fi
if ! use steamfonts; then
elog "If the Steam client shows no or misaligned text, then"
elog "please enable the steamfonts use flag."
elog ""
fi
if ! use pulseaudio; then
ewarn "You have disabled pulseaudio which is not supported."
ewarn "If you are experiencing sound problems, you can try if"
ewarn "media-sound/apulse works for you."
ewarn ""
fi
ewarn "The steam client and the games are not controlled by"
ewarn "portage. Updates are handled by the client itself."
}