1 |
commit: 0c8a29f29a3cc94699294397fec7be4e446b38ca |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 01:24:01 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 01:27:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c8a29f2 |
7 |
|
8 |
kde-misc/kio-gdrive: Port to ecm.eclass and kde.org.eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.83, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild | 35 ++++++++++++++++------------- |
14 |
1 file changed, 19 insertions(+), 16 deletions(-) |
15 |
|
16 |
diff --git a/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild b/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild |
17 |
index 0f5910c0bb3..52c588af79a 100644 |
18 |
--- a/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild |
19 |
+++ b/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild |
20 |
@@ -3,10 +3,11 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-KDE_APPS_MINIMAL=19.08.0 |
25 |
-KDE_HANDBOOK="forceoptional" |
26 |
-KDE_TEST="optional" |
27 |
-inherit kde5 |
28 |
+ECM_HANDBOOK="forceoptional" |
29 |
+ECM_TEST="optional" |
30 |
+KFMIN=5.60.0 |
31 |
+QTMIN=5.12.3 |
32 |
+inherit ecm kde.org |
33 |
|
34 |
DESCRIPTION="KIO Slave for Google Drive service" |
35 |
HOMEPAGE="https://phabricator.kde.org/project/profile/72/" |
36 |
@@ -16,25 +17,27 @@ if [[ ${KDE_BUILD_TYPE} != live ]] ; then |
37 |
KEYWORDS="amd64 x86" |
38 |
fi |
39 |
|
40 |
+LICENSE="GPL-2+" |
41 |
+SLOT="5" |
42 |
IUSE="+kaccounts" |
43 |
|
44 |
BDEPEND="dev-util/intltool" |
45 |
COMMON_DEPEND=" |
46 |
- $(add_frameworks_dep kcoreaddons) |
47 |
- $(add_frameworks_dep ki18n) |
48 |
- $(add_frameworks_dep kio) |
49 |
- $(add_frameworks_dep knotifications) |
50 |
- $(add_kdeapps_dep libkgapi) |
51 |
- $(add_qt_dep qtwidgets) |
52 |
- kaccounts? ( $(add_kdeapps_dep kaccounts-integration) ) |
53 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
54 |
+ >=kde-apps/libkgapi-19.08.0:5 |
55 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
56 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
57 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
58 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
59 |
+ kaccounts? ( kde-apps/kaccounts-integration:5 ) |
60 |
!kaccounts? ( dev-libs/qtkeychain:=[qt5(+)] ) |
61 |
" |
62 |
DEPEND="${COMMON_DEPEND} |
63 |
- $(add_qt_dep qtgui) |
64 |
- $(add_qt_dep qtnetwork) |
65 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
66 |
+ >=dev-qt/qtnetwork-${QTMIN}:5 |
67 |
" |
68 |
RDEPEND="${COMMON_DEPEND} |
69 |
- kaccounts? ( $(add_kdeapps_dep kaccounts-providers) ) |
70 |
+ kaccounts? ( >=kde-apps/kaccounts-providers-19.08.0:5 ) |
71 |
" |
72 |
|
73 |
DOCS=( README.md ) |
74 |
@@ -43,7 +46,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.2.6-refresh-credentials.patch ) |
75 |
|
76 |
src_configure() { |
77 |
local mycmakeargs=( |
78 |
- $(cmake-utils_use_find_package kaccounts KAccounts) |
79 |
+ $(cmake_use_find_package kaccounts KAccounts) |
80 |
) |
81 |
- kde5_src_configure |
82 |
+ ecm_src_configure |
83 |
} |