summaryrefslogtreecommitdiff
blob: f5fc046a144e0a28f49e126def8eea9942e6290d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit multilib-build

DESCRIPTION="Virtual for OpenCL implementations"
SLOT="0"
KEYWORDS="amd64 x86"
CARDS=( nvidia )
IUSE="${CARDS[@]/#/video_cards_}"

# intel-ocl-sdk is amd64-only
RDEPEND="app-eselect/eselect-opencl
	|| (
		>=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}]
		video_cards_nvidia? (
			>=x11-drivers/nvidia-drivers-290.10-r2 )
		abi_x86_64? ( !abi_x86_32? ( dev-util/intel-ocl-sdk ) )
	)"