summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-20 19:32:33 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-20 19:32:33 +0000
commit506b154f10a20f25b2e9174191cd748981af0669 (patch)
treefe7e52226f56444923a6fe405a88a806e24aaa74 /virtual/opencl
parentVersion bump, thanks to proxy maintainer Vincent Hardy. (diff)
downloadgentoo-2-506b154f10a20f25b2e9174191cd748981af0669.tar.gz
gentoo-2-506b154f10a20f25b2e9174191cd748981af0669.tar.bz2
gentoo-2-506b154f10a20f25b2e9174191cd748981af0669.zip
Initial ebuild by me for #392179 by Michal Pytasz.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'virtual/opencl')
-rw-r--r--virtual/opencl/ChangeLog10
-rw-r--r--virtual/opencl/metadata.xml5
-rw-r--r--virtual/opencl/opencl-0.ebuild19
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] )
+ )"