commit b5707e0960ee32ab039adae43628b3f2aac38891
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Sep 20 07:38:19 2018 +0100
Add new file
xorg-x11-drv-nvidia.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 836feb2..02c3bfb 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -197,6 +197,7 @@ cp -a \
libnvcuvid.so.%{version} \
%ifarch x86_64
libnvidia-cfg.so.%{version} \
+ libnvoptix.so.%{version} \
%endif
libnvidia-eglcore.so.%{version} \
libnvidia-encode.so.%{version} \
@@ -207,7 +208,6 @@ cp -a \
libnvidia-glvkspirv.so.%{version} \
libnvidia-ifr.so.%{version} \
libnvidia-ml.so.%{version} \
- libnvoptix.so.%{version} \
libnvidia-ptxjitcompiler.so.%{version} \
%{buildroot}%{_libdir}/
@@ -239,7 +239,9 @@ install -m 0755 -d %{buildroot}%{_datadir}/vulkan/icd.d/
install -p -m 0644 nvidia_icd.json.template
%{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json
%ifarch x86_64
-# X DDX driver
+# X DDX driver and GLX extension
+install -p -D -m 0755 libglxserver_nvidia.so.%{version}
%{buildroot}%{_nvidia_xorgdir}/libglxserver_nvidia.so.%{version}
+ln -sf libglx.so.%{version} %{buildroot}%{_nvidia_xorgdir}/libglxserver_nvidia.so
install -D -p -m 0755 nvidia_drv.so
%{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_drv.so
# OpenCL config
@@ -393,6 +395,9 @@ fi ||:
%{_dracut_conf_d}/99-nvidia-dracut.conf
%{_bindir}/nvidia-bug-report.sh
# Xorg libs that do not need to be multilib
+%dir %{_nvidia_xorgdir}
+%{_nvidia_xorgdir}/libglxserver_nvidia.so
+%{_nvidia_xorgdir}/libglxserver_nvidia.so.%{version}
%{_libdir}/xorg/modules/drivers/nvidia_drv.so
#/no_multilib
%dir %{_datadir}/nvidia