media-video/openshot, media-libs/libopenshot, media-libs/libopenshot-audio: Version bump

master 3124
parent 62b682462e
commit 0a1d468bfe

@ -0,0 +1 @@
DIST libopenshot-audio-0.3.0.tar.gz 1772242 BLAKE2B a5cc1eba31ebc9750d69046d0a8963a5b4af5615bf57ca3ecb9989fc0c67ffd525b19162958aaab14d51d0d29ce9643da86f8bd1afd8de8e0483bfe11663c893 SHA512 75f4f4170f8e4f442a31834e65b9ab56bfb2e034d81e0015add5d79c9ccaa3dd2806ae78b1ca97fab20eefa4c37990609755d0c07c306ca19f9cdca3884f0163

@ -0,0 +1,24 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Library for audio editing and playback used by OpenShot"
HOMEPAGE="https://www.openshot.org/"
SRC_URI="https://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0/8"
KEYWORDS="amd64 x86"
RDEPEND="media-libs/alsa-lib
media-libs/freetype
sys-libs/zlib
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXinerama
x11-libs/libXrandr"
DEPEND="${RDEPEND}"

@ -0,0 +1,16 @@
<?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/libopenshot-audio</remote-id>
<bugs-to>https://github.com/OpenShot/libopenshot-audio/issues</bugs-to>
</upstream>
</pkgmetadata>

@ -0,0 +1 @@
DIST libopenshot-0.3.0.tar.gz 26122831 BLAKE2B 65cadf634b6b7c6da35af64ba96c92fa32ee075966ba3d7f1711210dc784f7e263b01eecdc0c613e529cc501072b8b4a0ee6b297df62fa323ed1fddfc844f874 SHA512 5c72db9c39d2afaecb1c4ebf3192cd8795d4683f2b1210029b99657baf853515b92f392c25b65ea652a71d204a1b172123d264c95f1c3676a612e21f9ca38d2e

@ -0,0 +1,92 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake python-single-r1 toolchain-funcs
DESCRIPTION="Video editing library used by OpenShot"
HOMEPAGE="https://www.openshot.org/"
SRC_URI="https://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0/21"
KEYWORDS="amd64 x86"
IUSE="doc examples +imagemagick +opencv +python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="!test? ( test )"
RDEPEND="dev-libs/jsoncpp:0=
dev-libs/protobuf:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5[widgets]
>=media-libs/libopenshot-audio-0.3.0:0=
media-video/ffmpeg:0=[encode,x264,xvid,vpx,mp3,theora,vorbis]
net-libs/cppzmq
net-libs/zeromq
imagemagick? ( >=media-gfx/imagemagick-7:0=[cxx] )
opencv? ( >=media-libs/opencv-4.5.2:=[contrib,contribdnn] )
python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-doc/doxygen )
python? ( dev-lang/swig )
test? (
dev-cpp/catch:0
dev-libs/unittest++
)"
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
use python && python-single-r1_pkg_setup
}
src_prepare() {
cmake_src_prepare
# https://github.com/OpenShot/libopenshot/issues/17
use test || cmake_comment_add_subdirectory tests
}
src_configure() {
local mycmakeargs=(
-DDISABLE_BUNDLED_JSONCPP=ON
-DENABLE_MAGICK=$(usex imagemagick)
-DENABLE_OPENCV=$(usex opencv)
-DENABLE_RUBY=OFF # TODO: add ruby support
-DENABLE_PYTHON=$(usex python)
-DENABLE_TESTS=$(usex test)
-DUSE_SYSTEM_JSONCPP=ON
$(cmake_use_find_package imagemagick ImageMagick)
)
use python && mycmakeargs+=(
-DPYTHON_EXECUTABLE="${PYTHON}"
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
-DPYTHON_LIBRARY="$(python_get_library_path)"
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
use doc && cmake_build doc
}
src_test() {
cmake_build test
}
src_install() {
local DOCS=( AUTHORS README.md doc/HW-ACCEL.md )
use examples && DOCS+=( examples/ )
use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
cmake_src_install
use python && python_optimize
}

@ -0,0 +1,21 @@
<?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/libopenshot</remote-id>
<bugs-to>https://github.com/OpenShot/libopenshot/issues</bugs-to>
</upstream>
<use>
<flag name="opencv">
Enable <pkg>media-libs/opencv</pkg> support
</flag>
</use>
</pkgmetadata>

@ -0,0 +1 @@
DIST openshot-3.0.0.tar.gz 92552771 BLAKE2B 1e7bd8921a472e4ff62b160d67fcb5a8d8c0e6614a28cce87db5078fae5401c69610bd44801344da55fc4df3c8f973263b75a8567d4372fc350f76dbeec428a1 SHA512 d1115095b34937419d0f08aadacc849768a97ba5d3866a46cb8d416a26ac7fbb754b383c99ea8cb70291bd08cec0343191e71cfdd19c046bbd1a43541fc0673a

@ -0,0 +1,16 @@
<?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>

@ -0,0 +1,55 @@
# 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
}
Loading…
Cancel
Save