commit: cbfc5c3d25f7c66c0d75f9a948dab0abe023a14b Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Jan 10 13:00:06 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Jan 10 15:52:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbfc5c3d
media-video/openshot: 2.5.1_p20210103 snapshot bump Bug: https://bugs.gentoo.org/709858 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-video/openshot/Manifest | 1 + .../openshot/openshot-2.5.1_p20210103.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest index 5c3854f61ab..e0202d240b8 100644 --- a/media-video/openshot/Manifest +++ b/media-video/openshot/Manifest @@ -1,3 +1,4 @@ DIST openshot-2.4.4.tar.gz 63065376 BLAKE2B 2ee00f24d699d5935a182c394821f215a27ba2701d493f51299c19cf99452ca4df2e5b86f7a6e5734e6194e39e5b7995eb94be168c0e9f7bc7a3b78206277304 SHA512 efa71f97a83b89e691b7dab09288ba7d3e91eb25119669fa8f6e28becb8d4cb3e60a923f936ee4ff9a593d016fe3a6b0348153cff937ab7d21a5517de5dfa10c DIST openshot-2.5.1.tar.gz 60217543 BLAKE2B 3f195b14a9fb004e845c731be64138c20da84ac0c90db43b547ee9ea059d32f85ada04aa0462b755a7ea5c3d3b30088fab35414147dded55deb9d5eab5926d2d SHA512 8254a45254bbe523b6485b9598022de2c46ec30818e606ac4665790d29486693c4efe9f5bc55ee43d6342de6782cf0090e4bc880e831c08e3b1218bca555af14 DIST openshot-2.5.1_p20201227.tar.gz 64708834 BLAKE2B 7b8742eae1865fe510d1690eb1df907ba4e5079093af075308a17304ea184976df064b6065fab6ef2394efbad2e0042174145ea9cd7213e6d8993bf30a865c81 SHA512 3688bee7a7febfbb12351e0bcceb9831c778bec3ae441cc9b10fc01e695747cf20912ceee54a275a956c443aaf1c4fcb0cd6b54f10474e6e95d025685d0bd4bd +DIST openshot-2.5.1_p20210103.tar.gz 64704590 BLAKE2B 47f2f6543c21250cc3ec0be68f58825698914369c3f63a65705379d61ebd8feb884d3568b622dcd4f619f3bcc6884930ecf6614319000c3c9b06dc730c4717f6 SHA512 295a84e6d0a0e7604bd54f0c215a9bf8ff655bb325c8a80a9f1ab77da0cd63a9622b21e906f6a4208c898084795ccc7d0ad99009a5a57b5c4fb2593abe91117b diff --git a/media-video/openshot/openshot-2.5.1_p20210103.ebuild b/media-video/openshot/openshot-2.5.1_p20210103.ebuild new file mode 100644 index 00000000000..1811844172e --- /dev/null +++ b/media-video/openshot/openshot-2.5.1_p20210103.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_REQ_USE=xml +DISTUTILS_SINGLE_IMPL=1 + +COMMIT=2463d0ee137bfe3cbb097319173898849e26a2ba +MY_PN="${PN}-qt" +inherit distutils-r1 xdg + +DESCRIPTION="Award-winning free and open-source video editor" +HOMEPAGE="https://www.openshot.org/" +SRC_URI="https://github.com/OpenShot/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${COMMIT}" + +LICENSE="GPL-3+" +SLOT="1" +# KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/httplib2[${PYTHON_MULTI_USEDEP}] + dev-python/PyQt5[${PYTHON_MULTI_USEDEP},gui,svg,widgets] + dev-python/PyQtWebEngine[${PYTHON_MULTI_USEDEP}] + dev-python/pyzmq[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + ') + >=media-libs/libopenshot-0.2.5:0=[python,${PYTHON_SINGLE_USEDEP}] +" +BDEPEND=" + $(python_gen_cond_dep ' + doc? ( dev-python/sphinx[${PYTHON_MULTI_USEDEP}] ) + ') +" + +src_prepare() { + distutils-r1_python_prepare_all + # prevent setup.py from trying to update MIME databases + sed -i 's/^ROOT =.*/ROOT = False/' setup.py || die +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +}