summaryrefslogtreecommitdiff
blob: 9371f2d57ed3576450a4b3b66290a4b210928ec3 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Virtual for Wine that supports multiple variants and slotting"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+abi_x86_32 +abi_x86_64 d3d9 staging"

REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"

# Note, the ordering here is intentional, to take advantage of the short-circuit
# logic of portage, to enforce wine-vanilla as default for new users.  The idea
# behind this is that some USE flags may pull in 3rd-party patchsets, so default
# of vanilla prevents that.
RDEPEND="
	staging? ( || (
		app-emulation/wine-staging[staging]
		app-emulation/wine-any[staging]
	) )
	d3d9? ( || (
		app-emulation/wine-d3d9[d3d9]
		app-emulation/wine-any[d3d9]
	) )
	|| (
		app-emulation/wine-vanilla[abi_x86_32=,abi_x86_64=]
		app-emulation/wine-staging[abi_x86_32=,abi_x86_64=]
		app-emulation/wine-d3d9[abi_x86_32=,abi_x86_64=]
		app-emulation/wine-any[abi_x86_32=,abi_x86_64=]
	)
	!app-emulation/wine:0"