# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit flag-o-matic qmake-utils xdg DESCRIPTION="A free, open source, cross-platform video editor" HOMEPAGE="https://www.shotcut.org/ https://github.com/mltframework/shotcut/" SRC_URI="https://github.com/mltframework/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" USE="qt5 ffmpeg frei0r sdl" DEPEND=">=media-libs/mlt-6.18.0" src_prepare() { default sed -i -e '/QT.*private/d' \ src/src.pro || die } src_configure() { append-cxxflags -Wno-deprecated-declarations eqmake5 \ PREFIX="${EPREFIX}/usr" \ SHOTCUT_VERSION="${PV}" } src_install() { emake INSTALL_ROOT="${D}" install einstalldocs }