summaryrefslogtreecommitdiff
path: root/media-libs/webvfx
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/webvfx')
-rw-r--r--media-libs/webvfx/Manifest4
-rw-r--r--media-libs/webvfx/webvfx-1.1.0.ebuild2
-rw-r--r--media-libs/webvfx/webvfx-1.2.0.ebuild64
3 files changed, 68 insertions, 2 deletions
diff --git a/media-libs/webvfx/Manifest b/media-libs/webvfx/Manifest
index d9c17d5a9d6a..a85060f7a546 100644
--- a/media-libs/webvfx/Manifest
+++ b/media-libs/webvfx/Manifest
@@ -1,3 +1,5 @@
DIST webvfx-1.1.0.txz 1163312 BLAKE2B a948c967ee8a21f91086b76ac2737a855d6a6a0c576471d9844a7587ee45c8f42553b57b8f5e989dae696924e67c341317c541eef87f28e9a49ff25e8e0aed29 SHA512 f88726ef8ae779f238fe6b784bc53ef47ef67a8d7b524f2c465fdf5de57f37bd388d81ac52b0a7abc30a1c836f801a8b9df0ef183e2507b229dd6431d38c8768
-EBUILD webvfx-1.1.0.ebuild 1255 BLAKE2B 7ca0283f6a4a1197e37b020c1b7c1fc7a245b2b311e1b82cb858c41059e85de912f970fbb4b5fb96a9e9929bee762ce13f85745c0c3bcbf7c9fbd4359c45f649 SHA512 0787d2f779b896fd1e59871ff596c1769e34179d5a88e9a099fcc164581b9e1b408c8ce771e27d7ef99a61ab75462f2e5172efcbbd9c56ecd5c83dd1af2d1ab8
+DIST webvfx-1.2.0.txz 1178880 BLAKE2B 7ef08f791b291897f39e170f0572db2fb98c78bced9ed3560b1b94cfe48bedf0af3af5e57381bd039f6cf3dc1d558fb07a6a959b28f1c6a380d0dd0f1bfc64fd SHA512 84473df90553d2d85e1860eb98326fc65ebca02f1cbd8415b83e02ea032442d2aa42c000e366b6ca217bb59526b2b4409d85b169cc7e60d86443b79a1ff5614a
+EBUILD webvfx-1.1.0.ebuild 1255 BLAKE2B 90befb16c2e812f590d110f4e98a8755cff1af65fd4d3d38bca9be28fc0b5992bfe8690d6bd2e421f7e8d28349372cfbfde8d45485976c1c1546dfa608ed7522 SHA512 a1e4fef0c703554b0ef66cd5c773a36d8d9ca9808ad06f3573fa3acd4ccdf0b6d19abf5eb6963f8a2e4acb07fad6da5462e6a4c124e5ee7ff16a5abc37731e80
+EBUILD webvfx-1.2.0.ebuild 1255 BLAKE2B 90befb16c2e812f590d110f4e98a8755cff1af65fd4d3d38bca9be28fc0b5992bfe8690d6bd2e421f7e8d28349372cfbfde8d45485976c1c1546dfa608ed7522 SHA512 a1e4fef0c703554b0ef66cd5c773a36d8d9ca9808ad06f3573fa3acd4ccdf0b6d19abf5eb6963f8a2e4acb07fad6da5462e6a4c124e5ee7ff16a5abc37731e80
MISC metadata.xml 531 BLAKE2B b433d295dd15a81b40b288e8d311f5219709d467a1a23169d2f85831d12500b34b50f03d274e44e9347caa3b964750d04bdd0df8f935f649118b94fc974ab8bc SHA512 d722ad1ef255c1a02a4b7dd9f58f08aebb32dc84ff2034db48d76ec0ad3ae1641c8be969e9b9dabdfaffaf71eaf35557f839fcef84c8b0262efb9243886ebb8d
diff --git a/media-libs/webvfx/webvfx-1.1.0.ebuild b/media-libs/webvfx/webvfx-1.1.0.ebuild
index 114f397f1412..bdc28125efe1 100644
--- a/media-libs/webvfx/webvfx-1.1.0.ebuild
+++ b/media-libs/webvfx/webvfx-1.1.0.ebuild
@@ -7,7 +7,7 @@ inherit flag-o-matic qmake-utils toolchain-funcs
DESCRIPTION="Video effects library based on web technologies"
HOMEPAGE="https://github.com/mltframework/webvfx/"
-SRC_URI="https://github.com/mltframework/${PN}/releases/download/1.1.0/${P}.txz"
+SRC_URI="https://github.com/mltframework/${PN}/releases/download/${PV}/${P}.txz"
LICENSE="BSD"
SLOT="0"
diff --git a/media-libs/webvfx/webvfx-1.2.0.ebuild b/media-libs/webvfx/webvfx-1.2.0.ebuild
new file mode 100644
index 000000000000..bdc28125efe1
--- /dev/null
+++ b/media-libs/webvfx/webvfx-1.2.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic qmake-utils toolchain-funcs
+
+DESCRIPTION="Video effects library based on web technologies"
+HOMEPAGE="https://github.com/mltframework/webvfx/"
+SRC_URI="https://github.com/mltframework/${PN}/releases/download/${PV}/${P}.txz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+BDEPEND="
+ doc? ( app-doc/doxygen )
+"
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtquickcontrols:5[widgets]
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ media-libs/mlt
+ virtual/opengl
+"
+DEPEND="${RDEPEND}
+ dev-qt/qtnetwork:5
+"
+
+src_prepare() {
+ default
+
+ find -name "*.pro" -exec \
+ sed -i -e "s/\(system.*\)pkg-config/\1$(tc-getPKG_CONFIG)/" {} + || die
+
+ sed -i -e "s/\(target.*path.*PREFIX.*\)lib/\1$(get_libdir)/" \
+ webvfx/webvfx.pro || die
+
+ sed -i -e "s/PROJECT_NUMBER=\`.*\`/PROJECT_NUMBER=${PV}/" \
+ all.pro || die
+}
+
+src_configure() {
+ append-cxxflags -Wno-deprecated-declarations
+
+ eqmake5 PREFIX="${EPREFIX}/usr"
+}
+
+src_compile() {
+ emake
+ use doc && emake doxydoc
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+
+ use doc && local HTML_DOCS=( doxydoc/. )
+ einstalldocs
+}