nvidia340: provide libglvnd's libOpenGL and libGLX links

Also remove the *.so provided by libglvnd-devel
This commit is contained in:
Stefano Ragni 2019-12-14 13:21:57 +01:00 committed by Juan RP
parent aff3516cfe
commit e1c1f37ab9
1 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,7 @@ _desc="NVIDIA drivers (GeForce 8, 9, 9M, 100, 100M, 200, 300 series)"
pkgname=nvidia340
version=340.107
revision=7
revision=8
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:NVIDIA proprietary"
homepage="http://www.nvidia.com"
@ -62,16 +62,15 @@ do_install() {
# OpenGL libraries (GL, EGL and GLES)
vinstall libGL.so.${version} 755 usr/lib
ln -sf libGL.so.${version} ${DESTDIR}/usr/lib/libGL.so.1
ln -sf libGL.so.${version} ${DESTDIR}/usr/lib/libGL.so
vinstall libEGL.so.${version} 755 usr/lib
ln -sf libEGL.so.${version} ${DESTDIR}/usr/lib/libEGL.so.1
ln -sf libEGL.so.${version} ${DESTDIR}/usr/lib/libEGL.so
vinstall libGLESv1_CM.so.${version} 755 usr/lib
ln -sf libGLESv1_CM.so.${version} ${DESTDIR}/usr/lib/libGLESv1_CM.so.1
ln -sf libGLESv1_CM.so.${version} ${DESTDIR}/usr/lib/libGLESv1_CM.so
vinstall libGLESv2.so.${version} 755 usr/lib
ln -sf libGLESv2.so.${version} ${DESTDIR}/usr/lib/libGLESv2.so.2
ln -sf libGLESv2.so.${version} ${DESTDIR}/usr/lib/libGLESv2.so
# Some programs link to these libglvnd links
ln -sf libGL.so.1 ${DESTDIR}/usr/lib/libOpenGL.so.0
ln -sf libGL.so.1 ${DESTDIR}/usr/lib/libGLX.so.0
# OpenGL core library
vinstall libnvidia-glcore.so.${version} 755 usr/lib