From 960102acfe51e6be9bb4b0ea3caf25299a81b59d Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 11 Aug 2015 01:45:25 +0200 Subject: [PATCH] app-crypt/zuluCrypt: initial import of version 4.7.6 --- app-crypt/zuluCrypt/Manifest | 1 + app-crypt/zuluCrypt/metadata.xml | 23 ++++++++++ app-crypt/zuluCrypt/zuluCrypt-4.7.6.ebuild | 52 ++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 app-crypt/zuluCrypt/Manifest create mode 100644 app-crypt/zuluCrypt/metadata.xml create mode 100644 app-crypt/zuluCrypt/zuluCrypt-4.7.6.ebuild diff --git a/app-crypt/zuluCrypt/Manifest b/app-crypt/zuluCrypt/Manifest new file mode 100644 index 000000000000..40f1b8ea2866 --- /dev/null +++ b/app-crypt/zuluCrypt/Manifest @@ -0,0 +1 @@ +DIST zuluCrypt-4.7.6.tar.bz2 582120 SHA256 b39533de700608a0d1981eb6818f8e103c948c342ba3de36f2f4a0520664294b SHA512 bcf3dd31997ba7db47df4beae2c1e54d031b9c468517475fb7ea6a73e3cf787aaf87a4fdc3cfbb3e54cc0ed8ea218b92014315e940ecb722e0b748248367a2b7 WHIRLPOOL e4d1ca05ebce4c33a8b849e96917b842a1a0330a57700e94fc3f1d1af6a13bcfca9d2039e58f6b4b9353c14296d9feaf898b3de47c3ccd6cc11517be5f07088f diff --git a/app-crypt/zuluCrypt/metadata.xml b/app-crypt/zuluCrypt/metadata.xml new file mode 100644 index 000000000000..6138cd8f86a1 --- /dev/null +++ b/app-crypt/zuluCrypt/metadata.xml @@ -0,0 +1,23 @@ + + + + + hasufell@gentoo.org + Julian Ospald + + + Enable support for the freedesktop.org + Secret Service API via app-crypt/libsecret. + This does not control the gui! + + Whether to build the QT gui. Highly recommended. + + Enable support for KDE, e.g. via + kde-base/kwalletd. This does not control the gui, + but NEEDS GUI ENABLED! + + Whether udev will be consulted when deciding + if a volume is system or not. + + + diff --git a/app-crypt/zuluCrypt/zuluCrypt-4.7.6.ebuild b/app-crypt/zuluCrypt/zuluCrypt-4.7.6.ebuild new file mode 100644 index 000000000000..c0bf1f096d4c --- /dev/null +++ b/app-crypt/zuluCrypt/zuluCrypt-4.7.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib cmake-utils + +DESCRIPTION="Front end to cryptsetup" +HOMEPAGE="http://mhogomchungu.github.io/zuluCrypt/" +SRC_URI="https://github.com/mhogomchungu/zuluCrypt/releases/download/${PV}/zuluCrypt-${PV}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome +gui kde udev" + +CDEPEND=" + dev-libs/libgcrypt:0 + sys-apps/util-linux + sys-fs/cryptsetup + gnome? ( app-crypt/libsecret ) + gui? ( + dev-libs/libpwquality + dev-qt/qtcore:4 + dev-qt/qtgui:4 + kde? ( + kde-base/kdelibs:4 + kde-apps/kwalletd:4 + ) + ) +" +RDEPEND="${CDEPEND} + udev? ( virtual/udev )" +DEPEND="${CDEPEND} + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use udev UDEVSUPPORT) + -DLIB_SUFFIX="$(get_libdir)" + $(cmake-utils_use !gnome NOGNOME) + $(cmake-utils_use !gui NOGUI) + # WITH_PWQUALITY has no effect without gui + $(cmake-utils_use gui WITH_PWQUALITY) + # KDE has no effect without gui + $(usex gui "$(cmake-utils_use !kde NOKDE)" "-DNOKDE=TRUE") + ) + + cmake-utils_src_configure +} -- 2.26.2