summaryrefslogtreecommitdiff
path: root/kde-apps/kdenlive
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /kde-apps/kdenlive
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'kde-apps/kdenlive')
-rw-r--r--kde-apps/kdenlive/Manifest7
-rw-r--r--kde-apps/kdenlive/files/kdenlive-20.08.3-webengine.patch213
-rw-r--r--kde-apps/kdenlive/kdenlive-20.12.3.ebuild2
-rw-r--r--kde-apps/kdenlive/kdenlive-21.04.0.ebuild (renamed from kde-apps/kdenlive/kdenlive-20.08.3.ebuild)22
4 files changed, 13 insertions, 231 deletions
diff --git a/kde-apps/kdenlive/Manifest b/kde-apps/kdenlive/Manifest
index f5da4b59b503..335b00e2efa1 100644
--- a/kde-apps/kdenlive/Manifest
+++ b/kde-apps/kdenlive/Manifest
@@ -1,6 +1,5 @@
-AUX kdenlive-20.08.3-webengine.patch 8643 BLAKE2B 705fe02d7fdfe29fc6cd414a358bcf4962a853fd8d7191771d9c2fd925025923116378e4fccd98e87cc4bce3cde2cbcb8b7c54c72d22c003d09a473c0d8703cc SHA512 03306e28e26535dae030e9ac29f90507045ad6c718567337be7bea3e3eb6348a4bacd43f6d1546850459714cbcdfb08f956c67d48d1ecdd396e55f6edb41e5a1
-DIST kdenlive-20.08.3.tar.xz 11383252 BLAKE2B aa8075758ec4b967c8eeabbab611278130df7235f10186b5bc4142a06805fb2cae94806059edf62f9af86a3640cee734863316e7651f3c67d020da32ab0d63ff SHA512 ed3ccffbe7c56d54e3c490d818a504bc4a3d65fd81c4d816a549d2a7d436b5320497145d122f352066def23c43aed523e2d31eb2a2f50378fb0122a89a23c424
DIST kdenlive-20.12.3.tar.xz 11514396 BLAKE2B eb789a2dcddc67a73122d3fcab06d43d72566de8aeec97dd7bc8b76918231a859e86c8859be7eaab4017c9048edaa951fd143d8e24187437252490464bef0773 SHA512 b21c9bd59171969ab84b93bab2617333160521c3b99b61a2182f9d9b5e65c3220b6dd960d71fe5eeb032733127392dafd40748b950b9973e0edfb5ae6317380a
-EBUILD kdenlive-20.08.3.ebuild 2685 BLAKE2B 444add9a5f84cf6630dd068b423e666cec48f60d1d6bd584039c255153b07a3010d0c5a6b572bef93e3380a61e107505bcbe4b4630dd7aeb9960408ebecd28c5 SHA512 f43fac8851377bbf644522016b916d3990618094926a0462a392db6fdb340dbeafe7b2e799892ffe488c6c512f2955c9d246ce554272df0bb7b11808640e3bd5
-EBUILD kdenlive-20.12.3.ebuild 2612 BLAKE2B 8adb0446f11f2a2abfa79c70597eb0d0a5d0435dc5139503e7d4bc7e18fde4289e19e869c61203f3c99a1218b8fbf4bfee31b206f6626ff8a9d1a93c38a32628 SHA512 b00c7eafe61788ca7b212b105dc9380e04a3b0310c7828077ae7de1deb0e5de026dc354ce9ab81c11977771f7d25a3bd4459743114f41bfa55599bc484c3d673
+DIST kdenlive-21.04.0.tar.xz 11717116 BLAKE2B 4717757f24b81c3f8ece13e0968a14ae01254bcb168fef7d1827d3cc0b826d395f58454c59b8172621ff170411a7b29b9f3befb9340c9eb50412ebc7ed624aac SHA512 cc44df08e0fbe2a16646d005782aac3a8522e95cabc6cfb157b083f460e77e37bad0ef39b8a8ab2aa488faab161e81fb527108daf71d4f3b281b2ad18148a17f
+EBUILD kdenlive-20.12.3.ebuild 2609 BLAKE2B c0e1d6a000d558c613bb79bc5375f7937f25fec6528edec55ddcfd6223b020ab5d29a6fb60ee0d83baef1da57dde9a2fd90ab1bedce119f445011505502a7939 SHA512 0049ef2fc7e1ced0585a16de9a4dec01fcba55787f52dddff8260cf863e8267412870c222fadd45256e1fd1e92098fa62f51d03ca03715fc0f99374e8572ee4a
+EBUILD kdenlive-21.04.0.ebuild 2517 BLAKE2B a17cd792d035ad7a0c63aa2209afd3ff1005cbdab21ea84e9280ac6536954df8b607eb1030ef18120c6a1384a7ff5ae5b9cc7d1dadef1abf420a40e27c80e7fc SHA512 8a0dd28cab7fa8a6093ec9d95b7086d82d24906042b470765e1224d241503fd61134186a44a6a300dd663e3cb62ebb6e0f823438d956b6f394b1e5663aa6754c
MISC metadata.xml 489 BLAKE2B 51ddd82047dffa39b9fcd279857844864ae16144b31a5768384726729019541c9033f6cf2b358331f039954878cb409b4eda3dde8356ca2d3a345667cd6afe04 SHA512 855156534b3863f573fb9ccdffd144d11be83bb77c0b4e0f968a175730611bbc6b16f2a85e172076561aa02b498c975830187006a24a3095af33b6685835409f
diff --git a/kde-apps/kdenlive/files/kdenlive-20.08.3-webengine.patch b/kde-apps/kdenlive/files/kdenlive-20.08.3-webengine.patch
deleted file mode 100644
index 0ffff1b4a384..000000000000
--- a/kde-apps/kdenlive/files/kdenlive-20.08.3-webengine.patch
+++ /dev/null
@@ -1,213 +0,0 @@
-From 51feccf3cc0939d42c3ff237eb17f9a6091f1dd8 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Fri, 23 Oct 2020 15:32:39 +0200
-Subject: [PATCH] Port to QtWebEngineWidgets
-
-Fixes https://invent.kde.org/multimedia/kdenlive/-/issues/775
-
-Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
----
- CMakeLists.txt | 2 +-
- src/CMakeLists.txt | 12 ++++++------
- src/qt-oauth-lib/logindialog.cpp | 4 ++--
- src/qt-oauth-lib/logindialog.h | 3 +--
- src/qt-oauth-lib/oauth2.h | 4 ++--
- src/ui/logindialog_ui.ui | 6 +++---
- src/utils/resourcewidget.cpp | 14 +++++++-------
- 7 files changed, 22 insertions(+), 23 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d434f1e31..a3f838433 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -71,7 +71,7 @@ if(WIN32)
- set(MLT_PREFIX "..")
- else()
- set(MLT_PREFIX ${MLT_ROOT_DIR})
-- find_package(Qt5 OPTIONAL_COMPONENTS WebKitWidgets QUIET)
-+ find_package(Qt5 OPTIONAL_COMPONENTS WebEngineWidgets QUIET)
- endif()
-
- if(KF5FileMetaData_FOUND)
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 551178133..8356d4e47 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -65,7 +65,7 @@ add_subdirectory(transitions)
- add_subdirectory(utils)
- add_subdirectory(widgets)
- add_subdirectory(xml)
--if(Qt5WebKitWidgets_FOUND)
-+if(Qt5WebEngineWidgets_FOUND)
- add_subdirectory(qt-oauth-lib)
- endif()
- ## top_SRCS
-@@ -178,12 +178,12 @@ if(KF5_PURPOSE)
- target_link_libraries(kdenliveLib KF5::Purpose KF5::PurposeWidgets)
- endif()
-
--if(Qt5WebKitWidgets_FOUND)
-- message(STATUS "Found Qt5 WebKitWidgets. You can use your Freesound.org credentials to download files")
-- target_compile_definitions(kdenliveLib PRIVATE -DQT5_USE_WEBKIT)
-- target_link_libraries(kdenliveLib Qt5::WebKitWidgets)
-+if(Qt5WebEngineWidgets_FOUND)
-+ message(STATUS "Found Qt5 WebEngineWidgets. You can use your Freesound.org credentials to download files")
-+ target_compile_definitions(kdenliveLib PRIVATE -DQT5_USE_WEBENGINE)
-+ target_link_libraries(kdenliveLib Qt5::WebEngineWidgets)
- else()
-- message(STATUS "Qt5 WebKitWidgets not found. You cannot use your Freesound.org credentials, only preview files can be downloaded from the Online Resources Widget")
-+ message(STATUS "Qt5 WebEngineWidgets not found. You cannot use your Freesound.org credentials, only preview files can be downloaded from the Online Resources Widget")
- endif()
-
- if(Q_WS_X11)
-diff --git a/src/qt-oauth-lib/logindialog.cpp b/src/qt-oauth-lib/logindialog.cpp
-index a41aa420b..111978831 100644
---- a/src/qt-oauth-lib/logindialog.cpp
-+++ b/src/qt-oauth-lib/logindialog.cpp
-@@ -38,7 +38,7 @@
- #include "ui_logindialog_ui.h"
-
- #include "kdenlive_debug.h"
--#include <QWebView>
-+#include <QWebEngineView>
-
- LoginDialog::LoginDialog(QWidget *parent)
- : QDialog(parent)
-@@ -54,7 +54,7 @@ LoginDialog::LoginDialog(QWidget *parent)
- i18n("Enter your freesound account details to download the highest quality version of this file. Or use the High Quality "
- "preview file instead (no freesound account required)."));
- // m_ui->textBrowser
-- connect(m_ui->webView, &QWebView::urlChanged, this, &LoginDialog::urlChanged);
-+ connect(m_ui->webView, &QWebEngineView::urlChanged, this, &LoginDialog::urlChanged);
- }
-
- LoginDialog::~LoginDialog()
-diff --git a/src/qt-oauth-lib/logindialog.h b/src/qt-oauth-lib/logindialog.h
-index 963b38ec5..c34383bf2 100644
---- a/src/qt-oauth-lib/logindialog.h
-+++ b/src/qt-oauth-lib/logindialog.h
-@@ -47,11 +47,10 @@ class LoginDialog;
-
- /**
- \brief This is the dialog that is used to login to freesound
-- \details It contains a QWebView object to display the freesound web page. I did try using a QTextBrowser
-+ \details It contains a QWebEngineView object to display the freesound web page. I did try using a QTextBrowser
- for this purpose but it responds to the URL that is used to connect with
- "No document for
- https://www.freesound.org/apiv2/oauth2/authorize/?client_id=3duhagdr874c&redirect_uri=https://www.freesound.org/home/app_permissions/permission_granted/&response_type=code"
-- The use of QWebView adds a dependency on the KF5WebKit to kdenlive. Need install libkf5webkit5-dev package on ubuntu
- */
- class LoginDialog : public QDialog
- {
-diff --git a/src/qt-oauth-lib/oauth2.h b/src/qt-oauth-lib/oauth2.h
-index f28724455..03993a214 100644
---- a/src/qt-oauth-lib/oauth2.h
-+++ b/src/qt-oauth-lib/oauth2.h
-@@ -45,7 +45,7 @@
- const QLatin1String OAuth2_strClientSecret("441d88374716e7a3503997151e4780566f007313"); // obtained when ttguy registered the kdenlive application with freesound
- #endif
-
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
-
- class LoginDialog;
-
-@@ -135,6 +135,6 @@ private:
- void buildLoginDialog();
- };
-
--#endif // QT5_USE_WEBKIT
-+#endif // QT5_USE_WEBENGINE
-
- #endif // OAUTH2_H
-diff --git a/src/ui/logindialog_ui.ui b/src/ui/logindialog_ui.ui
-index 20827d686..e98a68ed2 100644
---- a/src/ui/logindialog_ui.ui
-+++ b/src/ui/logindialog_ui.ui
-@@ -15,7 +15,7 @@
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="1" column="0">
-- <widget class="QWebView" name="webView">
-+ <widget class="QWebEngineView" name="webView">
- <property name="url">
- <url>
- <string>about:blank</string>
-@@ -51,9 +51,9 @@
- </widget>
- <customwidgets>
- <customwidget>
-- <class>QWebView</class>
-+ <class>QWebEngineView</class>
- <extends>QWidget</extends>
-- <header>QtWebKitWidgets/QWebView</header>
-+ <header>QtWebEngineWidgets/QWebEngineView</header>
- </customwidget>
- </customwidgets>
- <resources/>
-diff --git a/src/utils/resourcewidget.cpp b/src/utils/resourcewidget.cpp
-index 79bb48898..d0eaa225b 100644
---- a/src/utils/resourcewidget.cpp
-+++ b/src/utils/resourcewidget.cpp
-@@ -49,7 +49,7 @@
- #include <QPixmap>
- #include <klocalizedstring.h>
-
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
- #include "qt-oauth-lib/oauth2.h"
- #endif
-
-@@ -103,7 +103,7 @@ ResourceWidget::ResourceWidget(QString folder, QWidget *parent)
- search_text->setFocus();
- connect(search_text, SIGNAL(returnPressed()), this, SLOT(slotStartSearch()));
-
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
- m_pOAuth2 = new OAuth2(this);
- connect(m_pOAuth2, &OAuth2::accessTokenReceived, this, &ResourceWidget::slotAccessTokenReceived);
- connect(m_pOAuth2, &OAuth2::accessDenied, this, &ResourceWidget::slotFreesoundAccessDenied);
-@@ -375,7 +375,7 @@ void ResourceWidget::slotSaveItem(const QString &originalUrl)
- path.append(m_currentService->getDefaultDownloadName(item));
-
- if (m_currentService->serviceType == AbstractService::FREESOUND) {
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
- sFileExt = m_currentService->getExtension(search_results->currentItem());
- #else
- sFileExt = QStringLiteral("*.") + m_currentInfo.HQpreview.section(QLatin1Char('.'), -1);
-@@ -402,7 +402,7 @@ void ResourceWidget::slotSaveItem(const QString &originalUrl)
- }
- slotSetDescription(QString());
- button_import->setEnabled(false); // disable buttons while download runs. enabled in slotGotFile
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
- if (m_currentService->serviceType == AbstractService::FREESOUND) { // open a dialog to authenticate with free sound and download the file
- m_pOAuth2->obtainAccessToken(); // when job finished ResourceWidget::slotAccessTokenReceived will be called
- } else { // not freesound - do file download via a KIO file copy job
-@@ -841,7 +841,7 @@ void ResourceWidget::DownloadRequestFinished(QNetworkReply *reply)
- m_desc.append(m_saveLocation);
- updateLayout();
- } else {
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
- m_pOAuth2->ForgetAccessToken();
- #endif
- m_desc.append(QStringLiteral("<br>") + i18n("Error Saving File"));
-@@ -850,11 +850,11 @@ void ResourceWidget::DownloadRequestFinished(QNetworkReply *reply)
- } else {
-
- if (reply->error() == QNetworkReply::AuthenticationRequiredError) {
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
- m_pOAuth2->obtainNewAccessToken();
- #endif
- } else {
--#ifdef QT5_USE_WEBKIT
-+#ifdef QT5_USE_WEBENGINE
- m_pOAuth2->ForgetAccessToken();
- #endif
- m_desc.append(QStringLiteral("<br>") + i18n("Error Downloading File. Error code: %1", reply->error()) + QStringLiteral("<br>"));
---
-2.29.1
-
diff --git a/kde-apps/kdenlive/kdenlive-20.12.3.ebuild b/kde-apps/kdenlive/kdenlive-20.12.3.ebuild
index 8facec13c036..013ec4cb7c15 100644
--- a/kde-apps/kdenlive/kdenlive-20.12.3.ebuild
+++ b/kde-apps/kdenlive/kdenlive-20.12.3.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://kdenlive.org/en/"
LICENSE="GPL-2"
SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
IUSE="gles2-only semantic-desktop share v4l webengine"
BDEPEND="
diff --git a/kde-apps/kdenlive/kdenlive-20.08.3.ebuild b/kde-apps/kdenlive/kdenlive-21.04.0.ebuild
index 8db9f9c0d767..a4296f92962a 100644
--- a/kde-apps/kdenlive/kdenlive-20.08.3.ebuild
+++ b/kde-apps/kdenlive/kdenlive-21.04.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
ECM_HANDBOOK="optional"
ECM_TEST="true"
-KFMIN=5.74.0
-QTMIN=5.15.1
+KFMIN=5.80.0
+QTMIN=5.15.2
VIRTUALX_REQUIRED="test"
inherit ecm kde.org
@@ -15,20 +15,22 @@ HOMEPAGE="https://kdenlive.org/en/"
LICENSE="GPL-2"
SLOT="5"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
-IUSE="gles2-only semantic-desktop share v4l webengine"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="gles2-only semantic-desktop share v4l"
+
+RESTRICT+=" test" # segfaults, bug 684132
BDEPEND="
sys-devel/gettext
"
DEPEND="
- dev-cpp/rttr
>=dev-qt/qtconcurrent-${QTMIN}:5
>=dev-qt/qtdbus-${QTMIN}:5
>=dev-qt/qtdeclarative-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5[gles2-only=]
>=dev-qt/qtmultimedia-${QTMIN}:5
>=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtnetworkauth-${QTMIN}:5
>=dev-qt/qtquickcontrols2-${QTMIN}:5
>=dev-qt/qtsvg-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
@@ -56,27 +58,21 @@ DEPEND="
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
>=kde-frameworks/kxmlgui-${KFMIN}:5
>=kde-frameworks/solid-${KFMIN}:5
- >=media-libs/mlt-6.20.0[ffmpeg,frei0r,kdenlive(+),melt(+),qt5,sdl,xml]
+ >=media-libs/mlt-6.26.0[ffmpeg,frei0r,kdenlive(+),melt(+),qt5,sdl,xml]
semantic-desktop? ( >=kde-frameworks/kfilemetadata-${KFMIN}:5 )
share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
v4l? ( media-libs/libv4l )
- webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
"
RDEPEND="${DEPEND}
>=dev-qt/qtquickcontrols-${QTMIN}:5
media-video/ffmpeg[encode,sdl,X]
"
-RESTRICT+=" test" # segfaults, bug 684132
-
-PATCHES=( "${FILESDIR}/${PN}-20.08.3-webengine.patch" ) # pending upstream
-
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package semantic-desktop KF5FileMetaData)
$(cmake_use_find_package share KF5Purpose)
$(cmake_use_find_package v4l LibV4L2)
- $(cmake_use_find_package webengine Qt5WebEngineWidgets)
)
ecm_src_configure