mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sys-process/nvtop: add VIDEO_CARDS=panthor
nvtop lacks of optional libdrm dependency for Mali GPUs In other words, emerging with VIDEO_CARDS='-* intel' without libdrm on system fails Closes: https://github.com/gentoo/gentoo/pull/40416 Signed-off-by: Michael Zavertkin <misha.zavertkin@mail.ru> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
9a146a6004
commit
acda128694
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors.
|
||||
# Copyright 1999-2025 Gentoo Authors.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# This file contains descriptions of VIDEO_CARDS USE_EXPAND flags.
|
||||
@@ -25,6 +25,7 @@ nvk - VIDEO_CARDS setting to build nouveau vulkan driver for nvidia cards (Turin
|
||||
omap - VIDEO_CARDS setting to build DRM driver for TI OMAP video cards
|
||||
qxl - VIDEO_CARDS setting to build driver for qxl (QEMU virtual GPU)
|
||||
panfrost - VIDEO_CARDS setting to build driver for Mali 600/700/800 video cards
|
||||
panthor - VIDEO_CARDS setting to support for Mali 10th video cards
|
||||
r100 - VIDEO_CARDS setting to build only r100 based chips code for radeon
|
||||
r128 - VIDEO_CARDS setting to build driver for ATI r128 video cards
|
||||
r200 - VIDEO_CARDS setting to build only r200 based chips code for radeon
|
||||
|
||||
@@ -19,13 +19,15 @@ fi
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="unicode video_cards_intel video_cards_amdgpu video_cards_nvidia video_cards_freedreno"
|
||||
IUSE="unicode video_cards_intel video_cards_amdgpu video_cards_nvidia video_cards_freedreno video_cards_panfrost video_cards_panthor"
|
||||
|
||||
RDEPEND="
|
||||
video_cards_intel? ( virtual/udev )
|
||||
video_cards_amdgpu? ( x11-libs/libdrm[video_cards_amdgpu] )
|
||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||
video_cards_freedreno? ( x11-libs/libdrm[video_cards_freedreno] )
|
||||
video_cards_panfrost? ( x11-libs/libdrm )
|
||||
video_cards_panthor? ( x11-libs/libdrm )
|
||||
sys-libs/ncurses[unicode(+)?]
|
||||
"
|
||||
|
||||
@@ -46,6 +48,8 @@ src_configure() {
|
||||
-DNVIDIA_SUPPORT=$(usex video_cards_nvidia)
|
||||
-DAMDGPU_SUPPORT=$(usex video_cards_amdgpu)
|
||||
-DMSM_SUPPORT=$(usex video_cards_freedreno)
|
||||
-DPANFROST_SUPPORT=$(usex video_cards_panfrost)
|
||||
-DPANTHOR_SUPPORT=$(usex video_cards_panthor)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -19,13 +19,15 @@ fi
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="unicode video_cards_intel video_cards_amdgpu video_cards_nvidia video_cards_freedreno"
|
||||
IUSE="unicode video_cards_intel video_cards_amdgpu video_cards_nvidia video_cards_freedreno video_cards_panfrost video_cards_panthor"
|
||||
|
||||
RDEPEND="
|
||||
video_cards_intel? ( virtual/udev )
|
||||
video_cards_amdgpu? ( x11-libs/libdrm[video_cards_amdgpu] )
|
||||
video_cards_nvidia? ( x11-drivers/nvidia-drivers )
|
||||
video_cards_freedreno? ( x11-libs/libdrm[video_cards_freedreno] )
|
||||
video_cards_panfrost? ( x11-libs/libdrm )
|
||||
video_cards_panthor? ( x11-libs/libdrm )
|
||||
sys-libs/ncurses[unicode(+)?]
|
||||
"
|
||||
|
||||
@@ -42,6 +44,8 @@ src_configure() {
|
||||
-DNVIDIA_SUPPORT=$(usex video_cards_nvidia)
|
||||
-DAMDGPU_SUPPORT=$(usex video_cards_amdgpu)
|
||||
-DMSM_SUPPORT=$(usex video_cards_freedreno)
|
||||
-DPANFROST_SUPPORT=$(usex video_cards_panfrost)
|
||||
-DPANTHOR_SUPPORT=$(usex video_cards_panthor)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
Reference in New Issue
Block a user