Compare commits

..

No commits in common. "c353ee9ecf86e33cfaf950ffdad24c9333e1714f" and "ec5eea639ea6435aee7ebdda3bf8d57bf898020c" have entirely different histories.

2 changed files with 21 additions and 17 deletions

View File

@ -8,4 +8,7 @@
<upstream> <upstream>
<remote-id type="github">olive-editor/olive</remote-id> <remote-id type="github">olive-editor/olive</remote-id>
</upstream> </upstream>
<use>
<flag name="doxygen">Build and install source code documentation</flag>
</use>
</pkgmetadata> </pkgmetadata>

View File

@ -1,7 +1,7 @@
# Copyright 2020-2021 Gentoo Authors # Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=7
inherit xdg cmake inherit xdg cmake
@ -16,46 +16,47 @@ else
KEYWORDS="~amd64" KEYWORDS="~amd64"
fi fi
RESTRICT="!test? ( test )"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="doc test" IUSE="doxygen"
#media-video/opentimelineio : The CMakeFile tries to find it, but doesnt do anything yet. COMMON_DEPEND="
DEPEND="
>=dev-qt/qtconcurrent-5.6.0
>=dev-qt/qtcore-5.6.0 >=dev-qt/qtcore-5.6.0
>=dev-qt/qtgui-5.6.0 >=dev-qt/qtgui-5.6.0
>=dev-qt/qtmultimedia-5.6.0
>=dev-qt/qtopengl-5.6.0 >=dev-qt/qtopengl-5.6.0
>=dev-qt/qtsvg-5.6.0 >=dev-qt/qtsvg-5.6.0
>=dev-qt/qtwidgets-5.6.0 >=dev-qt/qtwidgets-5.6.0
>=media-libs/opencolorio-2.0.0 >=media-libs/opencolorio-2.0.0
media-libs/openexr:* media-libs/openexr
>=media-libs/openimageio-2.1.12 >=media-libs/openimageio-2.1.12
media-libs/portaudio
>=media-video/ffmpeg-3.0.0 >=media-video/ffmpeg-3.0.0
virtual/opengl virtual/opengl
" "
RDEPEND="${DEPEND}" #media-video/opentimelineio : The CMakeFile tries to find it, but doesnt do anything yet.
BDEPEND="
DEPEND="
"${COMMON_DEPEND}"
>=dev-qt/qtconcurrent-5.6.0
dev-qt/linguist-tools dev-qt/linguist-tools
doc? ( doxygen? ( app-doc/doxygen[dot] )
app-doc/doxygen[dot] "
) RDEPEND="
"${COMMON_DEPEND}"
dev-qt/qtnetwork
" "
src_configure() { src_configure() {
local mycmakeargs=( local mycmakeargs=(
-DBUILD_DOXYGEN="$(usex doc)" # -DUPDATE_TS=
-DBUILD_TESTS="$(usex test)" -DBUILD_DOXYGEN="$(usex doxygen)"
) )
cmake_src_configure cmake_src_configure
} }
src_install() { src_install() {
cmake_src_install cmake_src_install
if use doc; then if use doxygen; then
docinto html docinto html
dodoc -r "${BUILD_DIR}"/docs/html/* dodoc -r "${BUILD_DIR}"/docs/html/*
fi fi