Lines 1-82
Link Here
|
1 |
# Copyright 1999-2024 Gentoo Authors |
1 |
# Copyright 1999-2024 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=8 |
4 |
EAPI=8 |
5 |
|
5 |
|
6 |
ECM_TEST="forceoptional" |
6 |
ECM_TEST="forceoptional" |
7 |
PVCUT=$(ver_cut 1-3) |
7 |
PVCUT=$(ver_cut 1-3) |
8 |
KFMIN=6.3.0 |
8 |
KFMIN=6.3.0 |
9 |
QTMIN=6.6.2 |
9 |
QTMIN=6.6.2 |
10 |
inherit ecm gear.kde.org optfeature |
10 |
inherit ecm gear.kde.org optfeature |
11 |
|
11 |
|
12 |
DESCRIPTION="Plugins for KDE Personal Information Management Suite" |
12 |
DESCRIPTION="Plugins for KDE Personal Information Management Suite" |
13 |
HOMEPAGE="https://apps.kde.org/kontact/" |
13 |
HOMEPAGE="https://apps.kde.org/kontact/" |
14 |
|
14 |
|
15 |
LICENSE="GPL-2+ LGPL-2.1+" |
15 |
LICENSE="GPL-2+ LGPL-2.1+" |
16 |
SLOT="6" |
16 |
SLOT="6" |
17 |
KEYWORDS="amd64 arm64" |
17 |
KEYWORDS="amd64 arm64" |
18 |
IUSE="importwizard markdown" |
18 |
IUSE="importwizard markdown" |
19 |
|
19 |
|
20 |
RESTRICT="test" |
20 |
RESTRICT="test" |
21 |
|
21 |
|
22 |
RDEPEND=" |
22 |
RDEPEND=" |
23 |
>=app-crypt/gpgme-1.23.1-r1:=[cxx,qt6] |
23 |
>=app-crypt/gpgme-1.23.1-r1:=[cxx,qt6] |
24 |
>=dev-libs/ktextaddons-1.5.4:6 |
24 |
>=dev-libs/ktextaddons-1.5.4:6 |
25 |
>=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets,xml] |
25 |
>=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets,xml] |
26 |
>=kde-apps/akonadi-${PVCUT}:6 |
26 |
>=kde-apps/akonadi-${PVCUT}:6 |
27 |
>=kde-apps/akonadi-contacts-${PVCUT}:6 |
27 |
>=kde-apps/akonadi-contacts-${PVCUT}:6 |
28 |
>=kde-apps/akonadi-notes-${PVCUT}:6 |
28 |
>=kde-apps/akonadi-notes-${PVCUT}:6 |
29 |
>=kde-apps/calendarsupport-${PVCUT}:6 |
29 |
>=kde-apps/calendarsupport-${PVCUT}:6 |
30 |
>=kde-apps/eventviews-${PVCUT}:6 |
30 |
>=kde-apps/eventviews-${PVCUT}:6 |
31 |
>=kde-apps/grantleetheme-${PVCUT}:6 |
31 |
>=kde-apps/grantleetheme-${PVCUT}:6 |
32 |
>=kde-apps/incidenceeditor-${PVCUT}:6 |
32 |
>=kde-apps/incidenceeditor-${PVCUT}:6 |
33 |
>=kde-apps/kaddressbook-${PVCUT}:6 |
33 |
>=kde-apps/kaddressbook-${PVCUT}:6 |
34 |
>=kde-apps/kidentitymanagement-${PVCUT}:6 |
34 |
>=kde-apps/kidentitymanagement-${PVCUT}:6 |
35 |
>=kde-apps/kimap-${PVCUT}:6 |
35 |
>=kde-apps/kimap-${PVCUT}:6 |
36 |
>=kde-apps/kitinerary-${PVCUT}:6 |
36 |
>=kde-apps/kitinerary-${PVCUT}:6 |
37 |
>=kde-apps/kmailtransport-${PVCUT}:6 |
37 |
>=kde-apps/kmailtransport-${PVCUT}:6 |
38 |
>=kde-apps/kmime-${PVCUT}:6 |
38 |
>=kde-apps/kmime-${PVCUT}:6 |
39 |
>=kde-apps/kpkpass-${PVCUT}:6 |
39 |
>=kde-apps/kpkpass-${PVCUT}:6 |
40 |
>=kde-apps/libkdepim-${PVCUT}:6 |
40 |
>=kde-apps/libkdepim-${PVCUT}:6 |
41 |
>=kde-apps/libkleo-${PVCUT}:6 |
41 |
>=kde-apps/libkleo-${PVCUT}:6 |
42 |
>=kde-apps/libksieve-${PVCUT}:6 |
42 |
>=kde-apps/libksieve-${PVCUT}:6 |
43 |
>=kde-apps/libktnef-${PVCUT}:6 |
43 |
>=kde-apps/libktnef-${PVCUT}:6 |
44 |
>=kde-apps/mailcommon-${PVCUT}:6 |
44 |
>=kde-apps/mailcommon-${PVCUT}:6 |
45 |
>=kde-apps/messagelib-${PVCUT}:6 |
45 |
>=kde-apps/messagelib-${PVCUT}:6 |
46 |
>=kde-apps/pimcommon-${PVCUT}:6 |
46 |
>=kde-apps/pimcommon-${PVCUT}:6 |
47 |
>=kde-frameworks/kcompletion-${KFMIN}:6 |
47 |
>=kde-frameworks/kcompletion-${KFMIN}:6 |
48 |
>=kde-frameworks/kconfig-${KFMIN}:6 |
48 |
>=kde-frameworks/kconfig-${KFMIN}:6 |
49 |
>=kde-frameworks/kconfigwidgets-${KFMIN}:6 |
49 |
>=kde-frameworks/kconfigwidgets-${KFMIN}:6 |
50 |
>=kde-frameworks/kcontacts-${KFMIN}:6 |
50 |
>=kde-frameworks/kcontacts-${KFMIN}:6 |
51 |
>=kde-frameworks/kcoreaddons-${KFMIN}:6 |
51 |
>=kde-frameworks/kcoreaddons-${KFMIN}:6 |
52 |
>=kde-frameworks/kdbusaddons-${KFMIN}:6 |
52 |
>=kde-frameworks/kdbusaddons-${KFMIN}:6 |
53 |
>=kde-frameworks/kguiaddons-${KFMIN}:6 |
53 |
>=kde-frameworks/kguiaddons-${KFMIN}:6 |
54 |
>=kde-frameworks/ki18n-${KFMIN}:6 |
54 |
>=kde-frameworks/ki18n-${KFMIN}:6 |
55 |
>=kde-frameworks/kiconthemes-${KFMIN}:6 |
55 |
>=kde-frameworks/kiconthemes-${KFMIN}:6 |
56 |
>=kde-frameworks/kio-${KFMIN}:6 |
56 |
>=kde-frameworks/kio-${KFMIN}:6 |
57 |
>=kde-frameworks/kparts-${KFMIN}:6 |
57 |
>=kde-frameworks/kparts-${KFMIN}:6 |
58 |
>=kde-frameworks/ktexttemplate-${KFMIN}:6 |
58 |
>=kde-frameworks/ktexttemplate-${KFMIN}:6 |
59 |
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6 |
59 |
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6 |
60 |
>=kde-frameworks/kxmlgui-${KFMIN}:6 |
60 |
>=kde-frameworks/kxmlgui-${KFMIN}:6 |
61 |
>=kde-frameworks/prison-${KFMIN}:6 |
61 |
>=kde-frameworks/prison-${KFMIN}:6 |
62 |
>=kde-frameworks/syntax-highlighting-${KFMIN}:6 |
62 |
>=kde-frameworks/syntax-highlighting-${KFMIN}:6 |
63 |
importwizard? ( >=kde-apps/akonadi-import-wizard-${PVCUT}:6 ) |
63 |
importwizard? ( >=kde-apps/akonadi-import-wizard-${PVCUT}:6 ) |
64 |
markdown? ( app-text/discount:= ) |
64 |
markdown? ( app-text/discount:= ) |
65 |
" |
65 |
" |
66 |
DEPEND="${RDEPEND}" |
66 |
DEPEND="${RDEPEND}" |
67 |
|
67 |
|
68 |
src_configure() { |
68 |
src_configure() { |
69 |
local mycmakeargs=( |
69 |
local mycmakeargs=( |
70 |
$(cmake_use_find_package importwizard KPim6ImportWizard) |
70 |
$(cmake_use_find_package importwizard KPim6ImportWizard) |
71 |
$(cmake_use_find_package markdown Discount) |
71 |
$(cmake_use_find_package markdown Discount) |
|
|
72 |
-DCMAKE_DISABLE_FIND_PACKAGE_Corrosion=YES |
72 |
) |
73 |
) |
73 |
|
74 |
|
74 |
ecm_src_configure |
75 |
ecm_src_configure |
75 |
} |
76 |
} |
76 |
|
77 |
|
77 |
pkg_postinst() { |
78 |
pkg_postinst() { |
78 |
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
79 |
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
79 |
optfeature "regex support for Sieve editor plugin" kde-misc/kregexpeditor |
80 |
optfeature "regex support for Sieve editor plugin" kde-misc/kregexpeditor |
80 |
fi |
81 |
fi |
81 |
ecm_pkg_postinst |
82 |
ecm_pkg_postinst |
82 |
} |
83 |
} |