diff options
author | danfe <danfe@FreeBSD.org> | 2019-11-04 19:32:52 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2019-11-04 19:32:52 +0800 |
commit | 977a4de0b42277dbebf99c32b0ed1ae44e677472 (patch) | |
tree | af5dfeee4f0335e1edde7a8c7cf83b4143e173b7 /x11 | |
parent | b08d4d925903656bf164b0c53c59f425f6fe949a (diff) | |
download | freebsd-ports-gnome-977a4de0b42277dbebf99c32b0ed1ae44e677472.tar.gz freebsd-ports-gnome-977a4de0b42277dbebf99c32b0ed1ae44e677472.tar.zst freebsd-ports-gnome-977a4de0b42277dbebf99c32b0ed1ae44e677472.zip |
- Update NVidia Linux userland components port to version 430.50
- Fix version check when setting PORTSCOUT, 390.xx is also legacy now
Diffstat (limited to 'x11')
-rw-r--r-- | x11/linux-nvidia-libs/Makefile | 25 | ||||
-rw-r--r-- | x11/linux-nvidia-libs/distinfo | 4 |
2 files changed, 20 insertions, 9 deletions
diff --git a/x11/linux-nvidia-libs/Makefile b/x11/linux-nvidia-libs/Makefile index c690267c2f97..24080f49867e 100644 --- a/x11/linux-nvidia-libs/Makefile +++ b/x11/linux-nvidia-libs/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= nvidia-libs -DISTVERSION?= 410.104 +DISTVERSION?= 430.50 # Always try to set PORTREVISION as it can be overridden by the slave ports PORTREVISION?= 0 CATEGORIES= x11 linux @@ -16,7 +16,7 @@ COMMENT= NVidia graphics libraries and programs (Linux version) LICENSE_FILE= ${WRKSRC}/LICENSE .include "${.CURDIR}/../nvidia-driver/Makefile.common" -.if ${DISTVERSION:R} >= 390 +.if ${DISTVERSION:R} > 390 PORTSCOUT= limit:\.\d+$$ # ignore *-no-compat32 distfiles .else PORTSCOUT= limit:^${DISTVERSION:R}\.\d+$$ @@ -39,8 +39,10 @@ LINUX_LIBS= libcuda.so.${PORTVERSION} \ libnvidia-ml.so.${PORTVERSION} \ libnvidia-opencl.so.${PORTVERSION} \ libnvidia-tls.so.${PORTVERSION} \ - libvdpau_nvidia.so.${PORTVERSION} \ - tls/libnvidia-tls.so.${PORTVERSION} + libvdpau_nvidia.so.${PORTVERSION} +.if ${NVVERSION} < 415.013 +LINUX_LIBS+= tls/libnvidia-tls.so.${PORTVERSION} +.endif LINUX_LINKS= libcuda.so.${PORTVERSION} libcuda.so.1 \ libcuda.so.${PORTVERSION} libcuda.so \ libnvcuvid.so.${PORTVERSION} libnvcuvid.so.1 \ @@ -57,8 +59,10 @@ LINUX32_LIBS= libcuda.so.${PORTVERSION} \ libnvidia-ml.so.${PORTVERSION} \ libnvidia-opencl.so.${PORTVERSION} \ libnvidia-tls.so.${PORTVERSION} \ - libvdpau_nvidia.so.${PORTVERSION} \ - tls/libnvidia-tls.so.${PORTVERSION} + libvdpau_nvidia.so.${PORTVERSION} +.if ${NVVERSION} < 415.013 +LINUX32_LIBS+= tls/libnvidia-tls.so.${PORTVERSION} +.endif LINUX32_LINKS= libcuda.so.${PORTVERSION} libcuda.so.1 \ libcuda.so.${PORTVERSION} libcuda.so \ libnvidia-ml.so.${PORTVERSION} libnvidia-ml.so.1 \ @@ -118,7 +122,11 @@ PLIST_RE+= '\,${LINUXBASE}.*libGLESv(1_CM|2)_nvidia\.so,d' \ '\,${LINUXBASE}.*libnvidia-fatbinaryloader\.so,d' \ '\,${LINUXBASE}.*libnvidia-ptxjitcompiler\.so,d' .endif -.if ${NVVERSION} >= 410.057 +.if ${NVVERSION} >= 418.030 +LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.2 +LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.2 libnvidia-egl-wayland.so.1 +PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.2/' +.elif ${NVVERSION} >= 410.057 LINUX_LIBS+= libnvidia-egl-wayland.so.1.1.0 LINUX_LINKS+= libnvidia-egl-wayland.so.1.1.0 libnvidia-egl-wayland.so.1 PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-wayland\.so)\.X/\1.1.1.0/' @@ -377,6 +385,9 @@ do-install: ${REINPLACE_CMD} -E '\,${LINUXBASE},!{/\/lib\/libGLESv[12](_CM)?(\.so)?(_nvidia.so(\.[0-9]|\.[0-9]+\.[0-9]+)?)?$$/d ; \ /libEGL_nvidia\.so\.${PORTVERSION}/d;}' ${TMPPLIST} .endif +.if ${NVVERSION} >= 415.013 + ${REINPLACE_CMD} -e '/tls\/libnvidia-tls\.so/d' ${TMPPLIST} +.endif ${REINPLACE_CMD} -E ${PLIST_RE:S/^/-e /} ${TMPPLIST} .for f d in ${LINUX_DATA} ${MKDIR} ${STAGEDIR}${LINUXBASE}${d} diff --git a/x11/linux-nvidia-libs/distinfo b/x11/linux-nvidia-libs/distinfo index 36a7d1f5327c..c2311bd8d43e 100644 --- a/x11/linux-nvidia-libs/distinfo +++ b/x11/linux-nvidia-libs/distinfo @@ -1,6 +1,6 @@ TIMESTAMP = 1482026038 -SHA256 (NVIDIA-Linux-x86_64-410.104.run) = 6ac4f7355a11e4b6ea2ff5b3d6ea677247f286daecf2e9373ef947ee08682cb7 -SIZE (NVIDIA-Linux-x86_64-410.104.run) = 106042115 +SHA256 (NVIDIA-Linux-x86_64-430.50.run) = 0c683394ae47d145f989b74120b482431fa5c7730d41fb3433d8fd68324d3dc5 +SIZE (NVIDIA-Linux-x86_64-430.50.run) = 110545029 SHA256 (NVIDIA-Linux-x86_64-390.129.run) = d690cf21bda0bb6eb5c8a7f71073f0c9aea5857c6dd392a4dac3b48b27631240 SIZE (NVIDIA-Linux-x86_64-390.129.run) = 82314424 SHA256 (NVIDIA-Linux-x86-390.129.run) = 5854268c26f112a16c6fd7ded0031bf95cc8f4dab617ac5d701090fec19d6f36 |