blob: 26428c40eb34949d7a7bf711eba3d248fa9acda0 (
plain)
1 # Description: NVIDIA Linux Display Driver (production branch)
2 # URL: http://www.nvidia.com/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: libglvnd-32
5
6 name=nvidia-32
7 version=525.60.11
8 release=1
9 source=(http://us.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x86_64-$version.run)
10
11 build() {
12 sh NVIDIA-Linux-x86_64-$version.run --extract-only
13 cd NVIDIA-Linux-x86_64-$version/32
14
15 install -d -m 0755 $PKG/usr/lib32
16
17 # EGL and OpenGL ES libraries and config
18 install -m 0755 libGLESv1_CM_nvidia.so.$version $PKG/usr/lib32/
19 ln -s libGLESv1_CM_nvidia.so.$version $PKG/usr/lib32/libGLESv1_CM_nvidia.so.1
20 install -m 0755 libGLESv2_nvidia.so.$version $PKG/usr/lib32/
21 ln -s libGLESv2_nvidia.so.$version $PKG/usr/lib32/libGLESv2_nvidia.so.2
22
23 # GLVND vendor implementation libraries
24 install -m 0755 libGLX_nvidia.so.$version $PKG/usr/lib32/
25 ln -s libGLX_nvidia.so.$version $PKG/usr/lib32/libGLX_nvidia.so.0
26 install -m 0755 libEGL_nvidia.so.$version $PKG/usr/lib32/
27 ln -s libEGL_nvidia.so.$version $PKG/usr/lib32/libEGL_nvidia.so.0
28
29 # driver component libraries
30 install -m 0755 libnvidia-compiler.so.$version $PKG/usr/lib32/
31 install -m 0755 libnvidia-eglcore.so.$version $PKG/usr/lib32/
32 install -m 0755 libnvidia-glcore.so.$version $PKG/usr/lib32/
33 install -m 0755 libnvidia-glsi.so.$version $PKG/usr/lib32/
34 install -m 0755 libnvidia-glvkspirv.so.$version $PKG/usr/lib32/
35
36 # vendor VDPAU library
37 install -D -m 0755 libvdpau_nvidia.so.$version $PKG/usr/lib32/vdpau/libvdpau_nvidia.so.$version
38 ln -s libvdpau_nvidia.so.$version $PKG/usr/lib32/vdpau/libvdpau_nvidia.so.1
39 ln -s libvdpau_nvidia.so.$version $PKG/usr/lib32/vdpau/libvdpau_nvidia.so
40
41 # CUDA libraries
42 install -m 0755 libcuda.so.$version $PKG/usr/lib32/
43 ln -s libcuda.so.$version $PKG/usr/lib32/libcuda.so.1
44 ln -s libcuda.so.$version $PKG/usr/lib32/libcuda.so
45 install -m 0755 libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib32/
46 ln -s libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib32/libnvidia-ptxjitcompiler.so.1
47 ln -s libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib32/libnvidia-ptxjitcompiler.so
48
49 # OpenCL libraries and config
50 install -m 0755 libOpenCL.so.1.0.0 $PKG/usr/lib32/
51 install -m 0755 libnvidia-opencl.so.$version $PKG/usr/lib32/
52 ln -s libnvidia-opencl.so.$version $PKG/usr/lib32/libnvidia-opencl.so.1
53 ln -s libnvidia-opencl.so.$version $PKG/usr/lib32/libnvidia-opencl.so
54
55 # TLS libraries
56 install -m 0755 libnvidia-tls.so.$version $PKG/usr/lib32/
57
58 # monitoring and management API library
59 install -m 0755 libnvidia-ml.so.$version $PKG/usr/lib32/
60
61 # encoding/decoding libraries
62 install -m 0755 libnvcuvid.so.$version $PKG/usr/lib32/
63 install -m 0755 libnvidia-encode.so.$version $PKG/usr/lib32/
64 install -m 0755 libnvidia-fbc.so.$version $PKG/usr/lib32/
65
66 # Optical Flow library
67 install -m 0755 libnvidia-opticalflow.so.$version $PKG/usr/lib32/
68 ln -s libnvidia-opticalflow.so.$version $PKG/usr/lib32/libnvidia-opticalflow.so.1
69 ln -s libnvidia-opticalflow.so.$version $PKG/usr/lib32/libnvidia-opticalflow.so
70 }
|