freebsd-ports/x11/nvidia-driver/pkg-plist
Koop Mast 5c3b6d77f9 Fix libEGL and libGLESv2 conflict between libEGL/libglesv2 and the
nvidia-driver port in the same fashion it was done as the conflict
with the libGL port.

Mesa ports:
Add pkg-[de]install scripts to handle the symlinks in the libEGL
  and libglesv2 port.
Move pkg-[de]install scripts of libGL out of files/
Put the real mesa libraries into lib/.mesa so we don't have each
  port create a directory for it own use.

Nvidia-driver:
Only apply the libEGL.so and libGLESv2.so alternative install
  directory if nvidia-driver actually ships them. Copied from
  PR submitter, since it was much cleaner then my initial attempt.
Make pkg-install script check if the nvidia-driver port installed
  the libEGL/libglesv2 libraries and only then make the symlinks.
  This should allow the script to work with the slave ports which
  don't install these libraries.
Make the pkg-deinstall script check if the mesa version of
 the libEGL/libGLESv2 libraries are installed before trying to
 recreate the symlinks of those ports.

PR:		194924
Submitted by:	Gerard Seibert <gerard_seibert@outlook.com>
Approved by:	portmgr (angrybapt)
2014-11-27 13:14:04 +00:00

56 lines
2.2 KiB
Text

bin/nvidia-bug-report.sh
lib/.nvidia/libGL.so
lib/.nvidia/libGL.so.1
lib/.nvidia/libEGL.so
lib/.nvidia/libEGL.so.1
lib/libGLESv1_CM.so
lib/libGLESv1_CM.so.1
lib/.nvidia/libGLESv2.so
lib/.nvidia/libGLESv2.so.2
lib/libGLcore.so
lib/libGLcore.so.1
lib/libXvMCNVIDIA.a
lib/libXvMCNVIDIA.so
lib/libXvMCNVIDIA.so.1
lib/libXvMCNVIDIA_dynamic.so.1
lib/libnvidia-cfg.so
lib/libnvidia-cfg.so.1
lib/libnvidia-eglcore.so
lib/libnvidia-eglcore.so.1
lib/libnvidia-glsi.so
lib/libnvidia-glsi.so.1
lib/libnvidia-tls.so
lib/libnvidia-tls.so.1
lib/libvdpau_nvidia.so
lib/vdpau/libvdpau_nvidia.so.1
%%MODULESDIR%%/drivers/nvidia_drv.so
%%MODULESDIR%%/extensions/.nvidia/libglx.so
%%MODULESDIR%%/extensions/.nvidia/libglx.so.1
%%MODULESDIR%%/libnvidia-wfb.so.1
/%%KMODDIR%%/nvidia.ko
%%LINUX%%%%LINUXBASE%%/usr/lib/libEGL.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libEGL.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/libGL.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libGL.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/libGLESv1_CM.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libGLESv1_CM.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/libGLESv2.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libGLESv2.so.2
%%LINUX%%%%LINUXBASE%%/usr/lib/libGLcore.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libGLcore.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/libcuda.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libcuda.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-eglcore.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-glsi.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-tls.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libnvidia-tls.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/libvdpau.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/libvdpau.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/libvdpau_nvidia.so
%%LINUX%%%%LINUXBASE%%/usr/lib/libvdpau_trace.so
%%LINUX%%%%LINUXBASE%%/usr/lib/vdpau/libvdpau_nvidia.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/vdpau/libvdpau_nvidia.so.1
%%LINUX%%%%LINUXBASE%%/usr/lib/vdpau/libvdpau_trace.so.%%SHLIB_VERSION%%
%%LINUX%%%%LINUXBASE%%/usr/lib/vdpau/libvdpau_trace.so.1
%%LINUX%%@exec %%LINUXBASE%%/sbin/ldconfig -r %%LINUXBASE%%
%%LINUX%%@unexec %%LINUXBASE%%/sbin/ldconfig -r %%LINUXBASE%%