# 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" else COMMIT="f00237639910eef1a9ee955b3de14d9a8df57908" SRC_URI="https://github.com/dubhater/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" S="${WORKDIR}/D2VWitch-${COMMIT}" fi LICENSE="ISC LGPL-2.1" SLOT="0" IUSE="lto" RDEPEND+=" media-video/ffmpeg " DEPEND="${RDEPEND} dev-qt/qtwidgets media-libs/vapoursynth " DOCS=( "readme.rst" ) src_configure() { local emesonargs=( -Db_lto=$(usex lto true false) ) meson_src_configure }