From 34193ecece9f94c9ba3f337756ff5be4e3c36d1a Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Fri, 23 Nov 2018 15:59:55 -0500 Subject: [PATCH] shotcut: add version 18.11.18 Signed-off-by: Denys Dmytriyenko --- media-video/shotcut/Manifest | 2 + media-video/shotcut/shotcut-18.11.18.ebuild | 67 +++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 media-video/shotcut/Manifest create mode 100644 media-video/shotcut/shotcut-18.11.18.ebuild diff --git a/media-video/shotcut/Manifest b/media-video/shotcut/Manifest new file mode 100644 index 0000000..ebcc827 --- /dev/null +++ b/media-video/shotcut/Manifest @@ -0,0 +1,2 @@ +DIST shotcut-18.11.18.tar.gz 4774152 BLAKE2B 3c2be0f39fe0688335a21fd5f0349b034f18ba7142c69ba1d0de79d5cb3beb5dabaaa82ef99dfec82c9e3e6b8999769474941051e177d82a35a4246644641a0b SHA512 13ddc427c769ec7ca38b13f1893d8c4d2fd851c00f3b05c62139ce706fb0789825241a9980953175d0bbc5e1b77cb98146f8d20bd36e28ddabf4e2f19023bb27 +EBUILD shotcut-18.11.18.ebuild 1414 BLAKE2B bfc2f9d8249038916448237e39bc8944ce8fa2fb5ad898a61f14c5039442d5245aae3507b4ba9eb2173a154ffae8d1ed0e554f601e1235884d20c3aae7ebc51a SHA512 66450f8221eed6056365fb38c35c5be81245ee7e4de5daba12f845ec6bd28120cd583ca0f72736ee4987d6c34551f067f2c4929b9817614ca56a303d788eae20 diff --git a/media-video/shotcut/shotcut-18.11.18.ebuild b/media-video/shotcut/shotcut-18.11.18.ebuild new file mode 100644 index 0000000..d9df425 --- /dev/null +++ b/media-video/shotcut/shotcut-18.11.18.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop qmake-utils + +DESCRIPTION="A free, open source, cross-platform video editor" +HOMEPAGE="https://www.shotcut.org/" +SRC_URI="https://github.com/mltframework/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgraphicaleffects:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtquickcontrols:5[widgets] + dev-qt/qtsql:5 + dev-qt/qtwebkit:5 + dev-qt/qtwebsockets:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + media-libs/ladspa-sdk + media-libs/libsdl:0 + media-libs/libvpx + >=media-libs/mlt-6.6.0-r1[ffmpeg,frei0r,qt5,sdl,sdl2(+),xml] + media-libs/x264 + media-plugins/frei0r-plugins + media-sound/lame + media-video/ffmpeg + virtual/jack +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +src_prepare() { + local mylrelease="$(qt5_get_bindir)/lrelease" + "${mylrelease}" "${S}/src/src.pro" || die "preparing locales failed" + + default +} + +src_configure() { + eqmake5 PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + + newicon "${S}/icons/shotcut-logo-64.png" "${PN}.png" + make_desktop_entry shotcut "Shotcut" + + insinto "/usr/share/${PN}/translations" + doins share/shotcut/translations/*.qm + + einstalldocs +}