forked from calculate/calculate-overlay
parent
3ad84b7a54
commit
cc1ddf5153
@ -1,2 +0,0 @@
|
|||||||
DIST openshot-3.0.0.tar.gz 92552771 BLAKE2B 1e7bd8921a472e4ff62b160d67fcb5a8d8c0e6614a28cce87db5078fae5401c69610bd44801344da55fc4df3c8f973263b75a8567d4372fc350f76dbeec428a1 SHA512 d1115095b34937419d0f08aadacc849768a97ba5d3866a46cb8d416a26ac7fbb754b383c99ea8cb70291bd08cec0343191e71cfdd19c046bbd1a43541fc0673a
|
|
||||||
DIST openshot-3.1.1.tar.gz 95843738 BLAKE2B 4059fe12b064692070278366f787789866dcbe39414d10217fb62b671dda98ebb6d2f76b8e1cfe2284a647e3d7ebc460b620ba0756a4542f5b26e7ef669e9b3e SHA512 4e5a42825abf8e3862957039169905a6f03872d81de454f52a57ace2e636e91b2f4e87ae603bf9669baa7d1bbbd6c0213efd0c72e23f2b209ba266af2fbe380f
|
|
@ -1,31 +0,0 @@
|
|||||||
diff --git a/setup.py b/setup.py
|
|
||||||
index ee7a13f..549ecbd 100644
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -29,7 +29,7 @@ import os
|
|
||||||
import sys
|
|
||||||
import fnmatch
|
|
||||||
import subprocess
|
|
||||||
-from setuptools import setup
|
|
||||||
+from setuptools import setup, find_namespace_packages
|
|
||||||
from shutil import copytree, rmtree, copy
|
|
||||||
|
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@
|
|
||||||
log.info("Execution path: %s" % os.path.abspath(__file__))
|
|
||||||
|
|
||||||
# Boolean: running as root?
|
|
||||||
-ROOT = os.geteuid() == 0
|
|
||||||
+ROOT = False
|
|
||||||
# For Debian packaging it could be a fakeroot so reset flag to prevent execution of
|
|
||||||
# system update services for Mime and Desktop registrations.
|
|
||||||
# The debian/openshot.postinst script must do those.
|
|
||||||
@@ -105,7 +105,7 @@ package_data["openshot_qt"] = src_files
|
|
||||||
# Call the main Distutils setup command
|
|
||||||
# -------------------------------------
|
|
||||||
dist = setup(
|
|
||||||
- packages=[('openshot_qt')],
|
|
||||||
+ packages=find_namespace_packages(include=[('openshot_qt*')]),
|
|
||||||
package_data=package_data,
|
|
||||||
data_files=os_files,
|
|
||||||
include_package_data=True,
|
|
@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>steils@gentoo.org</email>
|
|
||||||
<name>Stefan Strogin</name>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>media-video@gentoo.org</email>
|
|
||||||
<name>Gentoo Video project</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">OpenShot/openshot-qt</remote-id>
|
|
||||||
<bugs-to>https://github.com/OpenShot/openshot-qt/issues</bugs-to>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
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.0: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_install_all() {
|
|
||||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
"${EPYTHON}" src/tests/query_tests.py -v --platform minimal || die
|
|
||||||
}
|
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_SINGLE_IMPL=1
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{10..11} )
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
dev-python/httplib2[${PYTHON_SINGLE_USEDEP}]
|
|
||||||
dev-python/PyQt5[${PYTHON_SINGLE_USEDEP},gui,svg,widgets]
|
|
||||||
dev-python/PyQtWebEngine[${PYTHON_SINGLE_USEDEP}]
|
|
||||||
dev-python/pyzmq[${PYTHON_SINGLE_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_SINGLE_USEDEP}]
|
|
||||||
>=media-libs/libopenshot-0.3.2:0=[python,${PYTHON_SINGLE_USEDEP}]"
|
|
||||||
DEPEND=""
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
')"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${P}-fix-pybuild.patch" )
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
cd "${BUILD_DIR}/install$(python_get_sitedir)/${PN}_qt/" || die
|
|
||||||
"${EPYTHON}" tests/query_tests.py -v --platform minimal || die
|
|
||||||
}
|
|
Loading…
Reference in new issue