Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/zulucrypt/
Date: Mon, 02 Apr 2018 21:21:00
Message-Id: 1522704023.aa2173a6f70ef376675f32d1fa30d31ecf40f7f1.monsieurp@gentoo
1 commit: aa2173a6f70ef376675f32d1fa30d31ecf40f7f1
2 Author: soredake <fdsfgs <AT> krutt <DOT> org>
3 AuthorDate: Tue Mar 13 10:17:57 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 2 21:20:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2173a6
7
8 app-crypt/zulucrypt: fix build with USE=-qt5.
9
10 Closes: https://bugs.gentoo.org/647264
11 Closes: https://github.com/gentoo/gentoo/pull/7442
12
13 app-crypt/zulucrypt/Manifest | 1 +
14 .../zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild | 54 ++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/app-crypt/zulucrypt/Manifest b/app-crypt/zulucrypt/Manifest
18 index 17caedf31a3..72a0136f262 100644
19 --- a/app-crypt/zulucrypt/Manifest
20 +++ b/app-crypt/zulucrypt/Manifest
21 @@ -1,2 +1,3 @@
22 DIST zulucrypt-5.1.0.tar.bz2 1610597 BLAKE2B 3b77676912f0cd8990ba307ff04309f308ec29cf76cad37ac28ebb317a7e42ee93ffe9deb1db12a80c4d5b235c2a83bc8e5ddeb6082e5f1be9d91425d06f4334 SHA512 b916d43f8c889f1593c506d95360b195f0639024463eb77b5b21b544468f99719b877d8c94725504305f307efe5cb18e203dc8f9b015bd55825dc1d4fffb42f0
23 DIST zulucrypt-5.4.0.tar.bz2 1704452 BLAKE2B b0ef9e33b7261087b97186dd49672ea115c4792c04a64700cba5caa9c9e63d84818904c078a4d6663c6f420bbd19b0593af84210010821e2b8bae5f19947ffec SHA512 65361ef885b68a13f435704e0e1dbc9b7ae4df9525900ab60665c29e24574dcadb4afb27a7c595db33021c07086de92332f1a52189cfd674991b95e208040074
24 +DIST zulucrypt-5.4.0_pre20180223.tar.gz 2162535 BLAKE2B 7d098ec20b7f355be6ad863121f7016d6b1ccbcc133438b616cfbd805110b24ae91dc74b0c2daf3137511fcb72e0338663c3c743c6c3d2b761883c57c590c0e5 SHA512 38ea9442a48c02741e11e59759b745ce3d6d6ca5f37d8b685526be76308a8fa1f7db7fd38038e5ce50e2a8afd8740b0a683a3458cb1df6f0b70c41fbf8035c15
25
26 diff --git a/app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild b/app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild
27 new file mode 100644
28 index 00000000000..934b576d92c
29 --- /dev/null
30 +++ b/app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit cmake-utils
38 +
39 +DESCRIPTION="Front end to cryptsetup"
40 +HOMEPAGE="https://mhogomchungu.github.io/zuluCrypt/"
41 +EGIT_COMMIT="76637bb05af13744bf1734b56f67d6d5cc2343b1"
42 +SRC_URI="https://github.com/mhogomchungu/zuluCrypt/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="gnome kwallet +qt5 udev"
48 +REQUIRED_USE="kwallet? ( qt5 )"
49 +
50 +CDEPEND="
51 + dev-libs/libgcrypt:0=
52 + sys-fs/cryptsetup:=
53 + gnome? ( app-crypt/libsecret )
54 + qt5? (
55 + dev-libs/libpwquality
56 + dev-qt/qtcore:5
57 + dev-qt/qtgui:5
58 + dev-qt/qtnetwork:5
59 + dev-qt/qtwidgets:5
60 + kwallet? ( kde-frameworks/kwallet:5 )
61 + )"
62 +
63 +RDEPEND="
64 + ${CDEPEND}
65 + udev? ( virtual/udev )"
66 +
67 +DEPEND="
68 + ${CDEPEND}
69 + virtual/pkgconfig"
70 +
71 +S="${WORKDIR}/zuluCrypt-${EGIT_COMMIT}"
72 +
73 +src_configure() {
74 + local mycmakeargs=(
75 + -DLIB_SUFFIX="$(get_libdir)"
76 + -DNOGNOME=$(usex !gnome)
77 + -DNOKDE=$(usex !kwallet)
78 + -DNOGUI=$(usex !qt5)
79 + -DQT5=true
80 + -DUDEVSUPPORT=$(usex udev)
81 + -DINTERNAL_LXQT_WALLET=true
82 + -DINTERNAL_ZULUPLAY=true
83 + )
84 + cmake-utils_src_configure
85 +}