You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/virtual/opencl/opencl-0-r4.ebuild

30 lines
739 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/opencl/opencl-0-r4.ebuild,v 1.2 2013/09/21 20:24:50 mgorny Exp $
EAPI=5
inherit multilib-build
DESCRIPTION="Virtual for OpenCL implementations"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
CARDS=( fglrx nvidia )
IUSE="${CARDS[@]/#/video_cards_}"
DEPEND=""
# intel-ocl-sdk is amd64-only
RDEPEND="app-admin/eselect-opencl
|| (
media-libs/mesa[opencl,${MULTILIB_USEDEP}]
video_cards_fglrx? (
>=x11-drivers/ati-drivers-12.1-r1 )
video_cards_nvidia? (
>=x11-drivers/nvidia-drivers-290.10-r2 )
abi_x86_64? ( !abi_x86_32? ( dev-util/intel-ocl-sdk ) )
)"