diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /media-libs/webvfx/webvfx-1.1.0.ebuild | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'media-libs/webvfx/webvfx-1.1.0.ebuild')
-rw-r--r-- | media-libs/webvfx/webvfx-1.1.0.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
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 +} |