1 |
commit: cf68acbf5ba42ee214d1d30b3935f9de792ddbb4 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 5 11:05:40 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 5 11:06:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf68acbf |
7 |
|
8 |
app-crypt/zuluCrypt: version bump |
9 |
|
10 |
Gentoo-bug: 587196 |
11 |
|
12 |
Package-Manager: portage-2.3.2 |
13 |
|
14 |
app-crypt/zuluCrypt/Manifest | 1 + |
15 |
.../files/zuluCrypt-5.0.1-unused-dep.patch | 43 ++++++++++++++++++ |
16 |
app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild | 52 ++++++++++++++++++++++ |
17 |
3 files changed, 96 insertions(+) |
18 |
|
19 |
diff --git a/app-crypt/zuluCrypt/Manifest b/app-crypt/zuluCrypt/Manifest |
20 |
index 88f62b1..78bbe6d 100644 |
21 |
--- a/app-crypt/zuluCrypt/Manifest |
22 |
+++ b/app-crypt/zuluCrypt/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST zuluCrypt-4.7.7.tar.bz2 550309 SHA256 d832668c646bb93a63e908bd1896def830db304138a17f34eae09dd41b3197d4 SHA512 bca390caacc7ff39b03dce370c2f85da2f52d9de3604713ec2dec6f53b75573163a5db60ca30746f4056def8617a9a93f80026c1833396356c849b10948468f1 WHIRLPOOL 6d54015b8458cd6b4460afc33f14dabe3672bc3aea849230090b0c2a64f37da9777f1e0745e7000be1e05874962f4cc97e284fa8877fa0a1d09b93b71bb5e215 |
25 |
+DIST zuluCrypt-5.0.1.tar.bz2 785950 SHA256 53a970173c7f87cf3b2c4a9bf12c36fa7796147d99235cc37de9aa2cbcbddcde SHA512 69ffd13957ff36783d20caf489d35a018ef5eee4db6627789525be53dc39fe0245c16e95449de18eabef11a46480501647bdc7bd3072c92fecbcb43a7e1ec2eb WHIRLPOOL 40207e9a798676ecfc6a2959e4edb79bc770ee749844a005e15fb4227ea761e8ef29757ea1710b40248c861df69312354191e7311069eaf2f42c983d196f3e9c |
26 |
|
27 |
diff --git a/app-crypt/zuluCrypt/files/zuluCrypt-5.0.1-unused-dep.patch b/app-crypt/zuluCrypt/files/zuluCrypt-5.0.1-unused-dep.patch |
28 |
new file mode 100644 |
29 |
index 00000000..76d4420 |
30 |
--- /dev/null |
31 |
+++ b/app-crypt/zuluCrypt/files/zuluCrypt-5.0.1-unused-dep.patch |
32 |
@@ -0,0 +1,43 @@ |
33 |
+From b7e0ef69e6cbddcc0c6a5a28793822cdfe97395a Mon Sep 17 00:00:00 2001 |
34 |
+From: Michael Palimaka <kensington@g.o> |
35 |
+Date: Sat, 5 Nov 2016 22:00:00 +1100 |
36 |
+Subject: [PATCH] Remove unused KF5Notifications dependency. |
37 |
+ |
38 |
+--- |
39 |
+ zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt | 7 +++---- |
40 |
+ 1 file changed, 3 insertions(+), 4 deletions(-) |
41 |
+ |
42 |
+diff --git a/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt b/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt |
43 |
+index 89c420a..0ac1c95 100644 |
44 |
+--- a/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt |
45 |
++++ b/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt |
46 |
+@@ -70,9 +70,8 @@ else() |
47 |
+ find_package(Qt5Core REQUIRED) |
48 |
+ |
49 |
+ find_package(KF5Wallet QUIET) |
50 |
+- find_package(KF5Notifications QUIET) |
51 |
+ |
52 |
+- if(KF5Wallet_FOUND AND KF5Notifications_FOUND ) |
53 |
++ if(KF5Wallet_FOUND) |
54 |
+ file(APPEND ${PROJECT_BINARY_DIR}/storage_manager.h "\n#define HAS_KWALLET_SUPPORT 1\n") |
55 |
+ SET(KDE_SUPPORT "true") |
56 |
+ SET(KWALLET_SUPPORT "true") |
57 |
+@@ -195,13 +194,13 @@ if(KDE_SUPPORT) |
58 |
+ target_link_libraries(lxqt-wallet secretlib) |
59 |
+ target_link_libraries(lxqt-wallet "${Qt5Widgets_LIBRARIES}") |
60 |
+ target_link_libraries(lxqt-wallet "${Qt5Core_LIBRARIES}") |
61 |
+- target_link_libraries(lxqt-wallet KF5::Wallet KF5::Notifications) |
62 |
++ target_link_libraries(lxqt-wallet KF5::Wallet) |
63 |
+ else() |
64 |
+ Qt5_WRAP_CPP(MOC ${MOC_FILES_1}) |
65 |
+ add_library(lxqt-wallet ${LIBRARY_TYPE} ${UI} ${SRC_1} ${MOC}) |
66 |
+ target_link_libraries(lxqt-wallet "${Qt5Widgets_LIBRARIES}") |
67 |
+ target_link_libraries(lxqt-wallet "${Qt5Core_LIBRARIES}") |
68 |
+- target_link_libraries(lxqt-wallet KF5::Wallet KF5::Notifications) |
69 |
++ target_link_libraries(lxqt-wallet KF5::Wallet) |
70 |
+ endif() |
71 |
+ else() |
72 |
+ if(SECRET_SUPPORT) |
73 |
+-- |
74 |
+2.7.3 |
75 |
+ |
76 |
|
77 |
diff --git a/app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild b/app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild |
78 |
new file mode 100644 |
79 |
index 00000000..f69921f |
80 |
--- /dev/null |
81 |
+++ b/app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild |
82 |
@@ -0,0 +1,52 @@ |
83 |
+# Copyright 1999-2016 Gentoo Foundation |
84 |
+# Distributed under the terms of the GNU General Public License v2 |
85 |
+# $Id$ |
86 |
+ |
87 |
+EAPI=6 |
88 |
+ |
89 |
+inherit cmake-utils |
90 |
+ |
91 |
+DESCRIPTION="Front end to cryptsetup" |
92 |
+HOMEPAGE="https://mhogomchungu.github.io/zuluCrypt/" |
93 |
+SRC_URI="https://github.com/mhogomchungu/zuluCrypt/releases/download/${PV}/zuluCrypt-${PV}.tar.bz2" |
94 |
+ |
95 |
+LICENSE="GPL-2+" |
96 |
+SLOT="0" |
97 |
+KEYWORDS="~amd64 ~x86" |
98 |
+IUSE="gnome +gui kde udev" |
99 |
+ |
100 |
+REQUIRED_USE="kde? ( gui )" |
101 |
+ |
102 |
+CDEPEND=" |
103 |
+ dev-libs/libgcrypt:0= |
104 |
+ sys-apps/util-linux |
105 |
+ sys-fs/cryptsetup |
106 |
+ gnome? ( app-crypt/libsecret ) |
107 |
+ gui? ( |
108 |
+ dev-libs/libpwquality |
109 |
+ dev-qt/qtcore:5 |
110 |
+ dev-qt/qtgui:5 |
111 |
+ dev-qt/qtnetwork:5 |
112 |
+ dev-qt/qtwidgets:5 |
113 |
+ kde? ( kde-frameworks/kwallet:5 ) |
114 |
+ ) |
115 |
+" |
116 |
+RDEPEND="${CDEPEND} |
117 |
+ udev? ( virtual/udev )" |
118 |
+DEPEND="${CDEPEND} |
119 |
+ virtual/pkgconfig |
120 |
+" |
121 |
+ |
122 |
+PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" ) |
123 |
+ |
124 |
+src_configure() { |
125 |
+ local mycmakeargs=( |
126 |
+ -DLIB_SUFFIX="$(get_libdir)" |
127 |
+ -DNOGNOME=$(usex !gnome) |
128 |
+ -DNOGUI=$(usex !gui) |
129 |
+ -DNOKDE=$(usex !kde) |
130 |
+ -DUDEVSUPPORT=$(usex udev) |
131 |
+ ) |
132 |
+ |
133 |
+ cmake-utils_src_configure |
134 |
+} |