media-plugins/vapoursynth-mlrt-ncnn - 9999 (vapoursynth)

Search

Install

Install this version:

emerge -a =media-plugins/vapoursynth-mlrt-ncnn-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-plugins/vapoursynth-mlrt-ncnn-9999

Or alternatively:

emerge --autounmask-write -a =media-plugins/vapoursynth-mlrt-ncnn-9999

Package Information

Description:
NCNN-based GPU (Vulkan) backend for vs-mlrt
Homepage:
https://github.com/AmusementClub/vs-mlrt#vsncnn-ncnn-based-gpu-vulkan-runtime
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake flag-o-matic git-r3

DESCRIPTION="NCNN-based GPU (Vulkan) backend for vs-mlrt"
HOMEPAGE="https://github.com/AmusementClub/vs-mlrt#vsncnn-ncnn-based-gpu-vulkan-runtime"
EGIT_REPO_URI="https://github.com/AmusementClub/vs-mlrt.git"

if ver_test -eq 9999; then
	KEYWORDS=""
else
	EGIT_COMMIT="v${PV}"
	KEYWORDS="~amd64"
fi

LICENSE="MIT"
SLOT="0"
IUSE=""

RDEPEND+="
	media-libs/vapoursynth
	dev-libs/ncnn
	dev-libs/protobuf:=
	sci-ml/onnx:=
"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${P}/vsncnn"

src_configure() {
	append-cppflags "-DONNX_ML=1"
	append-cppflags "-DONNX_NAMESPACE=onnx"
	local mycmakeargs=(
		-DVAPOURSYNTH_INCLUDE_DIRECTORY="/usr/include/vapoursynth"
	)
	cmake_src_configure
}

src_install() {
	insinto "/usr/$(get_libdir)/vapoursynth"
	doins "${BUILD_DIR}/libvsncnn.so"
}

Inherited Eclasses

Dependencies

DEPEND

	media-libs/vapoursynth
	dev-libs/ncnn
	dev-libs/protobuf:=
	sci-ml/onnx:=

RDEPEND

	media-libs/vapoursynth
	dev-libs/ncnn
	dev-libs/protobuf:=
	sci-ml/onnx:=