Install this version:
emerge -a =media-video/nvencc-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-video/nvencc-9999
Or alternatively:
emerge --autounmask-write -a =media-video/nvencc-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 cuda meson
DESCRIPTION="Custom NVENC encoder"
HOMEPAGE="https://github.com/rigaya/NVEnc"
#SRC_URI=""
EGIT_REPO_URI="https://github.com/rigaya/NVEnc.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
# TODO
DEPEND="
media-libs/libhdr10plus
media-libs/libdovi
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
eapply_user
cuda_src_prepare
meson_src_prepare
}
src_configure() {
export CUDA_PATH="/opt/cuda"
local emesonargs=(
-Denable_vapoursynth=false
-Denable_avisynth=false
-Dcuda_ccbindir=$(cuda_gccdir)
)
meson_src_configure
}
media-libs/libhdr10plus media-libs/libdovi
media-libs/libhdr10plus media-libs/libdovi