From c98b5f99be972e8240159a73ea1ca030a52b15a5 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 12 Jan 2017 15:59:26 +0100 Subject: [PATCH] x11-drivers/nvidia-drivers: Update latest ebuild in 340 branch (bug #496582). Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- ...build => nvidia-drivers-340.101-r1.ebuild} | 49 ++++++++++--------- 1 file changed, 26 insertions(+), 23 deletions(-) rename x11-drivers/nvidia-drivers/{nvidia-drivers-340.98-r1.ebuild => nvidia-drivers-340.101-r1.ebuild} (94%) diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-340.98-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-340.101-r1.ebuild similarity index 94% rename from x11-drivers/nvidia-drivers/nvidia-drivers-340.98-r1.ebuild rename to x11-drivers/nvidia-drivers/nvidia-drivers-340.101-r1.ebuild index c105bfe2ce5ef..3f59fe6ddc639 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-340.98-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-340.101-r1.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 - +EAPI=6 inherit eutils flag-o-matic linux-info linux-mod multilib-minimal nvidia-driver \ portability toolchain-funcs unpacker user udev @@ -34,14 +33,14 @@ COMMON=" app-eselect/eselect-opencl kernel_linux? ( >=sys-libs/glibc-2.6.1 ) tools? ( - dev-libs/atk[${MULTILIB_USEDEP}] - dev-libs/glib:2[${MULTILIB_USEDEP}] - dev-libs/jansson[${MULTILIB_USEDEP}] - x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] - >=x11-libs/gtk+-2.4:2[${MULTILIB_USEDEP}] - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/pango[X,${MULTILIB_USEDEP}] + dev-libs/atk[$MULTILIB_USEDEP] + dev-libs/glib:2[$MULTILIB_USEDEP] + dev-libs/jansson[$MULTILIB_USEDEP] + x11-libs/gdk-pixbuf[$MULTILIB_USEDEP] + >=x11-libs/gtk+-2.4:2[$MULTILIB_USEDEP] + x11-libs/libX11[$MULTILIB_USEDEP] + x11-libs/libXext[$MULTILIB_USEDEP] + x11-libs/pango[X,$MULTILIB_USEDEP] ) X? ( >=app-eselect/eselect-opengl-1.0.9 @@ -57,11 +56,13 @@ RDEPEND=" acpi? ( sys-power/acpid ) tools? ( !media-video/nvidia-settings ) X? ( - =x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libvdpau-0.3-r1[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] + =x11-libs/libvdpau-0.3-r1 + sys-libs/zlib[$MULTILIB_USEDEP] + multilib? ( + >=x11-libs/libX11-1.6.2[$MULTILIB_USEDEP] + >=x11-libs/libXext-1.3.2[$MULTILIB_USEDEP] + ) ) " @@ -78,13 +79,13 @@ pkg_pretend() { die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}" fi - if use kernel_linux && kernel_is ge 4 4; then + if use kernel_linux && kernel_is ge 4 10; then ewarn "Gentoo supports kernels which are supported by NVIDIA" ewarn "which are limited to the following kernels:" - ewarn "