summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-misc/basket/basket-2.49a.ebuild2
-rw-r--r--kde-misc/basket/files/basket-2.49a-deps.patch72
2 files changed, 74 insertions, 0 deletions
diff --git a/kde-misc/basket/basket-2.49a.ebuild b/kde-misc/basket/basket-2.49a.ebuild
index 1d9710dc005b..9ce92828c194 100644
--- a/kde-misc/basket/basket-2.49a.ebuild
+++ b/kde-misc/basket/basket-2.49a.ebuild
@@ -54,6 +54,8 @@ DEPEND="${RDEPEND}
$(add_qt_dep qtconcurrent)
"
+PATCHES=( "${FILESDIR}"/${P}-deps.patch )
+
src_prepare() {
kde5_src_prepare
if ! use test; then
diff --git a/kde-misc/basket/files/basket-2.49a-deps.patch b/kde-misc/basket/files/basket-2.49a-deps.patch
new file mode 100644
index 000000000000..225d484c407b
--- /dev/null
+++ b/kde-misc/basket/files/basket-2.49a-deps.patch
@@ -0,0 +1,72 @@
+commit 1372381456ceb4d3d15f6c78df6ba8bf0a3388a2
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sat Feb 18 19:02:21 2017 +0100
+
+ Fix dependencies
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 50858f6..2997365 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,8 +33,10 @@ endif (BUILD_KPARTS)
+ find_package(Qt5 REQUIRED COMPONENTS
+ Concurrent
+ Core
+- Gui
+ DBus
++ Gui
++ Widgets
++ Xml
+ )
+
+ include(KDECompilerSettings)
+@@ -44,6 +46,7 @@ include(KDECMakeSettings)
+
+ find_package(KF5 REQUIRED COMPONENTS
+ Archive
++ Completion
+ Config
+ ConfigWidgets #KCM
+ CoreAddons
+@@ -51,7 +54,6 @@ find_package(KF5 REQUIRED COMPONENTS
+ DBusAddons
+ DocTools
+ FileMetaData
+- FrameworkIntegration
+ GlobalAccel
+ GuiAddons
+ I18n
+@@ -60,7 +62,9 @@ find_package(KF5 REQUIRED COMPONENTS
+ KIO
+ Notifications
+ Parts
++ Service
+ TextWidgets
++ WidgetsAddons
+ WindowSystem
+ XmlGui
+ )
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index f08dbe0..b394573 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -83,7 +83,6 @@ target_link_libraries(basketcommon
+ KF5::KIOWidgets
+ KF5::Notifications
+ KF5::Parts
+- KF5::Style
+ KF5::TextWidgets
+ KF5::WindowSystem
+ KF5::XmlGui
+diff --git a/src/basketscene.cpp b/src/basketscene.cpp
+index 638199c..55b2f09 100644
+--- a/src/basketscene.cpp
++++ b/src/basketscene.cpp
+@@ -62,7 +62,6 @@
+ #include <QMenu>
+
+ #include <KTextEdit>
+-#include <KStyle>
+
+ #include <KColorScheme> // for KStatefulBrush
+ #include <KOpenWithDialog>