diff options
Diffstat (limited to 'virtual/opencl')
-rw-r--r-- | virtual/opencl/ChangeLog | 10 | ||||
-rw-r--r-- | virtual/opencl/metadata.xml | 5 | ||||
-rw-r--r-- | virtual/opencl/opencl-0.ebuild | 19 |
3 files changed, 34 insertions, 0 deletions
diff --git a/virtual/opencl/ChangeLog b/virtual/opencl/ChangeLog new file mode 100644 index 000000000000..9cd2fe9f29f6 --- /dev/null +++ b/virtual/opencl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for virtual/opencl +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/virtual/opencl/ChangeLog,v 1.1 2011/12/20 19:32:33 vapier Exp $ + +*opencl-0 (20 Dec 2011) + + 20 Dec 2011; Mike Frysinger <vapier@gentoo.org> +opencl-0.ebuild, + +metadata.xml: + Initial ebuild by me for #392179 by Michal Pytasz. + diff --git a/virtual/opencl/metadata.xml b/virtual/opencl/metadata.xml new file mode 100644 index 000000000000..01c4c004e735 --- /dev/null +++ b/virtual/opencl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>x11</herd> +</pkgmetadata> diff --git a/virtual/opencl/opencl-0.ebuild b/virtual/opencl/opencl-0.ebuild new file mode 100644 index 000000000000..1318ce2d5b93 --- /dev/null +++ b/virtual/opencl/opencl-0.ebuild @@ -0,0 +1,19 @@ +# 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.1 2011/12/20 19:32:33 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="|| ( + video_cards_nvidia? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) + video_cards_fglrx? ( x11-drivers/ati-drivers[opencl] ) + )" |