diff options
author | soredake <fdsfgs@krutt.org> | 2018-03-13 12:17:57 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-04-02 23:20:23 +0200 |
commit | aa2173a6f70ef376675f32d1fa30d31ecf40f7f1 (patch) | |
tree | 8439fd93ca7a0c440f686e5beab29e0f9a76300d | |
parent | app-office/lyx: Maintainer retired (diff) | |
download | gentoo-aa2173a6f70ef376675f32d1fa30d31ecf40f7f1.tar.gz gentoo-aa2173a6f70ef376675f32d1fa30d31ecf40f7f1.tar.bz2 gentoo-aa2173a6f70ef376675f32d1fa30d31ecf40f7f1.zip |
app-crypt/zulucrypt: fix build with USE=-qt5.
Closes: https://bugs.gentoo.org/647264
Closes: https://github.com/gentoo/gentoo/pull/7442
-rw-r--r-- | app-crypt/zulucrypt/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/app-crypt/zulucrypt/Manifest b/app-crypt/zulucrypt/Manifest index 17caedf31a3d..72a0136f2625 100644 --- a/app-crypt/zulucrypt/Manifest +++ b/app-crypt/zulucrypt/Manifest @@ -1,2 +1,3 @@ DIST zulucrypt-5.1.0.tar.bz2 1610597 BLAKE2B 3b77676912f0cd8990ba307ff04309f308ec29cf76cad37ac28ebb317a7e42ee93ffe9deb1db12a80c4d5b235c2a83bc8e5ddeb6082e5f1be9d91425d06f4334 SHA512 b916d43f8c889f1593c506d95360b195f0639024463eb77b5b21b544468f99719b877d8c94725504305f307efe5cb18e203dc8f9b015bd55825dc1d4fffb42f0 DIST zulucrypt-5.4.0.tar.bz2 1704452 BLAKE2B b0ef9e33b7261087b97186dd49672ea115c4792c04a64700cba5caa9c9e63d84818904c078a4d6663c6f420bbd19b0593af84210010821e2b8bae5f19947ffec SHA512 65361ef885b68a13f435704e0e1dbc9b7ae4df9525900ab60665c29e24574dcadb4afb27a7c595db33021c07086de92332f1a52189cfd674991b95e208040074 +DIST zulucrypt-5.4.0_pre20180223.tar.gz 2162535 BLAKE2B 7d098ec20b7f355be6ad863121f7016d6b1ccbcc133438b616cfbd805110b24ae91dc74b0c2daf3137511fcb72e0338663c3c743c6c3d2b761883c57c590c0e5 SHA512 38ea9442a48c02741e11e59759b745ce3d6d6ca5f37d8b685526be76308a8fa1f7db7fd38038e5ce50e2a8afd8740b0a683a3458cb1df6f0b70c41fbf8035c15 diff --git a/app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild b/app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild new file mode 100644 index 000000000000..934b576d92c1 --- /dev/null +++ b/app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Front end to cryptsetup" +HOMEPAGE="https://mhogomchungu.github.io/zuluCrypt/" +EGIT_COMMIT="76637bb05af13744bf1734b56f67d6d5cc2343b1" +SRC_URI="https://github.com/mhogomchungu/zuluCrypt/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome kwallet +qt5 udev" +REQUIRED_USE="kwallet? ( qt5 )" + +CDEPEND=" + dev-libs/libgcrypt:0= + sys-fs/cryptsetup:= + gnome? ( app-crypt/libsecret ) + qt5? ( + dev-libs/libpwquality + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + kwallet? ( kde-frameworks/kwallet:5 ) + )" + +RDEPEND=" + ${CDEPEND} + udev? ( virtual/udev )" + +DEPEND=" + ${CDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/zuluCrypt-${EGIT_COMMIT}" + +src_configure() { + local mycmakeargs=( + -DLIB_SUFFIX="$(get_libdir)" + -DNOGNOME=$(usex !gnome) + -DNOKDE=$(usex !kwallet) + -DNOGUI=$(usex !qt5) + -DQT5=true + -DUDEVSUPPORT=$(usex udev) + -DINTERNAL_LXQT_WALLET=true + -DINTERNAL_ZULUPLAY=true + ) + cmake-utils_src_configure +} |