# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{13..15} ) inherit python-single-r1 DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access" HOMEPAGE="https://github.com/FFMS/ffms2" if [[ ${PV} == *9999* ]]; then KEYWORDS="" else KEYWORDS="~amd64 ~x86" fi LICENSE="MIT" SLOT="0" RDEPEND=" ~media-libs/ffmpegsource-${PV} >=media-libs/vapoursynth-76[${PYTHON_SINGLE_USEDEP}] " DEPEND="${RDEPEND} " S="${WORKDIR}" src_install() { dosym "${EPREFIX}/usr/$(get_libdir)/libffms2.so.5.0.0" "$(vapoursynth get-plugin-dir)/libffms2.so" || die }