summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/opencl/opencl-0-r1.ebuild')
-rw-r--r--virtual/opencl/opencl-0-r1.ebuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/virtual/opencl/opencl-0-r1.ebuild b/virtual/opencl/opencl-0-r1.ebuild
new file mode 100644
index 0000000..53988f0
--- /dev/null
+++ b/virtual/opencl/opencl-0-r1.ebuild
@@ -0,0 +1,20 @@
+# 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 $
+
+EAPI="4"
+
+DESCRIPTION="Virtual for OpenCL implementations"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+CARDS=( fglrx nvidia )
+IUSE="${CARDS[@]/#/video_cards_}"
+
+REQUIRED_USE="|| ( ${IUSE} )"
+
+RDEPEND="app-admin/eselect-opencl
+ || (
+ video_cards_fglrx? ( >=x11-drivers/ati-drivers-11.2[opencl] )
+ video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-290.10 )
+ )"