diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-535.43.13.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-535.43.13.ebuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.13.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.13.ebuild index 8390b07c4393..8e35eaea07bc 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.13.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-535.43.13.ebuild @@ -18,9 +18,10 @@ SRC_URI=" $(printf "https://download.nvidia.com/XFree86/%s/%s-${NV_PIN}.tar.bz2 " \ nvidia-{installer,modprobe,persistenced,settings,xconfig}{,}) https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${PV}.tar.gz - -> open-gpu-kernel-modules-${PV}.tar.gz" + -> open-gpu-kernel-modules-${PV}.tar.gz +" # nvidia-installer is unused but here for GPL-2's "distribute sources" -S="${WORKDIR}" +S=${WORKDIR} LICENSE="NVIDIA-r2 Apache-2.0 BSD BSD-2 GPL-2 MIT ZLIB curl openssl" SLOT="0/vulkan" @@ -49,7 +50,8 @@ COMMON_DEPEND=" x11-libs/libXext x11-libs/libXxf86vm x11-libs/pango - )" + ) +" RDEPEND=" ${COMMON_DEPEND} dev-libs/openssl:0/3 @@ -63,7 +65,8 @@ RDEPEND=" gui-libs/egl-gbm >=gui-libs/egl-wayland-1.1.10 media-libs/libglvnd - )" + ) +" DEPEND=" ${COMMON_DEPEND} static-libs? ( @@ -77,10 +80,12 @@ DEPEND=" x11-libs/libXrandr x11-libs/libXv x11-libs/libvdpau - )" + ) +" BDEPEND=" sys-devel/m4 - virtual/pkgconfig" + virtual/pkgconfig +" QA_PREBUILT="lib/firmware/* opt/bin/* usr/lib*" @@ -100,7 +105,8 @@ pkg_setup() { ~SYSVIPC ~!LOCKDEP ~!SLUB_DEBUG_ON - !DEBUG_MUTEXES" + !DEBUG_MUTEXES + " local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection of drivers (no custom config), and for wayland / nvidia-drm.modeset=1. @@ -214,7 +220,7 @@ src_compile() { use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig if use tools; then - # cflags: avoid noisy logs, only use here and set first to let override + # avoid noisy *very* noisy logs with deprecation warnings CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \ emake "${NV_ARGS[@]}" -C nvidia-settings elif use static-libs; then |