media-video/olive: new package, add 9999

Signed-off-by: Remigiusz Micielski <remigiusz.micielski@gmail.com>
This commit is contained in:
Remigiusz Micielski 2023-01-06 17:29:55 +01:00
parent 96e35d0eee
commit 4d96e2a24d
No known key found for this signature in database
GPG Key ID: 87B4745C8C6BFE18
2 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>remigiusz.micielski@gmail.com</email>
<name>Remigiusz Micielski</name>
<description>Primary maintainer</description>
</maintainer>
<longdescription lang="en">
Olive is a non-linear video editor aiming to provide powerful and advanced video editing capabilities with a user-friendly interface and the freedom of open source.
</longdescription>
<upstream>
<remote-id type="github">olive-editor/olive</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,62 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg-utils
DESCRIPTION="Free open-source non-linear video editor"
HOMEPAGE="https://olivevideoeditor.org https://github.com/olive-editor/olive"
LICENSE="GPL-3"
SLOT="0"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/olive-editor/olive.git"
else
COMMIT="af76fbf0e189b73663fe2b5d20007fe7c69b6081"
VERSION_REV="af76fbf"
SRC_URI="https://github.com/olive-editor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
IDEPEND="dev-util/desktop-file-utils"
RDEPEND="
>=dev-qt/linguist-tools-5.0.0
>=dev-qt/qtconcurrent-5.0.0
>=dev-qt/qtdbus-5.0.0
>=dev-qt/qtnetwork-5.0.0
>=dev-qt/qtopengl-5.0.0
>=dev-qt/qtcore-5.0.0
>=media-libs/opencolorio-2.1.1
>=media-libs/openimageio-2.1.12
>=media-video/ffmpeg-3.0.0
media-libs/openexr
media-libs/portaudio
virtual/opengl"
DEPEND="${RDEPEND}"
BDEPEND=">=dev-util/cmake-3.13.0"
DOCS=( README.md )
src_prepare() {
cmake_src_prepare
}
src_compile() {
cmake_src_compile
}
src_install() {
cmake_src_install
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}