Skip to content

Commit

Permalink
app-crypt/zulucrypt: fix build with USE=-qt5.
Browse files Browse the repository at this point in the history
  • Loading branch information
soredake authored and monsieurp committed Apr 2, 2018
1 parent 3698136 commit aa2173a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-crypt/zulucrypt/Manifest
Original file line number Diff line number Diff line change
@@ -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
54 changes: 54 additions & 0 deletions app-crypt/zulucrypt/zulucrypt-5.4.0_pre20180223.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit aa2173a

Please sign in to comment.