mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
openncl-sdk: migrate to virtual in Gentoo
This commit is contained in:
parent
6853c7a551
commit
edd243b411
6 changed files with 12 additions and 72 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Id$
|
||||||
|
|
||||||
EAPI=4
|
EAPI=4
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ KEYWORDS="amd64 x86"
|
||||||
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
||||||
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel"
|
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel"
|
||||||
|
|
||||||
DEPEND="opencl? ( virtual/opencl-sdk )
|
DEPEND="opencl? ( virtual/opencl )
|
||||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||||
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
||||||
<dev-libs/json-c-0.11"
|
<dev-libs/json-c-0.11"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Id$
|
||||||
|
|
||||||
EAPI=4
|
EAPI=4
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
|
||||||
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
||||||
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel json"
|
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel json"
|
||||||
|
|
||||||
DEPEND="opencl? ( virtual/opencl-sdk )
|
DEPEND="opencl? ( virtual/opencl )
|
||||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||||
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
||||||
json? ( <dev-libs/json-c-0.11 )"
|
json? ( <dev-libs/json-c-0.11 )"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Id$
|
||||||
|
|
||||||
EAPI=4
|
EAPI=4
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
|
||||||
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
||||||
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel +json"
|
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel +json"
|
||||||
|
|
||||||
DEPEND="opencl? ( virtual/opencl-sdk )
|
DEPEND="opencl? ( virtual/opencl )
|
||||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||||
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
||||||
json? ( >=dev-libs/json-c-0.11 )"
|
json? ( >=dev-libs/json-c-0.11 )"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Id$
|
||||||
|
|
||||||
EAPI=4
|
EAPI=4
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@ KEYWORDS=""
|
||||||
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
||||||
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel"
|
IUSE="${IUSE_VIDEO_CARDS} opencl pax_kernel"
|
||||||
|
|
||||||
DEPEND="opencl? ( virtual/opencl-sdk )
|
DEPEND="opencl? ( virtual/opencl )
|
||||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||||
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
video_cards_fglrx? ( x11-drivers/ati-drivers )
|
||||||
dev-libs/json-c"
|
dev-libs/json-c"
|
||||||
|
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/virtual/jre/jre-1.6.0.ebuild,v 1.12 2010/01/11 11:03:47 ulm Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
DESCRIPTION="Virtual for nv/ati/intel opencl SDK"
|
|
||||||
HOMEPAGE=""
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE=""
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
IUSE_VIDEO_CARDS="video_cards_intel video_cards_fglrx video_cards_nvidia "
|
|
||||||
IUSE="${IUSE_VIDEO_CARDS}"
|
|
||||||
|
|
||||||
RDEPEND="app-eselect/eselect-opencl
|
|
||||||
video_cards_intel? ( dev-util/intel-ocl-sdk )
|
|
||||||
video_cards_fglrx? ( dev-util/ati-app-sdk-bin )
|
|
||||||
video_cards_nvidia? ( >=dev-util/nvidia-cuda-sdk-3.0[opencl] )
|
|
||||||
"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
if ! use video_cards_intel && ! use video_cards_fglrx && ! use video_cards_nvidia ; then
|
|
||||||
eerror "at least one video card must be enabled"
|
|
||||||
die "at least one video card must be enabled"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/virtual/jre/jre-1.6.0.ebuild,v 1.12 2010/01/11 11:03:47 ulm Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
DESCRIPTION="Virtual for nv/ati/intel opencl SDK"
|
|
||||||
HOMEPAGE=""
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE=""
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
IUSE_VIDEO_CARDS="video_cards_intel video_cards_fglrx video_cards_nvidia "
|
|
||||||
IUSE="${IUSE_VIDEO_CARDS}"
|
|
||||||
|
|
||||||
RDEPEND="app-eselect/eselect-opencl
|
|
||||||
video_cards_intel? ( dev-util/intel-ocl-sdk )
|
|
||||||
video_cards_fglrx? ( >=dev-util/ati-stream-sdk-bin-2.2 )
|
|
||||||
video_cards_nvidia? ( >=dev-util/nvidia-cuda-sdk-3.0[opencl] )
|
|
||||||
"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
pkg_setup(){
|
|
||||||
if ! use video_cards_intel && ! use video_cards_fglrx && ! use video_cards_nvidia ; then
|
|
||||||
eerror "at least one video card must be enabled"
|
|
||||||
die "at least one video card must be enabled"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue