diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-06 04:12:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-06 04:12:55 +0100 |
commit | 38d6f110ff1dfdd7c6f0b0baf0ed8b13191dcde3 (patch) | |
tree | 82f1a2074ab61dae5f1333408972f185457e8f30 /media-video/openshot | |
parent | 0d3219165e816e09207a0e1b5b5c8ad764228615 (diff) |
gentoo auto-resync : 06:07:2023 - 04:12:55
Diffstat (limited to 'media-video/openshot')
-rw-r--r-- | media-video/openshot/Manifest | 2 | ||||
-rw-r--r-- | media-video/openshot/openshot-3.1.1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest index 18fe746f2883..7ead41ec4ddc 100644 --- a/media-video/openshot/Manifest +++ b/media-video/openshot/Manifest @@ -1,3 +1,5 @@ DIST openshot-2.6.1.tar.gz 68566443 BLAKE2B b3a163983bdb811103e5d9307beeb38938719747f743dd58520a0166c08eb11f4592d47bf24224062f9db323a66a2f353eb22f087982b929d60a519cd2c40789 SHA512 9e2d1eae5d72ec2deab914e464dac0d84a864ba2ca63104fad57c90fc907764d5683149fb8136d50030cae993cef9a977e995b0783868988de4668e71a3a5ee2 +DIST openshot-3.1.1.tar.gz 95843738 BLAKE2B 4059fe12b064692070278366f787789866dcbe39414d10217fb62b671dda98ebb6d2f76b8e1cfe2284a647e3d7ebc460b620ba0756a4542f5b26e7ef669e9b3e SHA512 4e5a42825abf8e3862957039169905a6f03872d81de454f52a57ace2e636e91b2f4e87ae603bf9669baa7d1bbbd6c0213efd0c72e23f2b209ba266af2fbe380f EBUILD openshot-2.6.1.ebuild 1370 BLAKE2B 26f1367c92a368a07aa14d540c7e9233cfa165e385585e6972b6cfacd120fc71c723d237841bcefd4a8ea899f8d79bb23afd80cd1311a9ffd4855b4025da606d SHA512 2e15da0888571917d60f06623300cc38388d6ca0cc8295f6cef3a3aff7c566d74901d1f6303635c17e62351eca2af41c7a4fa264a7a8b6eba037e5885d1236ab +EBUILD openshot-3.1.1.ebuild 1371 BLAKE2B d3adcc198057fa450ecd5446445beac96deca3ca7c85398b6fe0c32eb150b6ce68cd8f0b3d3944e88ab64724a33d4dc70b33bd167430dd2c07eb1ac92e94437a SHA512 50033f9f864facd13e08899bbd613472d3b22f53f91f6822a3a0bf20c0f7ea52e0af93f2f1276d4cbbcb804506e8ec3780dd129f500e210d08d03546a26978ec MISC metadata.xml 521 BLAKE2B 0594441c26e88ba0aa7ea85be94580dd73588711f4a9c529ab7525b7535a3753579f7ab17d71a9ee4d801b269eeb214a4a5886a9bf2c89752ea6d9540a191294 SHA512 1028c0ac29289a8507d9e23e963c4f3341fdc59d36d06780f6d212f667212509d50781be5544636827af141d8f0d16c45ece1bd8010f37ee6c91464b9dd14687 diff --git a/media-video/openshot/openshot-3.1.1.ebuild b/media-video/openshot/openshot-3.1.1.ebuild new file mode 100644 index 000000000000..ed54b7e4cd36 --- /dev/null +++ b/media-video/openshot/openshot-3.1.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="xml(+)" +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 xdg + +MY_PN="${PN}-qt" + +DESCRIPTION="Award-winning free and open-source video editor" +HOMEPAGE="https://openshot.org/" +SRC_URI="https://github.com/OpenShot/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="GPL-3+" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="$(python_gen_cond_dep ' + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},gui,svg,widgets] + dev-python/PyQtWebEngine[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ') + >=media-libs/libopenshot-0.3.2:0=[python,${PYTHON_SINGLE_USEDEP}]" +DEPEND="" +BDEPEND="$(python_gen_cond_dep ' + doc? ( dev-python/sphinx[${PYTHON_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_test() { + distutils_install_for_testing + "${EPYTHON}" src/tests/query_tests.py -v --platform minimal || die +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +} |