f099d068fc
This adds some new ports: converters/linux-c7-fribidi required by x11-toolkits/linux-c7-pango. graphics/linux-c7-libglvnd required by graphics/linux-c7-dri. graphics/linux-c7-wayland required by graphics/linux-c7-dri. print/linux-c7-freetype unbundled from emulators/linux_base-c7 because it depends on graphics/linux-c7-png now. Mesa OpenGL libraries in graphics/linux-c7-dri now support libglvnd (GL Vendor-Neutral Dispatch library) which allows some applications to use Mesa while others use Nvidia OpenGL. The x11/nvidia-driver* ports have been changed so versions above 390.42 now use CentOS libglvnd and no longer install a bundled copy. PR: 229431 Submitted by: pkubaj (partly)
27 lines
1.6 KiB
Text
27 lines
1.6 KiB
Text
@comment Handle some links with postexec so nvidia-driver can overwrite them.
|
|
@postexec [ -e %D/usr/lib/libEGL.so.1 ] || ln -sf libEGL.so.1.1.0 %D/usr/lib/libEGL.so.1
|
|
@postunexec [ -e %D/usr/lib/libEGL.so.1 ] || rm -f %D/usr/lib/libEGL.so.1
|
|
usr/lib/libEGL.so.1.1.0
|
|
@postexec [ -e %D/usr/lib/libGL.so.1 ] || ln -sf libGL.so.1.7.0 %D/usr/lib/libGL.so.1
|
|
@postunexec [ -e %D/usr/lib/libGL.so.1 ] || rm -f %D/usr/lib/libGL.so.1
|
|
usr/lib/libGL.so.1.7.0
|
|
@postexec [ -e %D/usr/lib/libGLESv1_CM.so.1 ] || ln -sf libGLESv1_CM.so.1.2.0 %D/usr/lib/libGLESv1_CM.so.1
|
|
@postunexec [ -e %D/usr/lib/libGLESv1_CM.so.1 ] || rm -f %D/usr/lib/libGLESv1_CM.so.1
|
|
usr/lib/libGLESv1_CM.so.1.2.0
|
|
@postexec [ -e %D/usr/lib/libGLESv2.so.2 ] || ln -sf libGLESv2.so.2.1.0 %D/usr/lib/libGLESv2.so.2
|
|
@postunexec [ -e %D/usr/lib/libGLESv2.so.2 ] || rm -f %D/usr/lib/libGLESv2.so.2
|
|
usr/lib/libGLESv2.so.2.1.0
|
|
@postexec [ -e %D/usr/lib/libGLX.so.0 ] || ln -sf libGLX.so.0.0.0 %D/usr/lib/libGLX.so.0
|
|
@postunexec [ -e %D/usr/lib/libGLX.so.0 ] || rm -f %D/usr/lib/libGLX.so.0
|
|
usr/lib/libGLX.so.0.0.0
|
|
@postexec [ -e %D/usr/lib/libGLdispatch.so.0 ] || ln -sf libGLdispatch.so.0.0.0 %D/usr/lib/libGLdispatch.so.0
|
|
@postunexec [ -e %D/usr/lib/libGLdispatch.so.0 ] || rm -f %D/usr/lib/libGLdispatch.so.0
|
|
usr/lib/libGLdispatch.so.0.0.0
|
|
@postexec [ -e %D/usr/lib/libOpenGL.so.0 ] || ln -sf libOpenGL.so.0.0.0 %D/usr/lib/libOpenGL.so.0
|
|
@postunexec [ -e %D/usr/lib/libOpenGL.so.0 ] || rm -f %D/usr/lib/libOpenGL.so.0
|
|
usr/lib/libOpenGL.so.0.0.0
|
|
%%PORTDOCS%%usr/share/doc/libglvnd-1.0.1/README.md
|
|
@dir etc/egl/egl_external_platform.d
|
|
@dir etc/glvnd/egl_vendor.d
|
|
@dir usr/share/egl/egl_external_platform.d
|
|
@dir usr/share/glvnd/egl_vendor.d
|