x11-drivers/nvidia-drivers: Depend on virtual/opencl
authorJeroen Roovers <jer@gentoo.org>
Mon, 20 Apr 2020 10:13:48 +0000 (12:13 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 20 Apr 2020 10:14:44 +0000 (12:14 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Bug: https://bugs.gentoo.org/717042
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-drivers/nvidia-drivers/nvidia-drivers-390.132-r2.ebuild
x11-drivers/nvidia-drivers/nvidia-drivers-430.64-r2.ebuild
x11-drivers/nvidia-drivers/nvidia-drivers-435.21-r2.ebuild
x11-drivers/nvidia-drivers/nvidia-drivers-440.82-r1.ebuild

index cdaa60bfd89cf37677a672d1b3f45497f3fd570a..d8dd669f8aec360277aa8c6ebbd66f022ec27a28 100644 (file)
@@ -38,7 +38,6 @@ REQUIRED_USE="
 "
 
 COMMON="
-       app-eselect/eselect-opencl
        driver? ( kernel_linux? ( acct-group/video ) )
        kernel_linux? ( >=sys-libs/glibc-2.6.1 )
        tools? (
@@ -76,6 +75,7 @@ RDEPEND="
        ${COMMON}
        acpi? ( sys-power/acpid )
        tools? ( !media-video/nvidia-settings )
+       uvm? ( >=virtual/opencl-3 )
        wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
        X? (
                <x11-base/xorg-server-1.20.99:=
@@ -547,7 +547,6 @@ pkg_postinst() {
        if ! use libglvnd; then
                use X && "${ROOT}"/usr/bin/eselect opengl set --use-old nvidia
        fi
-       "${ROOT}"/usr/bin/eselect opencl set --use-old nvidia
 
        readme.gentoo_print_elog
 
index f1bfb3b028bf2578d8d39abb6dd50a2423009336..f281ac59fc4d580ea200ae34f8f72ac0ac6b6606 100644 (file)
@@ -33,7 +33,6 @@ REQUIRED_USE="
 "
 
 COMMON="
-       app-eselect/eselect-opencl
        driver? ( kernel_linux? ( acct-group/video ) )
        kernel_linux? ( >=sys-libs/glibc-2.6.1 )
        tools? (
@@ -67,6 +66,7 @@ RDEPEND="
        ${COMMON}
        acpi? ( sys-power/acpid )
        tools? ( !media-video/nvidia-settings )
+       uvm? ( >=virtual/opencl-3 )
        wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
        X? (
                <x11-base/xorg-server-1.20.99:=
@@ -524,7 +524,6 @@ pkg_postinst() {
 
        # Switch to the nvidia implementation
        use X && "${ROOT}"/usr/bin/eselect opengl set --use-old nvidia
-       "${ROOT}"/usr/bin/eselect opencl set --use-old nvidia
 
        readme.gentoo_print_elog
 
index 9bc376f9b1581f26711f5a42bb64179e7ace18a5..b4d71c11943ea38b2ca31c553ee38437f23d9adc 100644 (file)
@@ -33,7 +33,6 @@ REQUIRED_USE="
 "
 
 COMMON="
-       app-eselect/eselect-opencl
        driver? ( kernel_linux? ( acct-group/video ) )
        kernel_linux? ( >=sys-libs/glibc-2.6.1 )
        tools? (
@@ -71,6 +70,7 @@ RDEPEND="
        ${COMMON}
        acpi? ( sys-power/acpid )
        tools? ( !media-video/nvidia-settings )
+       uvm? ( >=virtual/opencl-3 )
        wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
        X? (
                <x11-base/xorg-server-1.20.99:=
@@ -538,7 +538,6 @@ pkg_postinst() {
        if ! use libglvnd; then
                use X && "${ROOT}"/usr/bin/eselect opengl set --use-old nvidia
        fi
-       "${ROOT}"/usr/bin/eselect opencl set --use-old nvidia
 
        readme.gentoo_print_elog
 
index b28c016696c179fb9d3fdfd3054b4ab9f3ac5400..37b1d1b678dac5eb9368e9374e03c7e3eea875f3 100644 (file)
@@ -33,7 +33,6 @@ REQUIRED_USE="
 "
 
 COMMON="
-       app-eselect/eselect-opencl
        driver? ( kernel_linux? ( acct-group/video ) )
        kernel_linux? ( >=sys-libs/glibc-2.6.1 )
        tools? (
@@ -71,6 +70,7 @@ RDEPEND="
        ${COMMON}
        acpi? ( sys-power/acpid )
        tools? ( !media-video/nvidia-settings )
+       uvm? ( >=virtual/opencl-3 )
        wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
        X? (
                <x11-base/xorg-server-1.20.99:=
@@ -544,7 +544,6 @@ pkg_postinst() {
        if ! use libglvnd; then
                use X && "${ROOT}"/usr/bin/eselect opengl set --use-old nvidia
        fi
-       "${ROOT}"/usr/bin/eselect opencl set --use-old nvidia
 
        readme.gentoo_print_elog