summaryrefslogtreecommitdiff
path: root/media-video/kmplayer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
commit441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch)
tree6a5171dd615dfeee62a45044144c66e864738fb0 /media-video/kmplayer
parentab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff)
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r--media-video/kmplayer/Manifest10
-rw-r--r--media-video/kmplayer/files/kmplayer-0.12.0b-cmake.patch50
-rw-r--r--media-video/kmplayer/files/kmplayer-0.12.0b-desktop.patch47
-rw-r--r--media-video/kmplayer/files/kmplayer-0.12.0b-devpixelratio.patch36
-rw-r--r--media-video/kmplayer/files/kmplayer-0.12.0b-qfile.patch33
-rw-r--r--media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.11b3.patch29
-rw-r--r--media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.9.patch42
-rw-r--r--media-video/kmplayer/files/kmplayer-0.12.0b-schedulerepaint.patch61
-rw-r--r--media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild78
-rw-r--r--media-video/kmplayer/metadata.xml12
10 files changed, 0 insertions, 398 deletions
diff --git a/media-video/kmplayer/Manifest b/media-video/kmplayer/Manifest
deleted file mode 100644
index ff46c98ead14..000000000000
--- a/media-video/kmplayer/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX kmplayer-0.12.0b-cmake.patch 1494 BLAKE2B 51ce1dd8118e36f864588a02107868493cefab78e0a1cb17751eb6bc5bd4d9b04795c849973be465429b6574050d94facad3aa569bae2b4ddc731a51718931ef SHA512 ea899817fc49fea549b4b2e2a180d2db2cb3310d88d9ff5464dbe19334428fb2afbec0228ccaf320229f8102f66f29dd64533f529021bba4a93933bc1f6e09d4
-AUX kmplayer-0.12.0b-desktop.patch 1629 BLAKE2B 09640d28334f91753a01b9f799ad3929f578f0127cf2012b0fea96f342d389661ac06719ef78d8ca12386658e051433ba6a8a1b0b2ea20c82901e454cb240a6d SHA512 bf85ab238afae771ba99299d719bf398444efacdf3092ff93c0472b831a4996b11762573d9cd9ecba88e882cb7bb801780afe87652a1657afe7903d639d1678e
-AUX kmplayer-0.12.0b-devpixelratio.patch 1290 BLAKE2B 1b076e616f6a8bc645b4505101f95b0c30422f83ffd01c01277196eef9f69f2be5f73880dddf55700f3b94aec7fadc45582b42b93dd68b419c883274980a3220 SHA512 4090efd279df4f106e197886eaacce73a24b60edf6eebdd1811f84ff3eb4798505278d397327b1b07c3423774a45fe6de02455a8f0ba20548c074840c89ac0fa
-AUX kmplayer-0.12.0b-qfile.patch 1387 BLAKE2B 6c04f0dc3eeed0635397a22fe5dc5b6fe5215c16a03f6c1f05a77353daac5c6b1f77d277e746b5283feaf5ba50eab68947c16cee9b6ac6f0642ba3051323c85f SHA512 3cee584d1560e4b9cf7ba621c907e3e521f0e778f728728f476cee98babb49122428605468d65d366fd382ee79746dffb5002cd6a9205f1eff3c827b77152753
-AUX kmplayer-0.12.0b-qt-5.11b3.patch 943 BLAKE2B db0b5bbf4e36859693645cde5aa67b90e2b5ab5a2658a2ef5b944ffa2973be9ab2674506260cca9d6b63bc3b7dd6c4c48469539cea0530d922cf3b7bd5514b07 SHA512 74f7e835e918d5e44147bb23ce7ac2f03385825ef049557ef983c028602a04cabb59988f2a594ccc88147d24db2c9fb3cf85b31f4fd25a67801daccddb97844c
-AUX kmplayer-0.12.0b-qt-5.9.patch 1097 BLAKE2B 093961b12c4482303c43b603ad30c5fb49a97550da77641c4cb306eded8849df76eac0dcc441c2febf5523eb07abd1a494eee2335e02bd9d1bceacc87ccdf826 SHA512 137733705a879e87c59d26b1cb609aa9246d4543f758a0987fb1dee013d47ea469cdf7a19fa8aebe01a4643c5d7ed8b5e5f9057e9f80eaa3d3f5504fccaa48e9
-AUX kmplayer-0.12.0b-schedulerepaint.patch 2085 BLAKE2B a8c51d503de212b375cf77c41cf1c581c80decfdfe30cdd98ac0ff3f4b8a7bc335e921762808994c298db47e6327bb768838c00b41e8d20e6bb211a2c62ef6ff SHA512 e3c874ca5886d3a16eab0f10169009317214c8c196d9ce70b797f97f1ed2ed9143fb31e7f99d711a2c9ede26cb957f767fabbeb3c6670d430b1d4061a02982f1
-DIST kmplayer-0.12.0b.tar.bz2 599496 BLAKE2B c27b54cf05c52ffbb78c8f623b7cab066901f647c14364da1de2fcedd96329439521ad329fc15be58491b570de17fd151c95f266738e049501a5a22ba8dd9c93 SHA512 d34c496d0c24c6d5c1bb675b83fac60da5c9672e4076aed72bac2e9b333e88d031076e7e386ec7b61ae8ece88870f6187c61f483f425aa78edd1e443c7f2e882
-EBUILD kmplayer-0.12.0b-r4.ebuild 2052 BLAKE2B 6bf6975098f2f6190da3c88824b53f7bce877aa5cf23b763d9d98c5a72eeefe9bb7d11da9e868fb2566ce6ede4bb4200fb5f5e99e586f829b852f048ebb1af60 SHA512 5e36be168e75a2d2098d4c15fbbc96291a2e1e312eeaefc89d85731f99a42c304bfb9a9d176bba60168c7f7e2513a31acfb48f0f055ec280ef1a5464a35a594f
-MISC metadata.xml 369 BLAKE2B 2aa133972dd0e135637cde16aa084542c31a85793cc055af814e27eafb8902dbb239dbf2df2bbe41cbfedd61db66be66f3fea1450d169c1aee18a5312664dd30 SHA512 3464b912770a6e66976021b81ea22d04be45800542c6fee0c5d74c3e16d8572d0bed5a94665933d4ffd405da6b744a200d991d0ecd0bd652a984277d05a459cd
diff --git a/media-video/kmplayer/files/kmplayer-0.12.0b-cmake.patch b/media-video/kmplayer/files/kmplayer-0.12.0b-cmake.patch
deleted file mode 100644
index a99b1149f8c3..000000000000
--- a/media-video/kmplayer/files/kmplayer-0.12.0b-cmake.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 2a5df7b875a8c5acb99be05baf84e5c9800d52a3 Mon Sep 17 00:00:00 2001
-From: Pino Toscano <pino@kde.org>
-Date: Sat, 13 May 2017 18:57:15 +0200
-Subject: cmake: fix endif syntax
-
-it does not match the if condition, so just remove it (also to ease
-reading it)
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 057fcc4..14a55d2 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -81,7 +81,7 @@ add_subdirectory(src)
- add_subdirectory(icons)
- if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/doc" AND KF5DocTools_VERSION)
- add_subdirectory(doc)
--endif(KF5DocTools_VERSION)
-+endif()
- add_subdirectory(data)
-
- if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
-
-From 41a284a0f5f728556280b9f942961631566ad7ff Mon Sep 17 00:00:00 2001
-From: Pino Toscano <pino@kde.org>
-Date: Sat, 13 May 2017 19:04:47 +0200
-Subject: cmake: use NO_POLICY_SCOPE for KDECompilerSettings
-
-just like done for all the other projects
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 14a55d2..5a58a35 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -15,7 +15,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_D
-
- include(KDEInstallDirs)
- include(KDECMakeSettings)
--include(KDECompilerSettings)
-+include(KDECompilerSettings NO_POLICY_SCOPE)
- include(ECMInstallIcons)
- #include(ECMSetupVersion)
- include(FeatureSummary)
---
-cgit v0.11.2
diff --git a/media-video/kmplayer/files/kmplayer-0.12.0b-desktop.patch b/media-video/kmplayer/files/kmplayer-0.12.0b-desktop.patch
deleted file mode 100644
index c84944effc29..000000000000
--- a/media-video/kmplayer/files/kmplayer-0.12.0b-desktop.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 2126d76b8f16381e576de779b94b5b4555e562c2 Mon Sep 17 00:00:00 2001
-From: Luigi Toscano <luigi.toscano@tiscali.it>
-Date: Sat, 13 May 2017 21:13:43 +0200
-Subject: Fix .desktop: Qt5 apps accept qwindowtitle, not caption
-
----
- src/org.kde.kmplayer.desktop | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/org.kde.kmplayer.desktop b/src/org.kde.kmplayer.desktop
-index fcc5255..2b5435c 100644
---- a/src/org.kde.kmplayer.desktop
-+++ b/src/org.kde.kmplayer.desktop
-@@ -1,6 +1,6 @@
- [Desktop Entry]
- Type=Application
--Exec=kmplayer -caption %c %i %U
-+Exec=kmplayer -qwindowtitle %c %i %U
- Icon=kmplayer
- X-DocPath=kmplayer/index.html
- Comment=KDE interface for MPlayer
-
-From 6b7757397c6181664d58d0a9e09cc329f279cc72 Mon Sep 17 00:00:00 2001
-From: Luigi Toscano <luigi.toscano@tiscali.it>
-Date: Sat, 13 May 2017 21:13:36 +0200
-Subject: Add org namespace to the desktop file
-
-Required by the Desktop Entry Specification for desktop file
-with Type=Application.
----
- src/CMakeLists.txt | 2 +-
- src/kmplayer_part.desktop | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 7a05382..f675d9a 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -122,7 +122,7 @@ install(TARGETS kdeinit_kmplayer ${INSTALL_TARGETS_DEFAULT_ARGS} )
-
- install(TARGETS kmplayer ${INSTALL_TARGETS_DEFAULT_ARGS})
-
--install(FILES kmplayer.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
-+install(FILES org.kde.kmplayer.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
-
- #qt5_add_dbus_interface(kmplayer_SRCS org.kde.Konqueror.Main.xml kmplayer_interface)
-
diff --git a/media-video/kmplayer/files/kmplayer-0.12.0b-devpixelratio.patch b/media-video/kmplayer/files/kmplayer-0.12.0b-devpixelratio.patch
deleted file mode 100644
index 0dea98084e3e..000000000000
--- a/media-video/kmplayer/files/kmplayer-0.12.0b-devpixelratio.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 93fa2c2587fa8b2f1b0da4ab7f7f2978f105fac2 Mon Sep 17 00:00:00 2001
-From: Koos Vriezen <koos.vriezen@gmail.com>
-Date: Sun, 30 Oct 2016 12:58:05 +0100
-Subject: Update pixel_device_ratio before painting instead on app startup
-
-Only used for adding a few pixels to text bounds. So if dragging the app
-from a low res to a hires display, that could cause text being tuncated.
----
- src/viewarea.cpp | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/src/viewarea.cpp b/src/viewarea.cpp
-index e407c95..77a260f 100644
---- a/src/viewarea.cpp
-+++ b/src/viewarea.cpp
-@@ -1892,9 +1892,6 @@ KDE_NO_CDTOR_EXPORT ViewArea::ViewArea (QWidget *, View * view, bool paint_bg)
- m_minimal (false),
- m_updaters_enabled (true),
- m_paint_background (paint_bg) {
--#if QT_VERSION >= 0x050600
-- pixel_device_ratio = devicePixelRatioF();
--#endif
- if (!paint_bg)
- setAttribute (Qt::WA_NoSystemBackground, true);
- QPalette palette;
-@@ -2030,6 +2027,7 @@ KDE_NO_EXPORT void ViewArea::mouseMoveEvent (QMouseEvent * e) {
-
- KDE_NO_EXPORT void ViewArea::syncVisual () {
- #if QT_VERSION >= 0x050600
-+ pixel_device_ratio = devicePixelRatioF();
- int w = (int)(width() * devicePixelRatioF());
- int h = (int)(height() * devicePixelRatioF());
- #else
---
-cgit v0.11.2
-
diff --git a/media-video/kmplayer/files/kmplayer-0.12.0b-qfile.patch b/media-video/kmplayer/files/kmplayer-0.12.0b-qfile.patch
deleted file mode 100644
index 32b645cd0a00..000000000000
--- a/media-video/kmplayer/files/kmplayer-0.12.0b-qfile.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 7dce8e00c8e48cc08d3cc39909681643aa36ed62 Mon Sep 17 00:00:00 2001
-From: Luigi Toscano <luigi.toscano@tiscali.it>
-Date: Mon, 8 May 2017 18:07:40 +0200
-Subject: Use QFile to copy a file instead of /bin/cp
-
-The code has been there probably way before QFile gained the copy
-functionality.
----
- src/kmplayerpartbase.cpp | 8 ++------
- 1 file changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/src/kmplayerpartbase.cpp b/src/kmplayerpartbase.cpp
-index fd7b363..f718496 100644
---- a/src/kmplayerpartbase.cpp
-+++ b/src/kmplayerpartbase.cpp
-@@ -124,12 +124,8 @@ PartBase::PartBase (QWidget * wparent, QObject * parent, KSharedConfigPtr config
- QString bmfile = KStandardDirs::locate ("data", "kmplayer/bookmarks.xml");
- QString localbmfile = KStandardDirs::locateLocal ("data", "kmplayer/bookmarks.xml");
- if (localbmfile != bmfile) {
-- QProcess p;
-- QStringList args;
-- args << QFile::encodeName (bmfile) << QFile::encodeName (localbmfile);
-- p.start ("/bin/cp", args);
-- kDebug () << "cp " << args.join (" ");
-- p.waitForFinished ();
-+ bool bmfileCopied = QFile(bmfile).copy(localbmfile);
-+ kDebug() << "bookmarks.xml copied successfully?" << bmfileCopied;
- }
- m_bookmark_manager = KBookmarkManager::managerForFile (localbmfile, "kmplayer");
- m_bookmark_owner = new BookmarkOwner (this);
---
-cgit v0.11.2
-
diff --git a/media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.11b3.patch b/media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.11b3.patch
deleted file mode 100644
index 8c91fa6c2ff3..000000000000
--- a/media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.11b3.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 66b262c344deb6ac4924966a584e8aeb3d899180 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Tue, 17 Apr 2018 12:07:04 +0200
-Subject: [PATCH] Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)
-
----
- src/CMakeLists.txt | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index f675d9a..57af1ed 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -161,9 +161,9 @@ qt5_add_dbus_adaptor(kphononplayer_SRCS org.kde.kmplayer.streamslave.xml
-
- add_executable(kphononplayer ${kphononplayer_SRCS})
-
--qt5_use_modules(kphononplayer Core DBus Widgets X11Extras)
--
--target_link_libraries(kphononplayer Phonon::phonon4qt5 ${XCB_LIBRARIES})
-+target_link_libraries(kphononplayer Phonon::phonon4qt5 ${XCB_LIBRARIES}
-+ Qt5::Core Qt5::DBus Qt5::Widgets Qt5::X11Extras
-+)
-
- install(TARGETS kphononplayer ${INSTALL_TARGETS_DEFAULT_ARGS})
-
---
-2.17.0
-
diff --git a/media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.9.patch b/media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.9.patch
deleted file mode 100644
index 80f3bee6ee88..000000000000
--- a/media-video/kmplayer/files/kmplayer-0.12.0b-qt-5.9.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 3def65075c09af4961cd399e8e78ed78cca72e65 Mon Sep 17 00:00:00 2001
-From: Wolfgang Bauer <wbauer@tmo.at>
-Date: Wed, 11 Oct 2017 22:16:02 +0200
-Subject: Fix build with Qt 5.9
-
-Summary:
-moc 5.9 errors out when building:
-Error: Plugin Metadata file "" could not be opened: file to open is a directory
-
-Same issue and fix as https://phabricator.kde.org/D5392 for khtml.
-
-CCBUG: 377490
-
-Test Plan: builds fine now with Qt 5.9.0rc and also earlier versions.
-
-Reviewers: vriezen, pino
-
-Reviewed By: pino
-
-Subscribers: pino
-
-Differential Revision: https://phabricator.kde.org/D5985
----
- src/kmplayer_part.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/kmplayer_part.h b/src/kmplayer_part.h
-index f90f85d..0fddbaa 100644
---- a/src/kmplayer_part.h
-+++ b/src/kmplayer_part.h
-@@ -36,7 +36,7 @@ namespace KMPlayer {
-
- class KMPlayerFactory : public KPluginFactory {
- Q_OBJECT
-- Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory" FILE "")
-+ Q_PLUGIN_METADATA(IID "org.kde.KPluginFactory")
- Q_INTERFACES(KPluginFactory)
- public:
- KMPlayerFactory();
---
-cgit v0.11.2
-
diff --git a/media-video/kmplayer/files/kmplayer-0.12.0b-schedulerepaint.patch b/media-video/kmplayer/files/kmplayer-0.12.0b-schedulerepaint.patch
deleted file mode 100644
index 02bf9f38b561..000000000000
--- a/media-video/kmplayer/files/kmplayer-0.12.0b-schedulerepaint.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 5517262a2a328518dd42a8aa0e37a34152a06282 Mon Sep 17 00:00:00 2001
-From: Koos Vriezen <koos.vriezen@gmail.com>
-Date: Sun, 30 Oct 2016 12:50:03 +0100
-Subject: scheduleRepaint should be called with pixel coordinates
-
----
- src/viewarea.cpp | 31 ++++++++++++++++++++++++++-----
- 1 file changed, 26 insertions(+), 5 deletions(-)
-
-diff --git a/src/viewarea.cpp b/src/viewarea.cpp
-index 24f68cf..e4df941 100644
---- a/src/viewarea.cpp
-+++ b/src/viewarea.cpp
-@@ -2117,9 +2117,20 @@ KDE_NO_EXPORT void ViewArea::syncVisual () {
-
- KDE_NO_EXPORT void ViewArea::paintEvent (QPaintEvent * pe) {
- #ifdef KMPLAYER_WITH_CAIRO
-- if (surface->node)
-- scheduleRepaint (IRect (pe->rect ().x (), pe->rect ().y (), pe->rect ().width (), pe->rect ().height ()));
-- else
-+ if (surface->node) {
-+#if QT_VERSION >= 0x050600
-+ int x = (int)(pe->rect().x() * devicePixelRatioF());
-+ int y = (int)(pe->rect().y() * devicePixelRatioF());
-+ int w = (int)(pe->rect().width() * devicePixelRatioF());
-+ int h = (int)(pe->rect().height() * devicePixelRatioF());
-+#else
-+ int x = pe->rect().x();
-+ int y = pe->rect().y();
-+ int w = pe->rect().width();
-+ int h = pe->rect().height();
-+#endif
-+ scheduleRepaint(IRect(x, y, w, h));
-+ } else
- #endif
- if (m_fullscreen || m_paint_background)
- {
-@@ -2647,8 +2658,18 @@ void VideoOutput::setGeometry (const IRect &rect) {
- void VideoOutput::setAspect (float a) {
- m_aspect = a;
- QRect r = geometry ();
-- m_view->viewArea ()->scheduleRepaint (
-- IRect (r.x (), r.y (), r.width (), r.height ()));
-+#if QT_VERSION >= 0x050600
-+ int x = (int)(r.x() * devicePixelRatioF());
-+ int y = (int)(r.y() * devicePixelRatioF());
-+ int w = (int)(r.width() * devicePixelRatioF());
-+ int h = (int)(r.height() * devicePixelRatioF());
-+#else
-+ int x = r.x();
-+ int y = r.y();
-+ int w = r.width();
-+ int h = r.height();
-+#endif
-+ m_view->viewArea()->scheduleRepaint(IRect(x, y, w, h));
- }
-
- KDE_NO_EXPORT void VideoOutput::map () {
---
-cgit v0.11.2
-
diff --git a/media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild b/media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild
deleted file mode 100644
index 6feb296bfb3c..000000000000
--- a/media-video/kmplayer/kmplayer-0.12.0b-r4.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="true"
-KFMIN=5.60.0
-QTMIN=5.12.3
-inherit ecm kde.org
-
-DESCRIPTION="Video player plugin for Konqueror and basic MPlayer frontend"
-HOMEPAGE="https://kmplayer.kde.org https://apps.kde.org/en/kmplayer"
-
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${PN}/$(ver_cut 1-2)/${P}.tar.bz2"
- KEYWORDS="amd64 x86"
-fi
-
-LICENSE="GPL-2 FDL-1.2 LGPL-2.1"
-SLOT="5"
-IUSE="cairo"
-
-BDEPEND="sys-devel/gettext"
-DEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/kbookmarks-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kdelibs4support-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kmediaplayer-${KFMIN}:5
- >=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=media-libs/phonon-4.11.0
- x11-libs/libX11
- x11-libs/libxcb
- cairo? ( x11-libs/cairo[X,xcb(+)] )
-"
-RDEPEND="${DEPEND}
- media-video/mplayer
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-schedulerepaint.patch
- "${FILESDIR}"/${P}-devpixelratio.patch
- "${FILESDIR}"/${P}-qfile.patch
- "${FILESDIR}"/${P}-cmake.patch
- "${FILESDIR}"/${P}-desktop.patch
- "${FILESDIR}"/${P}-qt-5.9.patch
- "${FILESDIR}"/${P}-qt-5.11b3.patch
-)
-
-src_prepare() {
- # Prerequisite for ${P}-desktop.patch:
- mv src/kmplayer.desktop src/org.kde.kmplayer.desktop || die
- ecm_src_prepare
-}
-
-src_configure() {
- # 0.12: expat build broken, check in later releases
- local mycmakeargs=(
- -DKMPLAYER_BUILT_WITH_EXPAT=OFF
- -DKMPLAYER_BUILT_WITH_NPP=OFF
- -DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo)
- )
- ecm_src_configure
-}
diff --git a/media-video/kmplayer/metadata.xml b/media-video/kmplayer/metadata.xml
deleted file mode 100644
index e68bcea066c3..000000000000
--- a/media-video/kmplayer/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
- </maintainer>
- <maintainer type="project">
- <email>media-video@gentoo.org</email>
- <name>Gentoo Video project</name>
- </maintainer>
-</pkgmetadata>