mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
lib32-nvidia-utils 387.22
This commit is contained in:
parent
d576fe6764
commit
998eced0a9
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
_pkgbasename=nvidia-utils
|
_pkgbasename=nvidia-utils
|
||||||
pkgname=lib32-$_pkgbasename
|
pkgname=lib32-$_pkgbasename
|
||||||
pkgver=310.19
|
pkgver=387.22
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)"
|
pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.nvidia.com/"
|
url="http://www.nvidia.com/"
|
||||||
@ -19,7 +19,7 @@ options=('!strip')
|
|||||||
_filearch='x86'
|
_filearch='x86'
|
||||||
_pkg="NVIDIA-Linux-${_filearch}-${pkgver}"
|
_pkg="NVIDIA-Linux-${_filearch}-${pkgver}"
|
||||||
source=("http://us.download.nvidia.com/XFree86/Linux-${_filearch}/${pkgver}/${_pkg}.run")
|
source=("http://us.download.nvidia.com/XFree86/Linux-${_filearch}/${pkgver}/${_pkg}.run")
|
||||||
md5sums=('2adbdd38540b3a8955714760e05f575d')
|
md5sums=('abdbb3c813e52148f7435308121e6a37')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir
|
cd $srcdir
|
||||||
@ -29,23 +29,55 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd $srcdir/${_pkg}
|
cd $srcdir/${_pkg}
|
||||||
|
|
||||||
# OpenGL library
|
# GLX extension module for X - useless ?
|
||||||
install -D -m755 libGL.so.$pkgver $pkgdir/usr/lib32/libGL.so.$pkgver
|
install -D -m755 "libglx.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so.${pkgver}"
|
||||||
# OpenGL core library
|
ln -s "libglx.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/xorg/modules/extensions/libglx.so" # X doesn't find glx otherwise
|
||||||
install -D -m755 libnvidia-glcore.so.$pkgver $pkgdir/usr/lib32/libnvidia-glcore.so.$pkgver
|
install -D -m755 "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libGLX_nvidia.so.${pkgver}"
|
||||||
# VDPAU
|
# now in lib32-mesa driver
|
||||||
install -D -m755 libvdpau_nvidia.so.$pkgver $pkgdir/usr/lib32/vdpau/libvdpau_nvidia.so.$pkgver
|
#ln -s "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libGLX_indirect.so.0"
|
||||||
# CUDA
|
|
||||||
install -D -m755 libcuda.so.$pkgver $pkgdir/usr/lib32/libcuda.so.$pkgver
|
|
||||||
install -D -m755 libnvcuvid.so.$pkgver $pkgdir/usr/lib32/libnvcuvid.so.$pkgver
|
|
||||||
# nvidia-tls library
|
|
||||||
install -D -m755 tls/libnvidia-tls.so.$pkgver $pkgdir/usr/lib32/libnvidia-tls.so.$pkgver
|
|
||||||
# OpenCL
|
|
||||||
install -D -m755 libnvidia-compiler.so.$pkgver $pkgdir/usr/lib32/libnvidia-compiler.so.$pkgver
|
|
||||||
install -D -m755 libOpenCL.so.1.0.0 $pkgdir/usr/lib32/libOpenCL.so.1.0.0
|
|
||||||
|
|
||||||
install -D -m755 libnvidia-cfg.so.$pkgver $pkgdir/usr/lib32/libnvidia-cfg.so.$pkgver
|
# Wayland stuff
|
||||||
install -D -m755 libnvidia-ml.so.$pkgver $pkgdir/usr/lib32/libnvidia-ml.so.$pkgver
|
install -D -m755 "libnvidia-egl-wayland.so.1.0.2" "${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1.0.2"
|
||||||
|
ln -s "libnvidia-egl-wayland.so.1.0.2" "${pkgdir}/usr/lib32/libnvidia-egl-wayland.so.1"
|
||||||
|
|
||||||
|
# OpenGL libraries
|
||||||
|
install -D -m755 "libEGL_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL_nvidia.so.${pkgver}"
|
||||||
|
install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM_nvidia.so.${pkgver}"
|
||||||
|
install -D -m755 "libGLESv2_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2_nvidia.so.${pkgver}"
|
||||||
|
|
||||||
|
# OpenGL core library
|
||||||
|
install -D -m755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}"
|
||||||
|
|
||||||
|
# misc
|
||||||
|
install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ifr.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-wfb.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-wfb.so.${pkgver}"
|
||||||
|
|
||||||
|
# VDPAU
|
||||||
|
install -D -m755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}"
|
||||||
|
|
||||||
|
# nvidia-tls library
|
||||||
|
install -D -m755 "libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-tls.so.${pkgver}"
|
||||||
|
install -D -m755 "tls/libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib32/tls/libnvidia-tls.so.${pkgver}"
|
||||||
|
|
||||||
|
# CUDA
|
||||||
|
install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/libcuda.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/libnvcuvid.so.${pkgver}"
|
||||||
|
|
||||||
|
# PTX JIT Compiler (Parallel Thread Execution (PTX) is a pseudo-assembly language for CUDA)
|
||||||
|
install -D -m755 "libnvidia-ptxjitcompiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ptxjitcompiler.so.${pkgver}"
|
||||||
|
|
||||||
|
# Fat (multiarchitecture) binary loader
|
||||||
|
install -D -m755 "libnvidia-fatbinaryloader.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-fatbinaryloader.so.${pkgver}"
|
||||||
|
|
||||||
|
# OpenCL
|
||||||
|
install -D -m755 "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
|
||||||
|
install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
|
||||||
|
|
||||||
# create soname links
|
# create soname links
|
||||||
for _lib in $(find $pkgdir -name '*.so*'); do
|
for _lib in $(find $pkgdir -name '*.so*'); do
|
||||||
|
Loading…
Reference in New Issue
Block a user