kde-apps/eventviews: Drop unused DEPEND
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 5 Mar 2020 19:36:38 +0000 (20:36 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 5 Mar 2020 19:39:00 +0000 (20:39 +0100)
Upstream commit 80b191fd01268cbd5afa2cff6925a56f9d1a2ccc

Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-apps/eventviews/eventviews-19.12.3.ebuild
kde-apps/eventviews/files/eventviews-19.12.3-unused-dep.patch [new file with mode: 0644]

index 748d0d758ff7cc5e7a9585fa1533894dfe7e6e47..704597a48e69efa72bc6306820b8af58a8af3f20 100644 (file)
@@ -37,10 +37,11 @@ DEPEND="
        >=kde-apps/kcalutils-${PVCUT}:5
        >=kde-apps/kmime-${PVCUT}:5
        >=kde-apps/libkdepim-${PVCUT}:5
-       >=dev-qt/designer-${QTMIN}:5
        >=dev-qt/qtgui-${QTMIN}:5=
        >=dev-qt/qtwidgets-${QTMIN}:5
        dev-libs/kdiagram:5
        dev-libs/libical
 "
 RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" )
diff --git a/kde-apps/eventviews/files/eventviews-19.12.3-unused-dep.patch b/kde-apps/eventviews/files/eventviews-19.12.3-unused-dep.patch
new file mode 100644 (file)
index 0000000..1b4ef66
--- /dev/null
@@ -0,0 +1,24 @@
+From 80b191fd01268cbd5afa2cff6925a56f9d1a2ccc Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Thu, 5 Mar 2020 13:49:34 +0100
+Subject: UiTools is not required for building it
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 19d256f..fceabb0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -38,7 +38,7 @@ set(LIBKDEPIM_LIB_VERSION "5.13.40")
+ set(CALENDARSUPPORT_LIB_VERSION "5.13.40")
+ find_package(KF5Akonadi ${AKONADI_LIB_VERSION} CONFIG REQUIRED)
+-find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets UiTools)
++find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets)
+ find_package(KF5I18n ${KF5_MIN_VERSION} CONFIG REQUIRED)
+ find_package(KF5Codecs ${KF5_MIN_VERSION} CONFIG REQUIRED)
+ find_package(KF5GuiAddons ${KF5_MIN_VERSION} CONFIG REQUIRED)
+-- 
+cgit v1.1