Skip to content

Instantly share code, notes, and snippets.

@PhobosK
Created February 19, 2019 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhobosK/fe4333942088f9ed35f3468077538fca to your computer and use it in GitHub Desktop.
Save PhobosK/fe4333942088f9ed35f3468077538fca to your computer and use it in GitHub Desktop.
A basic, quick and dirty live ebuild for media-libs/webvfx ( https://github.com/mltframework/webvfx )
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit qmake-utils xdg
DESCRIPTION="Video effects library based on web technologies"
HOMEPAGE="https://www.shotcut.org/ https://github.com/mltframework/webvfx/"
if [[ ${PV} == *9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mltframework/${PN}.git"
else
SRC_URI="https://github.com/mltframework/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
KEYWORDS="~amd64 ~x86"
LICENSE="BSD-3"
SLOT="0"
IUSE=""
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtdeclarative:5
dev-qt/qtgraphicaleffects:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5
dev-qt/qtopengl:5
dev-qt/qtquickcontrols:5[widgets]
dev-qt/qtwebkit:5
dev-qt/qtwebsockets:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
dev-qt/qt3d:5
>=media-libs/mlt-6.10.0-r1[ffmpeg,frei0r,qt5,sdl,xml]
"
DEPEND="${RDEPEND}"
src_configure() {
eqmake5 PREFIX="${EPREFIX}/usr"
}
src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment