src_prepare-overlay/media-video/olive/olive-9999.ebuild

67 lines
1.2 KiB
Bash
Raw Permalink Normal View History

2020-05-11 12:07:32 +02:00
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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
LICENSE="GPL-3"
SLOT="0"
IUSE="doxygen"
CMAKE_MIN_VERSION=3.13
CMAKE_IN_SOURCE_BUILD=YES
COMMON_DEPEND="
>=dev-qt/qtcore-5.6.0[icu]
>=dev-qt/qtgui-5.6.0[png]
>=dev-qt/qtmultimedia-5.6.0
>=dev-qt/qtopengl-5.6.0
>=dev-qt/qtsvg-5.6.0
>=dev-qt/qtwidgets-5.6.0
media-libs/opencolorio
media-libs/openexr
>=media-libs/openimageio-1.6.0[gif,ssl,truetype]
>=media-video/ffmpeg-3.0.0[bzip2]
virtual/opengl
"
DEPEND="
"${COMMON_DEPEND}"
2020-09-07 00:59:20 +02:00
>=dev-qt/qtconcurrent-5.6.0
2020-05-11 12:07:32 +02:00
dev-qt/linguist-tools
doxygen? ( app-doc/doxygen[dot] )
"
RDEPEND="
"${COMMON_DEPEND}"
dev-qt/qtnetwork[ssl]
media-libs/harfbuzz[graphite]
"
src_configure() {
local mycmakeargs=(
-DBUILD_DOXYGEN="$(usex doxygen)"
)
2020-06-11 16:35:57 +02:00
cmake_src_configure
2020-05-11 12:07:32 +02:00
}
src_install() {
if use doxygen; then
docinto html
dodoc -r docs/html/.
fi
2020-06-11 16:35:57 +02:00
cmake_src_install
2020-05-11 12:07:32 +02:00
}