2021-01-03 21:18:19 +01:00
|
|
|
# Copyright 2020-2021 Gentoo Authors
|
2020-05-11 12:07:32 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-11-03 19:43:10 +01:00
|
|
|
EAPI=8
|
2020-05-11 12:07:32 +02:00
|
|
|
|
2020-09-22 02:29:31 +02:00
|
|
|
inherit xdg cmake
|
2020-05-11 12:07:32 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Professional open-source non-linear video editor"
|
|
|
|
HOMEPAGE="https://github.com/olive-editor/olive"
|
|
|
|
|
|
|
|
if [[ ${PV} == *9999 ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/olive-editor/olive.git"
|
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/olive-editor/olive/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
2021-11-03 19:43:10 +01:00
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
2020-05-11 12:07:32 +02:00
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2021-11-03 19:43:10 +01:00
|
|
|
IUSE="doc test"
|
2020-05-11 12:07:32 +02:00
|
|
|
|
2021-11-03 19:43:10 +01:00
|
|
|
#media-video/opentimelineio : The CMakeFile tries to find it, but doesnt do anything yet.
|
|
|
|
DEPEND="
|
|
|
|
>=dev-qt/qtconcurrent-5.6.0
|
2020-12-24 03:56:38 +01:00
|
|
|
>=dev-qt/qtcore-5.6.0
|
|
|
|
>=dev-qt/qtgui-5.6.0
|
2020-05-11 12:07:32 +02:00
|
|
|
>=dev-qt/qtopengl-5.6.0
|
|
|
|
>=dev-qt/qtsvg-5.6.0
|
|
|
|
>=dev-qt/qtwidgets-5.6.0
|
2021-03-21 19:19:16 +01:00
|
|
|
>=media-libs/opencolorio-2.0.0
|
2021-11-03 19:43:10 +01:00
|
|
|
media-libs/openexr:*
|
2020-12-24 03:56:38 +01:00
|
|
|
>=media-libs/openimageio-2.1.12
|
2021-11-03 19:43:10 +01:00
|
|
|
media-libs/portaudio
|
2020-12-24 03:56:38 +01:00
|
|
|
>=media-video/ffmpeg-3.0.0
|
2020-05-11 12:07:32 +02:00
|
|
|
virtual/opengl
|
|
|
|
"
|
2021-11-03 19:43:10 +01:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND="
|
2020-05-11 12:07:32 +02:00
|
|
|
dev-qt/linguist-tools
|
2021-11-03 19:43:10 +01:00
|
|
|
doc? (
|
|
|
|
app-doc/doxygen[dot]
|
|
|
|
)
|
2020-05-11 12:07:32 +02:00
|
|
|
"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
2021-11-03 19:43:10 +01:00
|
|
|
-DBUILD_DOXYGEN="$(usex doc)"
|
|
|
|
-DBUILD_TESTS="$(usex test)"
|
2020-05-11 12:07:32 +02:00
|
|
|
)
|
2020-06-11 16:35:57 +02:00
|
|
|
cmake_src_configure
|
2020-05-11 12:07:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2021-06-01 11:40:45 +02:00
|
|
|
cmake_src_install
|
2021-11-03 19:43:10 +01:00
|
|
|
if use doc; then
|
2020-05-11 12:07:32 +02:00
|
|
|
docinto html
|
2021-06-01 11:40:45 +02:00
|
|
|
dodoc -r "${BUILD_DIR}"/docs/html/*
|
2020-05-11 12:07:32 +02:00
|
|
|
fi
|
|
|
|
}
|