summaryrefslogtreecommitdiff
path: root/x11/linux-nvidia-libs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/linux-nvidia-libs/Makefile')
-rw-r--r--x11/linux-nvidia-libs/Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/x11/linux-nvidia-libs/Makefile b/x11/linux-nvidia-libs/Makefile
index 865043131384..708beb3439b2 100644
--- a/x11/linux-nvidia-libs/Makefile
+++ b/x11/linux-nvidia-libs/Makefile
@@ -16,6 +16,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
.include "${.CURDIR}/../nvidia-driver/Makefile.version"
.include "${.CURDIR}/../nvidia-driver/Makefile.common"
+CONFLICTS_INSTALL= linux-nvidia-libs*
+
# Choose proper distinfo file using PKGNAMESUFFIX for slave ports.
# Kept for switching to centralized distinfo with suffixes.
.ifdef PKGNAMESUFFIX
@@ -145,7 +147,9 @@ LINUX32_LIBS+= libnvidia-compiler.so.${PORTVERSION}
## graphics/egl-wayland supports
## Estimated to be upgraded often.
-.if ${NVVERSION} >= 570.14400 # 570.144
+.if ${NVVERSION} >= 570.18100
+NV_EGL_W_VERSION= 1.1.20
+.elif ${NVVERSION} >= 570.14400 # 570.144, excuding 570.181 to below 575.000
NV_EGL_W_VERSION= 1.1.19
.elif ${NVVERSION} >= 470.04201 # 470.42.01
NV_EGL_W_VERSION= 1.1.7
@@ -274,7 +278,11 @@ PLIST_RE+= '\,${LINUXBASE}.*libnvidia-gpucomp\.so,d'
# nvidia-egl-X11 supports (not in x11/nvidia-driver nor separate ports)
# Estimated to be upgrated often.
-.if ${NVVERSION} >= 570.14400 # 570.144
+.if ${NVVERSION} >= 570.18100 # 570.181
+NV_EGL_X_VERSION= 1.0.3
+.elif ${NVVERSION} >= 570.15302 # 570.153.02
+NV_EGL_X_VERSION= 1.0.2
+.elif ${NVVERSION} >= 570.14400 # 570.144
NV_EGL_X_VERSION= 1.0.1
.elif ${NVVERSION} >= 570.00000 # 570.00, Intentionally kept to clarify
# the start of egl-x11 support.
@@ -329,6 +337,15 @@ PLIST_RE+= '\,${LINUXBASE},s/(libnvidia-egl-gbm\.so)\.X/\1.${NV_EGL_G_VERSION}/'
# End of nvidia-egl-gbm supports
+# Vulkan layer implementing NVIDIA Smooth Motion support
+.if ${NVVERSION} >= 580.06506 # 580.65.06
+LINUX_LIBS+= libnvidia-present.so.${PORTVERSION}
+.else
+PLIST_RE+= '\,${LINUXBASE}.*libnvidia-present\.so,d'
+.endif # 580.65.06
+# End of Vulkan layer implementing NVIDIA Smooth Motion support
+
+
.if ${NVVERSION} >= 525.08902 # 525.89.02
LINUX_LIBS+= libnvoptix.so.${PORTVERSION} \
libnvidia-nvvm.so.${PORTVERSION} \