From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2896713835A for ; Mon, 13 Jul 2020 12:10:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56735E08AD; Mon, 13 Jul 2020 12:10:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33B4AE08AD for ; Mon, 13 Jul 2020 12:10:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6E1434EFFE for ; Mon, 13 Jul 2020 12:10:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63ED2291 for ; Mon, 13 Jul 2020 12:10:32 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1594642218.e7aae28b508aaa30e3871628241519e8f5e08f9c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/shotcut/files/, media-video/shotcut/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/shotcut/Manifest media-video/shotcut/files/shotcut-20.06.28-desktop-file-validate.patch media-video/shotcut/shotcut-20.06.28.ebuild X-VCS-Directories: media-video/shotcut/ media-video/shotcut/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: e7aae28b508aaa30e3871628241519e8f5e08f9c X-VCS-Branch: master Date: Mon, 13 Jul 2020 12:10:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f1940087-8a9b-4b09-a932-c5116bfbdccf X-Archives-Hash: e5743db7dc1dc76729c78ff1b772ee0b commit: e7aae28b508aaa30e3871628241519e8f5e08f9c Author: Henrik Pihl gmail com> AuthorDate: Thu Jul 2 18:15:44 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Jul 13 12:10:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7aae28b media-video/shotcut: Version bump to 20.06.28. Fix the desktop link contents via patch. Bug: https://bugs.gentoo.org/717558 Signed-off-by: Henrik Pihl gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16550 Signed-off-by: Joonas Niilola gentoo.org> media-video/shotcut/Manifest | 1 + .../shotcut-20.06.28-desktop-file-validate.patch | 16 +++++ media-video/shotcut/shotcut-20.06.28.ebuild | 69 ++++++++++++++++++++++ 3 files changed, 86 insertions(+) diff --git a/media-video/shotcut/Manifest b/media-video/shotcut/Manifest index 8231a7f1340..8061d50c601 100644 --- a/media-video/shotcut/Manifest +++ b/media-video/shotcut/Manifest @@ -1 +1,2 @@ DIST shotcut-19.12.31.tar.gz 5475620 BLAKE2B 47fd90ddf40da3c08d3dab31b7170b02aab2f3e6b9d3d7446d53192c04b22b7e053cffe21632f1370d699ff00dca0d057f9a49d29ddeb225f039104abbc8ddee SHA512 714d5b3e184e9d0786bc64635e51fd61570e0404c0ebf0fa5c8a12cb85c9091c75ac61e4963bd400b5722f310ae590b2c2d83aa4cd7acbcb53545f224f0ca766 +DIST shotcut-20.06.28.tar.gz 5797885 BLAKE2B 3f241d6bbe4a89410a2e96ec8bde9446ee88c452ee76f77e4d145f44a37c0d5d116f43e4d0e844b5a112998317f3378c84819bd63c9a02a5aff30338859340b6 SHA512 cd9b96ca467c669138902a94975a5f23baa266b1eb92de0b0446e6f6616a9927aac430c6bd41c4f00de4e5b6d99bfbdf074d339f98ef219a38e3572d8670d78b diff --git a/media-video/shotcut/files/shotcut-20.06.28-desktop-file-validate.patch b/media-video/shotcut/files/shotcut-20.06.28-desktop-file-validate.patch new file mode 100644 index 00000000000..87dabd5cba3 --- /dev/null +++ b/media-video/shotcut/files/shotcut-20.06.28-desktop-file-validate.patch @@ -0,0 +1,16 @@ +diff --git a/packaging/linux/org.shotcut.Shotcut.desktop b/packaging/linux/org.shotcut.Shotcut.desktop +index a9cf44d..c5a4eff 100644 +--- a/packaging/linux/org.shotcut.Shotcut.desktop ++++ b/packaging/linux/org.shotcut.Shotcut.desktop +@@ -5,10 +5,8 @@ GenericName=Video Editor + GenericName[de]=Video-Bearbeitungsprogramm + GenericName[fr]=Logiciel de montage vidéo + GenericName[ru]=Видеоредактор +-Comment=Video Editor ++Comment=Shotcut is a free, open source, cross-platform video editor. + Comment[de]=Programm zum Bearbeiten und Abspielen von Videodateien. +-Comment[fr]=Logiciel de montage vidéo +-Comment[ru]=Видеоредактор + Exec=shotcut %F + Icon=org.shotcut.Shotcut + Terminal=false diff --git a/media-video/shotcut/shotcut-20.06.28.ebuild b/media-video/shotcut/shotcut-20.06.28.ebuild new file mode 100644 index 00000000000..40181162303 --- /dev/null +++ b/media-video/shotcut/shotcut-20.06.28.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic qmake-utils xdg + +DESCRIPTION="A free, open source, cross-platform video editor" +HOMEPAGE="https://www.shotcut.org/ https://github.com/mltframework/shotcut/" +SRC_URI="https://github.com/mltframework/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +COMMON_DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5 + dev-qt/qtwebkit:5 + dev-qt/qtwebsockets:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + >=media-libs/mlt-6.18.0[ffmpeg,frei0r,jack,qt5,sdl,xml] + media-libs/webvfx + media-video/ffmpeg +" +DEPEND="${COMMON_DEPEND} + dev-qt/qtconcurrent:5 + dev-qt/qtx11extras:5 +" +RDEPEND="${COMMON_DEPEND} + dev-qt/qtgraphicaleffects:5 + dev-qt/qtquickcontrols:5 + virtual/jack +" + +PATCHES=( + "${FILESDIR}/${P}-desktop-file-validate.patch" +) + +src_prepare() { + default + + sed -i -e '/QT.*private/d' \ + src/src.pro || die +} + +src_configure() { + append-cxxflags -Wno-deprecated-declarations + + eqmake5 \ + PREFIX="${EPREFIX}/usr" \ + SHOTCUT_VERSION="${PV}" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +}