mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-drivers/nvidia-drivers: Depend on acct-group/video
Package-Manager: Portage-2.3.91, Repoman-2.3.20 Bug: https://bugs.gentoo.org/show_bug.cgi?id=701210 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
|
||||
nvidia-driver portability toolchain-funcs unpacker user udev
|
||||
nvidia-driver portability toolchain-funcs unpacker udev
|
||||
|
||||
NV_URI="https://us.download.nvidia.com/XFree86/"
|
||||
X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}"
|
||||
@@ -31,7 +31,10 @@ SLOT="0/${PV%.*}"
|
||||
|
||||
COMMON="
|
||||
app-eselect/eselect-opencl
|
||||
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
|
||||
kernel_linux? (
|
||||
>=sys-libs/glibc-2.6.1
|
||||
acct-group/video
|
||||
)
|
||||
tools? (
|
||||
>=x11-libs/gtk+-2.4:2
|
||||
dev-libs/atk
|
||||
@@ -435,7 +438,7 @@ pkg_preinst() {
|
||||
if use kernel_linux; then
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local videogroup="$(egetent group video | cut -d ':' -f 3)"
|
||||
local videogroup="$(getent group video | cut -d ':' -f 3)"
|
||||
if [ -z "${videogroup}" ]; then
|
||||
eerror "Failed to determine the video group gid"
|
||||
die "Failed to determine the video group gid"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
|
||||
nvidia-driver portability toolchain-funcs unpacker user udev
|
||||
nvidia-driver portability toolchain-funcs unpacker udev
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Graphics Driver"
|
||||
HOMEPAGE="https://www.nvidia.com/"
|
||||
@@ -39,6 +39,7 @@ REQUIRED_USE="
|
||||
|
||||
COMMON="
|
||||
app-eselect/eselect-opencl
|
||||
driver? ( kernel_linux? ( acct-group/video ) )
|
||||
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
|
||||
tools? (
|
||||
dev-libs/atk
|
||||
@@ -499,7 +500,7 @@ pkg_preinst() {
|
||||
if use driver && use kernel_linux; then
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local videogroup="$(egetent group video | cut -d ':' -f 3)"
|
||||
local videogroup="$(getent group video | cut -d ':' -f 3)"
|
||||
if [ -z "${videogroup}" ]; then
|
||||
eerror "Failed to determine the video group gid"
|
||||
die "Failed to determine the video group gid"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
|
||||
nvidia-driver portability toolchain-funcs unpacker user udev
|
||||
nvidia-driver portability toolchain-funcs unpacker udev
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Graphics Driver"
|
||||
HOMEPAGE="https://www.nvidia.com/"
|
||||
@@ -34,6 +34,7 @@ REQUIRED_USE="
|
||||
|
||||
COMMON="
|
||||
app-eselect/eselect-opencl
|
||||
driver? ( kernel_linux? ( acct-group/video ) )
|
||||
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
|
||||
tools? (
|
||||
dev-libs/atk
|
||||
@@ -493,7 +494,7 @@ pkg_preinst() {
|
||||
if use driver && use kernel_linux; then
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local videogroup="$(egetent group video | cut -d ':' -f 3)"
|
||||
local videogroup="$(getent group video | cut -d ':' -f 3)"
|
||||
if [ -z "${videogroup}" ]; then
|
||||
eerror "Failed to determine the video group gid"
|
||||
die "Failed to determine the video group gid"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
|
||||
nvidia-driver portability toolchain-funcs unpacker user udev
|
||||
nvidia-driver portability toolchain-funcs unpacker udev
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Graphics Driver"
|
||||
HOMEPAGE="https://www.nvidia.com/"
|
||||
@@ -34,6 +34,7 @@ REQUIRED_USE="
|
||||
|
||||
COMMON="
|
||||
app-eselect/eselect-opencl
|
||||
driver? ( kernel_linux? ( acct-group/video ) )
|
||||
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
|
||||
tools? (
|
||||
dev-libs/atk
|
||||
@@ -505,7 +506,7 @@ pkg_preinst() {
|
||||
if use driver && use kernel_linux; then
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local videogroup="$(egetent group video | cut -d ':' -f 3)"
|
||||
local videogroup="$(getent group video | cut -d ':' -f 3)"
|
||||
if [ -z "${videogroup}" ]; then
|
||||
eerror "Failed to determine the video group gid"
|
||||
die "Failed to determine the video group gid"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
|
||||
nvidia-driver portability toolchain-funcs unpacker user udev
|
||||
nvidia-driver portability toolchain-funcs unpacker udev
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Graphics Driver"
|
||||
HOMEPAGE="https://www.nvidia.com/"
|
||||
@@ -34,6 +34,7 @@ REQUIRED_USE="
|
||||
|
||||
COMMON="
|
||||
app-eselect/eselect-opencl
|
||||
driver? ( kernel_linux? ( acct-group/video ) )
|
||||
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
|
||||
tools? (
|
||||
dev-libs/atk
|
||||
@@ -511,7 +512,7 @@ pkg_preinst() {
|
||||
if use driver && use kernel_linux; then
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local videogroup="$(egetent group video | cut -d ':' -f 3)"
|
||||
local videogroup="$(getent group video | cut -d ':' -f 3)"
|
||||
if [ -z "${videogroup}" ]; then
|
||||
eerror "Failed to determine the video group gid"
|
||||
die "Failed to determine the video group gid"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
inherit desktop flag-o-matic linux-info linux-mod multilib-minimal \
|
||||
nvidia-driver portability toolchain-funcs unpacker user udev
|
||||
nvidia-driver portability toolchain-funcs unpacker udev
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Graphics Driver"
|
||||
HOMEPAGE="https://www.nvidia.com/"
|
||||
@@ -34,6 +34,7 @@ REQUIRED_USE="
|
||||
|
||||
COMMON="
|
||||
app-eselect/eselect-opencl
|
||||
driver? ( kernel_linux? ( acct-group/video ) )
|
||||
kernel_linux? ( >=sys-libs/glibc-2.6.1 )
|
||||
tools? (
|
||||
dev-libs/atk
|
||||
@@ -511,7 +512,7 @@ pkg_preinst() {
|
||||
if use driver && use kernel_linux; then
|
||||
linux-mod_pkg_preinst
|
||||
|
||||
local videogroup="$(egetent group video | cut -d ':' -f 3)"
|
||||
local videogroup="$(getent group video | cut -d ':' -f 3)"
|
||||
if [ -z "${videogroup}" ]; then
|
||||
eerror "Failed to determine the video group gid"
|
||||
die "Failed to determine the video group gid"
|
||||
|
||||
Reference in New Issue
Block a user