virtual/opencl: OR, not AND for nvidia providers
authorMarek Szuba <marecki@gentoo.org>
Fri, 28 Feb 2020 12:07:07 +0000 (13:07 +0100)
committerMarek Szuba <marecki@gentoo.org>
Fri, 28 Feb 2020 12:07:07 +0000 (13:07 +0100)
Signed-off-by: Marek Szuba <marecki@gentoo.org>
virtual/opencl/opencl-2.ebuild

index 9963833977efa68bb3f2d0016f2fc42c9b22c894..cbacc93b31933e84b24d931cb28d9eac8e927172 100644 (file)
@@ -20,9 +20,9 @@ RDEPEND="app-eselect/eselect-opencl
                video_cards_amdgpu? ( || (
                        dev-libs/rocm-opencl-runtime
                        dev-libs/amdgpu-pro-opencl ) )
-               video_cards_nvidia? (
+               video_cards_nvidia? ( || (
                        >=x11-drivers/nvidia-drivers-290.10-r2[uvm]
-                       >=media-libs/mesa-9.1.6[opencl,X(+),${MULTILIB_USEDEP}] )
+                       >=media-libs/mesa-9.1.6[opencl,X(+),${MULTILIB_USEDEP}] ) )
                video_cards_r600? (
                        >=media-libs/mesa-9.1.6[opencl,X(+),${MULTILIB_USEDEP}] )
                video_cards_radeonsi? (