summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-26 22:55:48 +0100
committerSam James <sam@gentoo.org>2022-04-26 22:55:48 +0100
commitd963538dfba521c832dbb1443cccd551480aba74 (patch)
treeea431b05a72fcbfe4d9f8740a3b828d2751a8144 /kde-apps
parentdev-python/etuples: Stabilize 0.3.5 ALLARCHES, #841050 (diff)
downloadgentoo-d963538dfba521c832dbb1443cccd551480aba74.tar.gz
gentoo-d963538dfba521c832dbb1443cccd551480aba74.tar.bz2
gentoo-d963538dfba521c832dbb1443cccd551480aba74.zip
kde-apps/kcalutils: backport installation path fix
Backports upstream commit 494331a28bb722b4ab4c38a2520f305b8f7ad8fa. See: https://mail.kde.org/pipermail/distributions/2022-April/001223.html Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kcalutils/files/kcalutils-22.04.0-kmail-calendar-invites.patch29
-rw-r--r--kde-apps/kcalutils/kcalutils-22.04.0-r1.ebuild42
2 files changed, 71 insertions, 0 deletions
diff --git a/kde-apps/kcalutils/files/kcalutils-22.04.0-kmail-calendar-invites.patch b/kde-apps/kcalutils/files/kcalutils-22.04.0-kmail-calendar-invites.patch
new file mode 100644
index 000000000000..56ac25b3d451
--- /dev/null
+++ b/kde-apps/kcalutils/files/kcalutils-22.04.0-kmail-calendar-invites.patch
@@ -0,0 +1,29 @@
+https://mail.kde.org/pipermail/distributions/2022-April/001223.html
+https://invent.kde.org/pim/kcalutils/-/commit/494331a28bb722b4ab4c38a2520f305b8f7ad8fa
+
+From 494331a28bb722b4ab4c38a2520f305b8f7ad8fa Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Fri, 22 Apr 2022 19:06:36 +0200
+Subject: [PATCH] Fix Bug 452480: Kmail doesn't display calendar invites
+
+BUG:452480
+FIXED-IN: 5.17.1
+--- a/src/grantlee_plugin/CMakeLists.txt
++++ b/src/grantlee_plugin/CMakeLists.txt
+@@ -21,6 +21,12 @@ target_link_libraries(kcalendar_grantlee_plugin
+ KF5CalendarUtils
+ )
+
+-install(TARGETS kcalendar_grantlee_plugin
+- LIBRARY DESTINATION ${LIB_INSTALL_DIR}/KTextTemplate/${KTextTemplate_MAJOR_MINOR_VERSION_STRING}/
+-)
++if (QT_MAJOR_VERSION STREQUAL "5")
++ install(TARGETS kcalendar_grantlee_plugin
++ LIBRARY DESTINATION ${LIB_INSTALL_DIR}/grantlee/${Grantlee5_VERSION_MAJOR}.${Grantlee5_VERSION_MINOR}/
++ )
++else()
++ install(TARGETS kcalendar_grantlee_plugin
++ LIBRARY DESTINATION ${LIB_INSTALL_DIR}/KTextTemplate/${KTextTemplate_MAJOR_MINOR_VERSION_STRING}/
++ )
++endif()
+GitLab
diff --git a/kde-apps/kcalutils/kcalutils-22.04.0-r1.ebuild b/kde-apps/kcalutils/kcalutils-22.04.0-r1.ebuild
new file mode 100644
index 000000000000..25a4d5234e2d
--- /dev/null
+++ b/kde-apps/kcalutils/kcalutils-22.04.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_QTHELP="true"
+ECM_TEST="true"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.92.0
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Library providing utility functions for the handling of calendar data"
+HOMEPAGE="https://api.kde.org/kdepim/kcalutils/html/index.html"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE=""
+
+RESTRICT="test" # bugs 653616, 711666
+
+DEPEND="
+ >=dev-libs/grantlee-5.2.0:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/kidentitymanagement-${PVCUT}:5
+ >=kde-frameworks/kcalendarcore-${KFMIN}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-kmail-calendar-invites.patch
+)