media-plugins/vs-dfttest2 - 9999 (vapoursynth)

Search

Install

Install this version:

emerge -a =media-plugins/vs-dfttest2-9999

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

autounmask =media-plugins/vs-dfttest2-9999

Or alternatively:

emerge --autounmask-write -a =media-plugins/vs-dfttest2-9999

Package Information

Description:
DFTTest re-implemetation (CUDA and x86)
Homepage:
https://github.com/AmusementClub/vs-dfttest2
License:
GPL-3

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

PYTHON_COMPAT=( python3_{11..14} )
EGIT_SUBMODULES=( '*' )

inherit python-single-r1 cmake git-r3

DESCRIPTION="DFTTest re-implemetation (CUDA and x86)"
HOMEPAGE="https://github.com/AmusementClub/vs-dfttest2"

EGIT_REPO_URI="https://github.com/AmusementClub/vs-dfttest2.git"

if [[ ${PV} == *9999* ]]; then
	KEYWORDS=""
else
	EGIT_COMMIT="refs/tags/v${PV}"
	KEYWORDS="~amd64"
fi

LICENSE="GPL-3"
SLOT="0"
IUSE=""
RESTRICT="mirror"

RDEPEND+="
	>=media-libs/vapoursynth-76[${PYTHON_SINGLE_USEDEP},legacy]
"
DEPEND="${RDEPEND}
"

DOCS=( "README.md" )

src_configure() {
	local mycmakeargs=(
		-DENABLE_CUDA=OFF
		-DENABLE_CPU=ON
		-DENABLE_GCC=OFF
		-DENABLE_HIP=OFF
	)
	cmake_src_configure
}

src_install() {
	insinto "$(vapoursynth get-plugin-dir)"
	doins "${BUILD_DIR}/cpu_source/libdfttest2_cpu.so"
}

Inherited Eclasses

Dependencies

DEPEND

	>=media-libs/vapoursynth-76[,legacy]

RDEPEND

	>=media-libs/vapoursynth-76[,legacy]