media-video/olive: update dependencies, improve metadata.xml

Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
Alfred Wingate 2020-12-24 04:56:38 +02:00
parent 08c01e7747
commit 04e65e615c
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 26 additions and 20 deletions

View File

@ -5,7 +5,11 @@
<email> parona@protonmail.com </email> <email> parona@protonmail.com </email>
<name> Alfred Wingate </name> <name> Alfred Wingate </name>
</maintainer> </maintainer>
<upstream>
<remote-id type="github">olive-editor/olive</remote-id>
</upstream>
<use> <use>
<flag name="doxygen"> Build and install source code documentation </flag> <flag name="doxygen">Build and install source code documentation</flag>
<flag name="otio">Include dependency to OpenTimelineIO</flag>
</use> </use>
</pkgmetadata> </pkgmetadata>

View File

@ -18,40 +18,36 @@ fi
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="doxygen" IUSE="doxygen otio"
CMAKE_MIN_VERSION=3.13
CMAKE_IN_SOURCE_BUILD=YES
COMMON_DEPEND=" COMMON_DEPEND="
>=dev-qt/qtcore-5.6.0[icu] >=dev-qt/qtcore-5.6.0
>=dev-qt/qtgui-5.6.0[png] >=dev-qt/qtgui-5.6.0
>=dev-qt/qtmultimedia-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 >=media-libs/opencolorio-2.0.0
otio? ( media-video/opentimelineio )
media-libs/openexr media-libs/openexr
>=media-libs/openimageio-1.6.0[gif,ssl,truetype] >=media-libs/openimageio-2.1.12
>=media-video/ffmpeg-3.0.0[bzip2] >=media-video/ffmpeg-3.0.0
virtual/opengl virtual/opengl
" "
DEPEND=" DEPEND="
"${COMMON_DEPEND}" "${COMMON_DEPEND}"
>=dev-qt/qtconcurrent-5.6.0 >=dev-qt/qtconcurrent-5.6.0
dev-qt/linguist-tools dev-qt/linguist-tools
doxygen? ( app-doc/doxygen[dot] ) doxygen? ( app-doc/doxygen[dot] )
" "
RDEPEND=" RDEPEND="
"${COMMON_DEPEND}" "${COMMON_DEPEND}"
dev-qt/qtnetwork[ssl] dev-qt/qtnetwork
media-libs/harfbuzz[graphite]
" "
src_configure() { src_configure() {
local mycmakeargs=( local mycmakeargs=(
# -DUPDATE_TS=
-DBUILD_DOXYGEN="$(usex doxygen)" -DBUILD_DOXYGEN="$(usex doxygen)"
) )
cmake_src_configure cmake_src_configure
@ -64,3 +60,9 @@ src_install() {
fi fi
cmake_src_install cmake_src_install
} }
pkg_postinst() {
elog "Olive crashes at runtime when playing video"
elog "with ~ffmpeg-4.3. The current remedy is to"
elog "use ~ffmpeg-4.2 or ffmpeg-9999 instead."
}