1 |
commit: ab348c97cf537f8318e85bacc87ec6660cec6abb |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 27 14:06:59 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 27 14:08:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab348c97 |
7 |
|
8 |
kde-misc/kio-gdrive: 1.2.0 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
kde-misc/kio-gdrive/Manifest | 1 + |
13 |
.../files/kio-gdrive-1.2.0-tests-optional.patch | 21 ++++++++++ |
14 |
kde-misc/kio-gdrive/kio-gdrive-1.2.0.ebuild | 45 ++++++++++++++++++++++ |
15 |
kde-misc/kio-gdrive/metadata.xml | 1 + |
16 |
4 files changed, 68 insertions(+) |
17 |
|
18 |
diff --git a/kde-misc/kio-gdrive/Manifest b/kde-misc/kio-gdrive/Manifest |
19 |
index 79c50578eb7..25a8ec0e2c3 100644 |
20 |
--- a/kde-misc/kio-gdrive/Manifest |
21 |
+++ b/kde-misc/kio-gdrive/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST kio-gdrive-1.0.5.tar.xz 23148 SHA256 ada2327a3cbb02a9e9941190c240e50a1a484f5e3f56a1fe596b1445458c014f SHA512 d35c5d6bda967ec93b29ea29323b46a6f37d5478ffa6b719f4fd13e480d7785746e81bec9155b2c80db9d192aece867d67b3f96bc855453dda0098bfc8375798 WHIRLPOOL da5d14310ae54dabb1a1a7dfffdea118036a50ebbe74440422d3915c3461a43b4e874f5c70441ab4e69787b193412b2a3d7a7039dd6108fdec43731c7a1394b5 |
24 |
DIST kio-gdrive-1.1.0.tar.xz 23924 SHA256 90162c9e82f885d6198046f2e25e579d05e813fbab37757b9b8f5fbe1b0e6972 SHA512 a58e56a5fff16776c1e6d948b2d1c776eb6097bf686e2865a52ae22eb21e9c05a0e7c0daf6e19077c5876e351b75ad31ad8e75e5e1c3a58190bc8b224daee42a WHIRLPOOL c5c97f77d54d94f4fabc1f31feb8acb06c0cd76c885f5ade690c68f72e2e50ab897f4e1797cc4cf72e9500f5159a7aa053f6f80803c2058276ee980c5f91446c |
25 |
DIST kio-gdrive-1.1.1.tar.xz 24096 SHA256 c840151e844f9c135ff575771c09ac78bd9c939b853af72b568c76aa1db540ea SHA512 9377167a8f12731b27adc816790f50b73685dbfccf416e4ca927f08d52a85adb2cc6d769c111fc66fd24fe9646217321d7392946dbc6f05c9eb8a3e6aeb929ba WHIRLPOOL 2096961eb41738a319cc8e9589a0c6b14df6c55a365344c8dd484ed2b329aae2f19db12c7e9c8f8ef0417241406ea81a607cb03008d53207f2c84705482941fd |
26 |
+DIST kio-gdrive-1.2.0.tar.xz 33780 SHA256 c3b0eb54efc92daa636c8eb81113bf8f196cd2e3af0ba8c37660bfa3a7dd9274 SHA512 244d4eb3ec17451400b8e68eb554f5bf8708c797085dc8606be095d1c39f367e9f5c8633d68834cfdbd25032e1726372d3fead131610d3ae9daf25f555924d29 WHIRLPOOL 2e66b8706604e1ea1aed1af817f18fb4f901ff2fa7b52fd28ee6807b1e309b9362fd10d4fd0bbd2dd3b75c91bc00fa0ca18a0e94be3391dc2f12bd838eeab388 |
27 |
|
28 |
diff --git a/kde-misc/kio-gdrive/files/kio-gdrive-1.2.0-tests-optional.patch b/kde-misc/kio-gdrive/files/kio-gdrive-1.2.0-tests-optional.patch |
29 |
new file mode 100644 |
30 |
index 00000000000..f72b0963e3f |
31 |
--- /dev/null |
32 |
+++ b/kde-misc/kio-gdrive/files/kio-gdrive-1.2.0-tests-optional.patch |
33 |
@@ -0,0 +1,21 @@ |
34 |
+commit e9ddacb58dcf011bc2a877c11b026cab94031e65 |
35 |
+Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
36 |
+Date: Sat May 27 15:58:32 2017 +0200 |
37 |
+ |
38 |
+ If tests are optional, autotests subdir must be conditional |
39 |
+ |
40 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
41 |
+index 0c1b691..a2a771c 100644 |
42 |
+--- a/CMakeLists.txt |
43 |
++++ b/CMakeLists.txt |
44 |
+@@ -61,7 +61,9 @@ add_definitions(-DQT_NO_URL_CAST_FROM_STRING) |
45 |
+ add_definitions(-DQT_STRICT_ITERATORS) |
46 |
+ add_definitions(-DTRANSLATION_DOMAIN=\"kio5_gdrive\") |
47 |
+ |
48 |
+-add_subdirectory(autotests) |
49 |
++if(BUILD_TESTING) |
50 |
++ add_subdirectory(autotests) |
51 |
++endif() |
52 |
+ add_subdirectory(desktop) |
53 |
+ add_subdirectory(doc) |
54 |
+ add_subdirectory(src) |
55 |
|
56 |
diff --git a/kde-misc/kio-gdrive/kio-gdrive-1.2.0.ebuild b/kde-misc/kio-gdrive/kio-gdrive-1.2.0.ebuild |
57 |
new file mode 100644 |
58 |
index 00000000000..7842a1f824b |
59 |
--- /dev/null |
60 |
+++ b/kde-misc/kio-gdrive/kio-gdrive-1.2.0.ebuild |
61 |
@@ -0,0 +1,45 @@ |
62 |
+# Copyright 1999-2017 Gentoo Foundation |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=6 |
66 |
+ |
67 |
+KDE_APPS_MINIMAL="17.04.0" |
68 |
+KDE_HANDBOOK="true" |
69 |
+KDE_TEST="optional" |
70 |
+inherit kde5 |
71 |
+ |
72 |
+DESCRIPTION="KIO Slave for Google Drive service" |
73 |
+HOMEPAGE="https://phabricator.kde.org/project/profile/72/" |
74 |
+ |
75 |
+if [[ ${KDE_BUILD_TYPE} != live ]] ; then |
76 |
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" |
77 |
+ KEYWORDS="~amd64" |
78 |
+fi |
79 |
+ |
80 |
+IUSE="+kaccounts" |
81 |
+ |
82 |
+RDEPEND=" |
83 |
+ $(add_frameworks_dep kcoreaddons) |
84 |
+ $(add_frameworks_dep ki18n) |
85 |
+ $(add_frameworks_dep kio) |
86 |
+ $(add_frameworks_dep knotifications) |
87 |
+ $(add_kdeapps_dep libkgapi) |
88 |
+ $(add_qt_dep qtwidgets) |
89 |
+ kaccounts? ( $(add_kdeapps_dep kaccounts-integration) ) |
90 |
+ !kaccounts? ( dev-libs/qtkeychain:=[qt5] ) |
91 |
+" |
92 |
+DEPEND="${RDEPEND} |
93 |
+ $(add_qt_dep qtgui) |
94 |
+ $(add_qt_dep qtnetwork) |
95 |
+" |
96 |
+ |
97 |
+DOCS=( README.md ) |
98 |
+ |
99 |
+PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" ) |
100 |
+ |
101 |
+src_configure() { |
102 |
+ local mycmakeargs=( |
103 |
+ $(cmake-utils_use_find_package kaccounts KAccounts) |
104 |
+ ) |
105 |
+ kde5_src_configure |
106 |
+} |
107 |
|
108 |
diff --git a/kde-misc/kio-gdrive/metadata.xml b/kde-misc/kio-gdrive/metadata.xml |
109 |
index 27b68466630..41b1922ed00 100644 |
110 |
--- a/kde-misc/kio-gdrive/metadata.xml |
111 |
+++ b/kde-misc/kio-gdrive/metadata.xml |
112 |
@@ -7,5 +7,6 @@ |
113 |
</maintainer> |
114 |
<use> |
115 |
<flag name="dolphin">Enable integration with <pkg>kde-apps/dolphin</pkg></flag> |
116 |
+ <flag name="kaccounts">Use <pkg>kde-apps/kaccounts-integration</pkg> backend (default) instead of <pkg>dev-libs/qtkeychain</pkg></flag> |
117 |
</use> |
118 |
</pkgmetadata> |