summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-16 08:10:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-16 08:37:08 +0100
commitbb479c468067e15bbc18c3f9978a89e86a3ec31a (patch)
treedebe6c88cde8dcb649bc7f91dfa43c7a93e8f65d /kde-apps
parentkde-apps/mbox-importer: Punt bogus dep (diff)
downloadgentoo-bb479c468067e15bbc18c3f9978a89e86a3ec31a.tar.gz
gentoo-bb479c468067e15bbc18c3f9978a89e86a3ec31a.tar.bz2
gentoo-bb479c468067e15bbc18c3f9978a89e86a3ec31a.zip
kde-apps/pim-sieve-editor: Drop bogus dep
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/pim-sieve-editor/files/pim-sieve-editor-21.08.3-unused-dep.patch51
-rw-r--r--kde-apps/pim-sieve-editor/pim-sieve-editor-21.08.3-r1.ebuild57
2 files changed, 108 insertions, 0 deletions
diff --git a/kde-apps/pim-sieve-editor/files/pim-sieve-editor-21.08.3-unused-dep.patch b/kde-apps/pim-sieve-editor/files/pim-sieve-editor-21.08.3-unused-dep.patch
new file mode 100644
index 000000000000..c3a1bcb87540
--- /dev/null
+++ b/kde-apps/pim-sieve-editor/files/pim-sieve-editor-21.08.3-unused-dep.patch
@@ -0,0 +1,51 @@
+From ffaa4290742302dc25976abefc7a7888fee65fec Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sat, 24 Apr 2021 20:46:28 +0200
+Subject: [PATCH] Remove unused KIconThemes dep
+
+---
+ CMakeLists.txt | 1 -
+ src/CMakeLists.txt | 1 -
+ src/sieveeditormainwindow.cpp | 2 --
+ 3 files changed, 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d529344..a6f5aaa 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -59,7 +59,6 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Network)
+ find_package(KF5DBusAddons ${KF5_MIN_VERSION} CONFIG REQUIRED)
+ find_package(KF5Crash ${KF5_MIN_VERSION} REQUIRED)
+ find_package(KF5Bookmarks ${KF5_MIN_VERSION} REQUIRED)
+-find_package(KF5IconThemes ${KF5_MIN_VERSION} REQUIRED)
+ find_package(KF5KIO ${KF5_MIN_VERSION} REQUIRED)
+ find_package(KF5DocTools ${KF5_MIN_VERSION})
+ set_package_properties(KF5DocTools PROPERTIES DESCRIPTION
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 565851a..c6c8914 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -85,7 +85,6 @@ target_link_libraries(libsieveeditor
+ KF5::MailTransport
+ KF5::Bookmarks
+ KF5::I18n
+- KF5::IconThemes
+ KF5::XmlGui
+ KF5::PimCommon
+ KF5::KSieveUi
+diff --git a/src/sieveeditormainwindow.cpp b/src/sieveeditormainwindow.cpp
+index 73e1c7d..bd4258b 100644
+--- a/src/sieveeditormainwindow.cpp
++++ b/src/sieveeditormainwindow.cpp
+@@ -17,8 +17,6 @@
+ #include "sieveserversettings.h"
+ #include <PimCommon/KActionMenuChangeCase>
+
+-#include <KIconEngine>
+-#include <KIconLoader>
+ #include <KSharedConfig>
+ #include <PimCommon/NetworkManager>
+
+--
+GitLab
+
diff --git a/kde-apps/pim-sieve-editor/pim-sieve-editor-21.08.3-r1.ebuild b/kde-apps/pim-sieve-editor/pim-sieve-editor-21.08.3-r1.ebuild
new file mode 100644
index 000000000000..7ee26913c1ad
--- /dev/null
+++ b/kde-apps/pim-sieve-editor/pim-sieve-editor-21.08.3-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="true"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.84.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Assistant for editing IMAP Sieve filters"
+
+LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="telemetry"
+
+DEPEND="
+ dev-libs/qtkeychain:=
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/akonadi-${PVCUT}:5
+ >=kde-apps/akonadi-contacts-${PVCUT}:5
+ >=kde-apps/akonadi-mime-${PVCUT}:5
+ >=kde-apps/calendarsupport-${PVCUT}:5
+ >=kde-apps/kmailtransport-${PVCUT}:5
+ >=kde-apps/libksieve-${PVCUT}:5
+ >=kde-apps/pimcommon-${PVCUT}:5
+ >=kde-frameworks/kbookmarks-${KFMIN}:5
+ >=kde-frameworks/kcalendarcore-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcontacts-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ telemetry? ( dev-libs/kuserfeedback:5 )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package telemetry KUserFeedback)
+ )
+
+ ecm_src_configure
+}