freebsd-ports/x11/nvidia-driver/pkg-plist
Koop Mast 04a589dee4 Solve libGL.so and libglx.so conflict situation between libGL, xorg-server and
the nvidia-driver. Install the libraries in port specific directories.
Use pkg-install and pkg-deinstall scripts to update the hardlinks to the
default locations of these files.

While here clean up some @dirrmtry lines in xorg-server plist for directories
that aren.t created by xorg-server.

Motivator:	pkgng
Inspiration:	irc, freebsd-x11@ mailinglist discussion (sorry can't find it
		anymore to give credit the people)
Reviewed by:	danfe@ (for nvidia parts), bapt@
Approved by:	danfe@ (for nvidia parts)
With hat:	x11@
2012-08-31 15:44:41 +00:00

45 lines
1.4 KiB
Text

lib/.nvidia/libGL.so
lib/.nvidia/libGL.so.1
@dirrm lib/.nvidia
lib/libnvidia-tls.so.1
lib/libnvidia-tls.so
lib/libnvidia-cfg.so.1
lib/libnvidia-cfg.so
lib/libGLcore.so.1
lib/libGLcore.so
lib/vdpau/libvdpau_nvidia.so.1
lib/libvdpau_nvidia.so
lib/libXvMCNVIDIA.so.1
lib/libXvMCNVIDIA.so
lib/libXvMCNVIDIA.a
lib/libXvMCNVIDIA_dynamic.so.1
@dirrmtry lib/vdpau
%%MODULESDIR%%/libnvidia-wfb.so.1
%%MODULESDIR%%/drivers/nvidia_drv.so
%%MODULESDIR%%/extensions/.nvidia/libglx.so
%%MODULESDIR%%/extensions/.nvidia/libglx.so.1
@dirrm %%MODULESDIR%%/extensions/.nvidia
@dirrmtry %%MODULESDIR%%/drivers
@cwd /boot/modules
nvidia.ko
@unexec kldxref %D
%%LINUX%%@cwd %%LINUXBASE%%
%%LINUX%%usr/lib/libGL.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libGL.so.1
%%LINUX%%usr/lib/libGLcore.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libGLcore.so.1
%%LINUX%%usr/lib/libcuda.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libcuda.so.1
%%LINUX%%usr/lib/libnvidia-tls.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libnvidia-tls.so.1
%%LINUX%%usr/lib/libvdpau.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/libvdpau.so.1
%%LINUX%%usr/lib/libvdpau_nvidia.so
%%LINUX%%usr/lib/libvdpau_trace.so
%%LINUX%%usr/lib/vdpau/libvdpau_nvidia.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/vdpau/libvdpau_nvidia.so.1
%%LINUX%%usr/lib/vdpau/libvdpau_trace.so.%%SHLIB_VERSION%%
%%LINUX%%usr/lib/vdpau/libvdpau_trace.so.1
%%LINUX%%@dirrm usr/lib/vdpau
%%LINUX%%@exec %D/sbin/ldconfig -r %D
%%LINUX%%@unexec %D/sbin/ldconfig -r %D