summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-01-20 11:07:08 +0100
committerJeroen Roovers <jer@gentoo.org>2017-01-20 11:07:36 +0100
commit8ebb593eea941ca9fd730d23bb9ae9178601ee80 (patch)
tree200f2dc079bcdf3dea1c4524cd8da5f0c3eedbe4 /x11-drivers
parentx11-misc/menumaker: bump to 0.99.10 (diff)
downloadgentoo-8ebb593eea941ca9fd730d23bb9ae9178601ee80.tar.gz
gentoo-8ebb593eea941ca9fd730d23bb9ae9178601ee80.tar.bz2
gentoo-8ebb593eea941ca9fd730d23bb9ae9178601ee80.zip
x11-drivers/nvidia-drivers: Install 10_nvidia.json 10_nvidia_wayland.json by waltercool (bug #606584).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r3.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r2.ebuild)8
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild8
2 files changed, 16 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r3.ebuild
index e01d187ebd19..5e05f9e7206c 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r2.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-375.26-r3.ebuild
@@ -308,6 +308,14 @@ src_install() {
insinto /usr/share/X11/xorg.conf.d
newins {,50-}nvidia-drm-outputclass.conf
fi
+
+ insinto /usr/share/glvnd/egl_vendor.d
+ doins ${NV_X11}/10_nvidia.json
+ fi
+
+ if use wayland; then
+ insinto /usr/share/glvnd/egl_vendor.d
+ doins ${NV_X11}/10_nvidia_wayland.json
fi
# OpenCL ICD for NVIDIA
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild
index 1a63f6618967..5daae3070778 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-378.09.ebuild
@@ -306,6 +306,14 @@ src_install() {
insinto /usr/share/X11/xorg.conf.d
newins {,50-}nvidia-drm-outputclass.conf
fi
+
+ insinto /usr/share/glvnd/egl_vendor.d
+ doins ${NV_X11}/10_nvidia.json
+ fi
+
+ if use wayland; then
+ insinto /usr/share/glvnd/egl_vendor.d
+ doins ${NV_X11}/10_nvidia_wayland.json
fi
# OpenCL ICD for NVIDIA