# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson DESCRIPTION="Cross-platform D2V creator" HOMEPAGE="https://github.com/dubhater/D2VWitch" if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/dubhater/${PN}.git" EGIT_SUBMODULES=() KEYWORDS="" else inherit vcs-snapshot SRC_URI="https://github.com/dubhater/${PN}/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz" KEYWORDS="~amd64 ~x86" fi LICENSE="ISC LGPL-2.1" SLOT="0" IUSE="lto" RDEPEND+=" >=media-video/ffmpeg-6.0 " DEPEND="${RDEPEND} dev-qt/qtwidgets media-libs/vapoursynth " DOCS=( "readme.rst" ) src_configure() { local emesonargs=( -Db_lto=$(usex lto true false) ) meson_src_configure }