summaryrefslogtreecommitdiff
blob: 6eca2499b4a412dcb49aa5afc4860de69594dea0 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/opencl/opencl-0.ebuild,v 1.2 2011/12/20 22:09:15 vapier Exp $

# Until ATI's SDK is in the tree, nvidia is the only
# viable provider #392179 #257626

EAPI="4"

DESCRIPTION="Virtual for OpenCL implementations"

SLOT="0"
KEYWORDS="amd64 x86"
#CARDS=( fglrx nvidia )
CARDS=( nvidia )
IUSE="${CARDS[@]/#/video_cards_}"

REQUIRED_USE="|| ( ${IUSE} )"

#		video_cards_fglrx? ( x11-drivers/ati-drivers[opencl] )
RDEPEND="|| (
		video_cards_nvidia? ( x11-drivers/nvidia-drivers
			|| ( dev-util/opencl-headers >=dev-util/nvidia-cuda-toolkit-3.1 ) )
	)"