summaryrefslogtreecommitdiff
path: root/app-emulation/steam-native-runtime/steam-native-runtime-1.0.0.71-r1.ebuild
blob: d5b2f628dc4af23d9cae191b89c20ed4612b3dd3 (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
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
# Copyright 2016-2020 Redcore Linux Project
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=7

DESCRIPTION="Native replacement for the Steam runtime using system libraries"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE="pulseaudio"

DEPEND="
	app-emulation/steam
	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/libcaca[abi_x86_32]
	media-libs/libpng-compat:1.2[abi_x86_32]
	media-libs/libsdl[abi_x86_32]
	media-libs/sdl-image[abi_x86_32]
	media-libs/sdl-mixer[abi_x86_32]
	media-libs/sdl-ttf[abi_x86_32]
	media-libs/libsdl2[abi_x86_32]
	media-libs/sdl2-image[abi_x86_32]
	media-libs/sdl2-mixer[abi_x86_32]
	media-libs/sdl2-ttf[abi_x86_32]
	media-libs/mesa[abi_x86_32]
	media-libs/openal[abi_x86_32]
	net-libs/libnm-glib[abi_x86_32]
	net-misc/curl[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/jpeg[abi_x86_32]
	virtual/opengl[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/libdrm[abi_x86_32]
	x11-libs/libICE[abi_x86_32]
	x11-libs/libSM[abi_x86_32]
	x11-libs/libva-compat:1[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]

	pulseaudio? (
		media-libs/libcanberra[abi_x86_32]
		media-sound/pulseaudio[abi_x86_32]
	)
	!pulseaudio? (
		media-libs/libcanberra[abi_x86_32]
		media-libs/libpipewire[abi_x86_32]
		media-sound/apulse[abi_x86_32]
	)
"
RDEPEND="${DEPEND}
	pulseaudio? ( || (
		media-video/pipewire
		media-sound/pulseaudio-daemon
		media-sound/pulseaudio[daemon(+)]
	) )
	!pulseaudio? (
		media-libs/libcanberra[abi_x86_32]
		media-libs/libpipewire[abi_x86_32]
		media-sound/apulse[abi_x86_32]
	)
"

S="${FILESDIR}"

src_install() {
	dobin redcore-steam-native
	insinto usr/share/applications
	doins "${PN}".desktop
}