1 |
commit: 2ccda80d6f77416f1f7d7f0978692a47e5b64814 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Dec 3 18:09:26 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 4 16:49:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccda80d |
7 |
|
8 |
kde-frameworks/kwallet: Add gpgme[cxx]-enabled version |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
kde-frameworks/kwallet/kwallet-5.28.0-r1.ebuild | 52 +++++++++++++++++++++++++ |
13 |
1 file changed, 52 insertions(+) |
14 |
|
15 |
diff --git a/kde-frameworks/kwallet/kwallet-5.28.0-r1.ebuild b/kde-frameworks/kwallet/kwallet-5.28.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..8f39077 |
18 |
--- /dev/null |
19 |
+++ b/kde-frameworks/kwallet/kwallet-5.28.0-r1.ebuild |
20 |
@@ -0,0 +1,52 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+inherit kde5 |
28 |
+ |
29 |
+DESCRIPTION="Framework providing desktop-wide storage for passwords" |
30 |
+LICENSE="LGPL-2+" |
31 |
+KEYWORDS="~amd64 ~arm ~x86" |
32 |
+IUSE="gpg +man" |
33 |
+ |
34 |
+RDEPEND=" |
35 |
+ $(add_frameworks_dep kconfig) |
36 |
+ $(add_frameworks_dep kconfigwidgets) |
37 |
+ $(add_frameworks_dep kcoreaddons) |
38 |
+ $(add_frameworks_dep kdbusaddons) |
39 |
+ $(add_frameworks_dep ki18n) |
40 |
+ $(add_frameworks_dep kiconthemes) |
41 |
+ $(add_frameworks_dep knotifications) |
42 |
+ $(add_frameworks_dep kservice) |
43 |
+ $(add_frameworks_dep kwidgetsaddons) |
44 |
+ $(add_frameworks_dep kwindowsystem) |
45 |
+ $(add_qt_dep qtdbus) |
46 |
+ $(add_qt_dep qtgui) |
47 |
+ $(add_qt_dep qtwidgets) |
48 |
+ dev-libs/libgcrypt:0= |
49 |
+ gpg? ( >=app-crypt/gpgme-1.7.1[cxx,qt5] ) |
50 |
+" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ man? ( $(add_frameworks_dep kdoctools) ) |
53 |
+" |
54 |
+ |
55 |
+src_configure() { |
56 |
+ local mycmakeargs=( |
57 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Gpgmepp=ON |
58 |
+ $(cmake-utils_use_find_package gpg Gpgmepp) |
59 |
+ $(cmake-utils_use_find_package man KF5DocTools) |
60 |
+ ) |
61 |
+ |
62 |
+ kde5_src_configure |
63 |
+} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ if ! has_version "kde-plasma/kwallet-pam" || ! has_version "kde-apps/kwalletmanager:5" ; then |
67 |
+ elog |
68 |
+ elog "Install kde-plasma/kwallet-pam for auto-unlocking after account login." |
69 |
+ elog "Install kde-apps/kwalletmanager:5 to manage your kwallet." |
70 |
+ elog |
71 |
+ fi |
72 |
+} |