summaryrefslogtreecommitdiff
path: root/media-libs/webvfx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /media-libs/webvfx
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'media-libs/webvfx')
-rw-r--r--media-libs/webvfx/Manifest3
-rw-r--r--media-libs/webvfx/metadata.xml18
-rw-r--r--media-libs/webvfx/webvfx-1.1.0.ebuild64
3 files changed, 85 insertions, 0 deletions
diff --git a/media-libs/webvfx/Manifest b/media-libs/webvfx/Manifest
new file mode 100644
index 000000000000..d9c17d5a9d6a
--- /dev/null
+++ b/media-libs/webvfx/Manifest
@@ -0,0 +1,3 @@
+DIST webvfx-1.1.0.txz 1163312 BLAKE2B a948c967ee8a21f91086b76ac2737a855d6a6a0c576471d9844a7587ee45c8f42553b57b8f5e989dae696924e67c341317c541eef87f28e9a49ff25e8e0aed29 SHA512 f88726ef8ae779f238fe6b784bc53ef47ef67a8d7b524f2c465fdf5de57f37bd388d81ac52b0a7abc30a1c836f801a8b9df0ef183e2507b229dd6431d38c8768
+EBUILD webvfx-1.1.0.ebuild 1255 BLAKE2B 7ca0283f6a4a1197e37b020c1b7c1fc7a245b2b311e1b82cb858c41059e85de912f970fbb4b5fb96a9e9929bee762ce13f85745c0c3bcbf7c9fbd4359c45f649 SHA512 0787d2f779b896fd1e59871ff596c1769e34179d5a88e9a099fcc164581b9e1b408c8ce771e27d7ef99a61ab75462f2e5172efcbbd9c56ecd5c83dd1af2d1ab8
+MISC metadata.xml 531 BLAKE2B b433d295dd15a81b40b288e8d311f5219709d467a1a23169d2f85831d12500b34b50f03d274e44e9347caa3b964750d04bdd0df8f935f649118b94fc974ab8bc SHA512 d722ad1ef255c1a02a4b7dd9f58f08aebb32dc84ff2034db48d76ec0ad3ae1641c8be969e9b9dabdfaffaf71eaf35557f839fcef84c8b0262efb9243886ebb8d
diff --git a/media-libs/webvfx/metadata.xml b/media-libs/webvfx/metadata.xml
new file mode 100644
index 000000000000..3ca5303fe87e
--- /dev/null
+++ b/media-libs/webvfx/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>reagentoo@gmail.com</email>
+ <name>Dmitry Baranov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mltframework/webvfx</remote-id>
+ </upstream>
+ <use>
+ <flag name="doc">Install doxygen developer documentation</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-libs/webvfx/webvfx-1.1.0.ebuild b/media-libs/webvfx/webvfx-1.1.0.ebuild
new file mode 100644
index 000000000000..114f397f1412
--- /dev/null
+++ b/media-libs/webvfx/webvfx-1.1.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/1.1.0/${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
+}