| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/virtual/opencl/opencl-0.ebuild,v 1.2 2011/12/20 22:09:15 vapier Exp $
|
| 4 |
|
| 5 |
# Until ATI's SDK is in the tree, nvidia is the only
|
| 6 |
# viable provider #392179 #257626
|
| 7 |
|
| 8 |
EAPI="4"
|
| 9 |
|
| 10 |
DESCRIPTION="Virtual for OpenCL implementations"
|
| 11 |
HOMEPAGE=""
|
| 12 |
SRC_URI=""
|
| 13 |
|
| 14 |
LICENSE=""
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="amd64 x86"
|
| 17 |
#CARDS=( fglrx nvidia )
|
| 18 |
CARDS=( nvidia )
|
| 19 |
IUSE="${CARDS[@]/#/video_cards_}"
|
| 20 |
|
| 21 |
REQUIRED_USE="|| ( ${IUSE} )"
|
| 22 |
|
| 23 |
# video_cards_fglrx? ( x11-drivers/ati-drivers[opencl] )
|
| 24 |
RDEPEND="|| (
|
| 25 |
video_cards_nvidia? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 )
|
| 26 |
)"
|