| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 16 | 8 | ~x86 ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson git-r3
DESCRIPTION="Sample/frame accurate access to audio and video source plugin for VaporSynth"
HOMEPAGE="https://github.com/vapoursynth/bestsource"
EGIT_REPO_URI="https://github.com/vapoursynth/bestsource.git"
if [[ ${PV} == *9999* ]]; then
KEYWORDS=""
else
EGIT_COMMIT="refs/tags/R${PV}"
KEYWORDS="~x86 ~amd64"
fi
LICENSE="MIT"
SLOT="0"
IUSE="lto"
RESTRICT="mirror"
RDEPEND+="
dev-libs/jansson
dev-libs/xxhash
media-libs/vapoursynth:0/4
>=media-video/ffmpeg-7.1
"
DEPEND="${RDEPEND}
"
src_configure() {
local emesonargs=(
-Db_lto=$(usex lto true false)
)
meson_src_configure
}
dev-libs/jansson dev-libs/xxhash media-libs/vapoursynth:0/4 >=media-video/ffmpeg-7.1
dev-libs/jansson dev-libs/xxhash media-libs/vapoursynth:0/4 >=media-video/ffmpeg-7.1