summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-16 07:34:50 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-16 08:37:07 +0100
commit55aa0bed7b35b16749ce1aa20c13c6d8bf51cc0a (patch)
treea028c31e0d9f209867c1ab4880524e6c57f2e33b /kde-apps/korganizer
parentwww-apps/grafana-bin: Bump to 8.2.4, remove old (diff)
downloadgentoo-55aa0bed7b35b16749ce1aa20c13c6d8bf51cc0a.tar.gz
gentoo-55aa0bed7b35b16749ce1aa20c13c6d8bf51cc0a.tar.bz2
gentoo-55aa0bed7b35b16749ce1aa20c13c6d8bf51cc0a.zip
kde-apps/korganizer: Drop bogus deps
Upstream commits: cb76ece2ab7f02a94b6dd0fac203a64da9cd2862 1b81f7493d446449ee3d44332f8fbedf52b149f3 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/korganizer')
-rw-r--r--kde-apps/korganizer/files/korganizer-21.08.3-unused-deps.patch39
-rw-r--r--kde-apps/korganizer/korganizer-21.08.3-r1.ebuild101
2 files changed, 140 insertions, 0 deletions
diff --git a/kde-apps/korganizer/files/korganizer-21.08.3-unused-deps.patch b/kde-apps/korganizer/files/korganizer-21.08.3-unused-deps.patch
new file mode 100644
index 000000000000..96df720f0c98
--- /dev/null
+++ b/kde-apps/korganizer/files/korganizer-21.08.3-unused-deps.patch
@@ -0,0 +1,39 @@
+From 1b81f7493d446449ee3d44332f8fbedf52b149f3 Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Sun, 3 Oct 2021 11:48:52 +0200
+Subject: [PATCH] akonadi-search is unused
+
+---
+ CMakeLists.txt | 3 ---
+ src/CMakeLists.txt | 1 -
+ 3 files changed, 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2b393f911..a46b6254f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -75,9 +75,6 @@ set(CALENDARSUPPORT_LIB_VERSION "5.18.40")
+ set(EVENTVIEW_LIB_VERSION "5.18.42")
+ set(AKONADI_SEARCH_VERSION "5.18.40")
+
+-find_package(KF5AkonadiSearch ${AKONADI_SEARCH_VERSION} CONFIG REQUIRED)
+-set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi Search libraries" URL "ttps://invent.kde.org/pim/akonadi-search" TYPE REQUIRED PURPOSE "Provides search capabilities in pim apps and Akonadi")
+-
+ # Find KF5 package
+ find_package(KF5I18n ${KF5_MIN_VERSION} CONFIG REQUIRED)
+ find_package(KF5Codecs ${KF5_MIN_VERSION} CONFIG REQUIRED)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 72b5a9f39..ea90c2203 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -295,7 +295,6 @@ target_link_libraries(korganizerprivate
+ KF5::AkonadiCore
+ KF5::AkonadiCalendar
+ KF5::AkonadiNotes
+- KF5::AkonadiSearchPIM
+ KF5::Contacts
+ KF5::CalendarCore
+ KF5::CalendarUtils
+--
+GitLab
+
diff --git a/kde-apps/korganizer/korganizer-21.08.3-r1.ebuild b/kde-apps/korganizer/korganizer-21.08.3-r1.ebuild
new file mode 100644
index 000000000000..81ab06f8a697
--- /dev/null
+++ b/kde-apps/korganizer/korganizer-21.08.3-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.84.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Organizational assistant, providing calendars and other similar functionality"
+HOMEPAGE="https://apps.kde.org/korganizer/"
+
+LICENSE="GPL-2+ handbook? ( FDL-1.2+ )"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="telemetry X"
+
+# testkodaymatrix is broken, akonadi* tests need DBus, bug #665686
+RESTRICT="test"
+
+COMMON_DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/akonadi-${PVCUT}:5
+ >=kde-apps/akonadi-calendar-${PVCUT}:5
+ >=kde-apps/akonadi-contacts-${PVCUT}:5
+ >=kde-apps/akonadi-mime-${PVCUT}:5
+ >=kde-apps/akonadi-notes-${PVCUT}:5
+ >=kde-apps/calendarsupport-${PVCUT}:5
+ >=kde-apps/eventviews-${PVCUT}:5
+ >=kde-apps/incidenceeditor-${PVCUT}:5
+ >=kde-apps/kcalutils-${PVCUT}:5
+ >=kde-apps/kidentitymanagement-${PVCUT}:5
+ >=kde-apps/kmailtransport-${PVCUT}:5
+ >=kde-apps/kmime-${PVCUT}:5
+ >=kde-apps/kontactinterface-${PVCUT}:5
+ >=kde-apps/kpimtextedit-${PVCUT}:5
+ >=kde-apps/libkdepim-${PVCUT}:5
+ >=kde-apps/pimcommon-${PVCUT}:5
+ >=kde-frameworks/kcalendarcore-${KFMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kcodecs-${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/kholidays-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemmodels-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/knewstuff-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=media-libs/phonon-4.11.0
+ telemetry? ( dev-libs/kuserfeedback:5 )
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libX11
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-qt/designer-${QTMIN}:5
+ >=kde-apps/kldap-${PVCUT}:5
+ test? ( >=kde-apps/akonadi-${PVCUT}:5[sqlite] )
+"
+RDEPEND="${COMMON_DEPEND}
+ >=kde-apps/kdepim-runtime-${PVCUT}:5
+"
+BDEPEND="
+ test? ( >=kde-apps/akonadi-${PVCUT}:5[tools] )
+"
+
+PATCHES=( "${FILESDIR}/${P}-unused-deps.patch" )
+
+src_prepare() {
+ ecm_src_prepare
+ ecm_punt_bogus_dep KF5 GrantleeTheme
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package telemetry KUserFeedback)
+ $(cmake_use_find_package X X11)
+ )
+
+ ecm_src_configure
+}