media-video/nvencc - 9999 (thegreatmcpain)

Search

Install

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

Package Information

Description:
Custom NVENC encoder
Homepage:
https://github.com/rigaya/NVEnc
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

DEPEND

	media-libs/libhdr10plus
	media-libs/libdovi

RDEPEND

	media-libs/libhdr10plus
	media-libs/libdovi