1 |
commit: c0119aa4e2ad952eca99e536f553d6d322c8ae3a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 1 21:55:35 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 1 23:11:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c0119aa4 |
7 |
|
8 |
kde-misc/itinerary: Update DEPENDs, add IUSE=notifications |
9 |
|
10 |
Upstream commits: |
11 |
d8f8fa89fa3759f84a3c9b2f08e06b65209977a7 |
12 |
442db7fa87c3b35e9732430849419866dd6d646b |
13 |
93c61f5003a387e059bf1148f9c52e9dca2a2ae2 |
14 |
49104b6cdafa8fdc786557985b989703f5035d53 |
15 |
f1c2a04eb2a2d3553abf51cdcccd2887caff21fa |
16 |
978e6773388a2c76f269f3644f8307fd2d50ce66 |
17 |
8a1b2f02bb1db25fb9965a8c4b867b56aeaa4cb8 |
18 |
6c8955cafeeb68a393afc5fc53b9c08a625aad97 |
19 |
|
20 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
21 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
22 |
|
23 |
kde-misc/itinerary/itinerary-9999.ebuild | 41 ++++++++++++++++++++++++-------- |
24 |
kde-misc/itinerary/metadata.xml | 3 +++ |
25 |
2 files changed, 34 insertions(+), 10 deletions(-) |
26 |
|
27 |
diff --git a/kde-misc/itinerary/itinerary-9999.ebuild b/kde-misc/itinerary/itinerary-9999.ebuild |
28 |
index 4cb701c7f5..746151c0a6 100644 |
29 |
--- a/kde-misc/itinerary/itinerary-9999.ebuild |
30 |
+++ b/kde-misc/itinerary/itinerary-9999.ebuild |
31 |
@@ -4,37 +4,58 @@ |
32 |
EAPI=7 |
33 |
|
34 |
ECM_TEST="forceoptional" |
35 |
-KDE_APPS_MINIMAL=19.04.3 |
36 |
+PVCUT=$(ver_cut 1-3) |
37 |
KFMIN=5.74.0 |
38 |
QTMIN=5.15.1 |
39 |
-inherit ecm kde.org |
40 |
+inherit ecm kde.org optfeature |
41 |
|
42 |
-DESCRIPTION="Data Model and Extraction System for Travel Reservation information" |
43 |
-HOMEPAGE+=" https://www.volkerkrause.eu/2018/08/19/kde-itinerary-introduction.html" |
44 |
+DESCRIPTION="Digital travel assistant with a priority on protecting your privacy" |
45 |
+HOMEPAGE="https://apps.kde.org/en/itinerary |
46 |
+https://www.volkerkrause.eu/2018/08/19/kde-itinerary-introduction.html" |
47 |
|
48 |
LICENSE="LGPL-2+" |
49 |
SLOT="5" |
50 |
KEYWORDS="" |
51 |
-IUSE="" |
52 |
+IUSE="+networkmanager" |
53 |
|
54 |
DEPEND=" |
55 |
+ >=dev-libs/kosmindoormap-${PVCUT}:5 |
56 |
>=dev-qt/qtdeclarative-${QTMIN}:5 |
57 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
58 |
>=dev-qt/qtgui-${QTMIN}:5 |
59 |
>=dev-qt/qtnetwork-${QTMIN}:5 |
60 |
+ >=dev-qt/qtlocation-${QTMIN}:5 |
61 |
>=dev-qt/qtpositioning-${QTMIN}:5 |
62 |
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5 |
63 |
>=dev-qt/qtwidgets-${QTMIN}:5 |
64 |
- >=kde-apps/kitinerary-${KDE_APPS_MINIMAL}:5 |
65 |
- >=kde-apps/kpkpass-${KDE_APPS_MINIMAL}:5 |
66 |
+ >=kde-apps/kitinerary-${PVCUT}:5 |
67 |
+ >=kde-apps/kpkpass-${PVCUT}:5 |
68 |
>=kde-frameworks/kcontacts-${KFMIN}:5 |
69 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
70 |
>=kde-frameworks/kdbusaddons-${KFMIN}:5 |
71 |
>=kde-frameworks/kholidays-${KFMIN}:5 |
72 |
>=kde-frameworks/ki18n-${KFMIN}:5 |
73 |
- kde-misc/kpublictransport:5 |
74 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
75 |
+ >=kde-misc/kpublictransport-${PVCUT}:5 |
76 |
sys-libs/zlib |
77 |
+ networkmanager? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:5 ) |
78 |
" |
79 |
RDEPEND="${DEPEND} |
80 |
- >=dev-qt/qtquickcontrols2-${QTMIN}:5 |
81 |
>=kde-frameworks/kirigami-${KFMIN}:5 |
82 |
>=kde-frameworks/prison-${KFMIN}:5 |
83 |
- !kde-apps/itinerary |
84 |
" |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local mycmakeargs=( |
88 |
+ $(cmake_use_find_package networkmanager KF5NetworkManagerQt) |
89 |
+ ) |
90 |
+ ecm_src_configure |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then |
95 |
+ elog "Optional dependencies:" |
96 |
+ optfeature "screen brightness control to aid barcode scanning" "kde-frameworks/solid:5" |
97 |
+ fi |
98 |
+ ecm_pkg_postinst |
99 |
+} |
100 |
|
101 |
diff --git a/kde-misc/itinerary/metadata.xml b/kde-misc/itinerary/metadata.xml |
102 |
index 2fdbf33d96..4a7209fabf 100644 |
103 |
--- a/kde-misc/itinerary/metadata.xml |
104 |
+++ b/kde-misc/itinerary/metadata.xml |
105 |
@@ -5,4 +5,7 @@ |
106 |
<email>kde@g.o</email> |
107 |
<name>Gentoo KDE Project</name> |
108 |
</maintainer> |
109 |
+ <use> |
110 |
+ <flag name="networkmanager">Defer map downloads based on network status using <pkg>kde-frameworks/networkmanager-qt</pkg></flag> |
111 |
+ </use> |
112 |
</pkgmetadata> |