Install this version:
emerge -a =media-plugins/vapoursynth-vmaf-10-r2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-plugins/vapoursynth-vmaf-10-r2
Or alternatively:
emerge --autounmask-write -a =media-plugins/vapoursynth-vmaf-10-r2
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..15} )
inherit meson python-single-r1
DESCRIPTION="VMAF is a perceptual video quality assessment algorithm developed by Netflix."
HOMEPAGE="https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF.git"
KEYWORDS=""
else
inherit vcs-snapshot
SRC_URI="https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF/archive/r${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
RESTRICT="mirror"
SLOT="0"
IUSE="lto"
RDEPEND+="
>=media-libs/vapoursynth-76[${PYTHON_SINGLE_USEDEP}]
media-libs/libvmaf
"
DEPEND="${RDEPEND}
"
DOCS=( "README.md" )
src_prepare() {
default
local install_path="$(vapoursynth get-plugin-dir)"
sed -i "s|install_dir = vapoursynth_dep.get_variable(pkgconfig: 'libdir') / 'vapoursynth'|install_dir = '${install_path}'|" meson.build || die
}
src_configure() {
local emesonargs=(
-Db_lto=$(usex lto true false)
)
meson_src_configure
}
Manage flags for this package:
euse -i <flag> -p media-plugins/vapoursynth-vmaf |
euse -E <flag> -p media-plugins/vapoursynth-vmaf |
euse -D <flag> -p media-plugins/vapoursynth-vmaf
>=media-libs/vapoursynth-76[] media-libs/libvmaf
>=media-libs/vapoursynth-76[] media-libs/libvmaf