nvidia: -opencl now depends on the generic OpenCL ICD (ocl-icd).

This commit is contained in:
Juan RP 2014-07-23 11:50:05 +02:00
parent bdbd267cbe
commit 13244c576b

View file

@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
pkgname=nvidia
version=340.24
revision=2
revision=3
maintainer="Juan RP <xtraeme@gmail.com>"
license="Propietary NVIDIA license"
homepage="http://www.nvidia.com"
@ -173,11 +173,9 @@ nvidia-dkms_package() {
nvidia-opencl_package() {
short_desc="${_desc} - OpenCL implementation"
provides="libOpenCL-${version}_${revision}"
replaces="libOpenCL>=0"
depends="ocl-icd"
nonfree=yes
pkg_install() {
vmove "usr/lib/libOpenCL*"
vmove "usr/lib/libnvidia-compiler*"
vmove "usr/lib/libnvidia-opencl*"
vmove etc/OpenCL