summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-03-13 12:43:47 +0100
committerDavid Seifert <soap@gentoo.org>2022-03-13 12:43:47 +0100
commitdf51c2489170eb8e446fa09d14a7a76e8e4cdfe6 (patch)
treef93aa876f4bf25915bf125dfa2fd03c98f54dbd0 /profiles
parentdev-libs/teakra: fix tests (diff)
downloadgentoo-df51c2489170eb8e446fa09d14a7a76e8e4cdfe6.tar.gz
gentoo-df51c2489170eb8e446fa09d14a7a76e8e4cdfe6.tar.bz2
gentoo-df51c2489170eb8e446fa09d14a7a76e8e4cdfe6.zip
profiles: global USE=nvenc
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/amd64/use.mask9
-rw-r--r--profiles/arch/arm64/use.mask4
-rw-r--r--profiles/arch/arm64/use.stable.mask1
-rw-r--r--profiles/arch/base/use.mask3
-rw-r--r--profiles/arch/hppa/use.mask4
-rw-r--r--profiles/arch/powerpc/package.use.mask4
-rw-r--r--profiles/arch/x86/package.use.mask4
-rw-r--r--profiles/use.desc1
8 files changed, 13 insertions, 17 deletions
diff --git a/profiles/arch/amd64/use.mask b/profiles/arch/amd64/use.mask
index b7c2e5f118cb..6040e0cc0374 100644
--- a/profiles/arch/amd64/use.mask
+++ b/profiles/arch/amd64/use.mask
@@ -4,6 +4,11 @@
# Unmask the flag which corresponds to ARCH.
-amd64
+# David Seifert <soap@gentoo.org> (2022-03-13)
+# Cuda/NVENC works here
+-cuda
+-nvenc
+
# Michał Górny <mgorny@gentoo.org> (2021-01-07)
# Prebuilt kernels are supported here.
-dist-kernel
@@ -37,10 +42,6 @@
# sys-libs/libapparmor
-apparmor
-# Alexey Shvetsov <alexxy@gentoo.org> (2014-04-08)
-# Cuda works here
--cuda
-
# Michał Górny <mgorny@gentoo.org> (2014-03-30)
# PyPy is keyworded on this arch.
-python_targets_pypy3
diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask
index ae519f40b31a..b1e7a59e550f 100644
--- a/profiles/arch/arm64/use.mask
+++ b/profiles/arch/arm64/use.mask
@@ -4,6 +4,10 @@
# Unmask the flag which corresponds to ARCH.
-arm64
+# David Seifert <soap@gentoo.org> (2022-03-13)
+# NVENC works here
+-nvenc
+
# Ionen Wolkens <ionen@gentoo.org> (2022-02-17)
# x11-drivers/nvidia-drivers' binary blob works here
-video_cards_nvidia
diff --git a/profiles/arch/arm64/use.stable.mask b/profiles/arch/arm64/use.stable.mask
index 4d5c38a1df40..1c9855b1282b 100644
--- a/profiles/arch/arm64/use.stable.mask
+++ b/profiles/arch/arm64/use.stable.mask
@@ -7,6 +7,7 @@
# Ionen Wolkens <ionen@gentoo.org> (2022-02-17)
# x11-drivers/nvidia-drivers is not stable yet
video_cards_nvidia
+nvenc
# Sam James <sam@gentoo.org> (2020-12-23)
# dev-lang/luajit is not yet stable
diff --git a/profiles/arch/base/use.mask b/profiles/arch/base/use.mask
index b401aee243d9..f48dbf90f5d6 100644
--- a/profiles/arch/base/use.mask
+++ b/profiles/arch/base/use.mask
@@ -27,8 +27,9 @@ oci8
# cilk has been ported only to x86 systems
cilk
-# cuda only works on amd64/x86
+# cuda/NVENC only works on amd64/arm64
cuda
+nvenc
# masking here, and unmasking in arch/x86/use.mask
vidix
diff --git a/profiles/arch/hppa/use.mask b/profiles/arch/hppa/use.mask
index b1b7a4ec5a06..98774ff4b52d 100644
--- a/profiles/arch/hppa/use.mask
+++ b/profiles/arch/hppa/use.mask
@@ -147,10 +147,6 @@ prelude
# Lots of untested dependencies (bug #365451)
facedetect
-# Jeroen Roovers <jer@gentoo.org> (2011-05-02)
-# No support for CUDA on HPPA
-cuda
-
# Samuli Suominen <ssuominen@gentoo.org> (2010-12-25)
# This will need stable gnome-base/gvfs.
thunar
diff --git a/profiles/arch/powerpc/package.use.mask b/profiles/arch/powerpc/package.use.mask
index 3a8eb1ccdb67..b21c72c893ab 100644
--- a/profiles/arch/powerpc/package.use.mask
+++ b/profiles/arch/powerpc/package.use.mask
@@ -343,10 +343,6 @@ sys-cluster/openmpi openmpi_fabrics_knem openmpi_fabrics_ofed openmpi_rm_slurm o
# missing keywords on dependencies
media-video/x264-encoder ffmpegsource
-# Kacper Kowalik <xarthisius@gentoo.org> (2011-08-10)
-# mask cuda dep for opencv bug 365451
-media-libs/opencv cuda
-
# Doug Goldstein <cardoe@gentoo.org> (2011-05-27)
# app-emulation/spice, app-emulation/xen, and sys-cluster/ceph
# are not keyworded. bug #368959
diff --git a/profiles/arch/x86/package.use.mask b/profiles/arch/x86/package.use.mask
index 48bd1a8ecb14..6f7ece453197 100644
--- a/profiles/arch/x86/package.use.mask
+++ b/profiles/arch/x86/package.use.mask
@@ -111,10 +111,6 @@ media-video/ffmpeg -rav1e
# Mask io-uring & zbc pending keywording
sys-block/fio -io-uring -zbc
-# Thomas Deutschmann <whissi@gentoo.org> (2020-06-20)
-# media-libs/nv-codec-headers is not available for x86
->=media-video/ffmpeg-4.3 video_cards_nvidia
-
# Marek Szuba <marecki@gentoo.org> (2020-06-17)
# Unmask globally-masked flashrom drivers and tools which do work on x86
sys-apps/flashrom -atahpt -atapromise -atavia -drkaiser -gfxnvidia -internal -it8212 -nic3com -nicintel -nicintel-eeprom -nicintel-spi -nicnatsemi -nicrealtek -ogp-spi -rayer-spi -satamv -satasii -tools
diff --git a/profiles/use.desc b/profiles/use.desc
index be834345d391..a3b6b0d0f339 100644
--- a/profiles/use.desc
+++ b/profiles/use.desc
@@ -217,6 +217,7 @@ nls - Add Native Language Support (using gettext - GNU locale utilities)
nntp - Add support for newsgroups (Network News Transfer Protocol)
nocd - Install all files required to run the application without a CD mounted
nsplugin - Build plugin for browsers supporting the Netscape plugin architecture (that is almost any modern browser)
+nvenc - Add support for NVIDIA Encoder/Decoder (NVENC/NVDEC) API for hardware accelerated encoding and decoding on NVIDIA cards (requires x11-drivers/nvidia-drivers)
ocaml - Add support/bindings for the Ocaml language
ocamlopt - Enable ocamlopt support (ocaml native code compiler) -- Produces faster programs (Warning: you have to disable/enable it at a global scale)
oci8 - Add Oracle 8 Database Support