summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2015-08-11 01:45:25 +0200
committerJulian Ospald <hasufell@gentoo.org>2015-08-11 01:46:54 +0200
commit960102acfe51e6be9bb4b0ea3caf25299a81b59d (patch)
treea663fab5a66735af29915102a9fc9700dccee5ee
parentdev-libs/libntru: version bump to 0.4.1 (diff)
downloadgentoo-960102acfe51e6be9bb4b0ea3caf25299a81b59d.tar.gz
gentoo-960102acfe51e6be9bb4b0ea3caf25299a81b59d.tar.bz2
gentoo-960102acfe51e6be9bb4b0ea3caf25299a81b59d.zip
app-crypt/zuluCrypt: initial import of version 4.7.6
-rw-r--r--app-crypt/zuluCrypt/Manifest1
-rw-r--r--app-crypt/zuluCrypt/metadata.xml23
-rw-r--r--app-crypt/zuluCrypt/zuluCrypt-4.7.6.ebuild52
3 files changed, 76 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <use>
+ <flag name='gnome'>Enable support for the freedesktop.org
+ Secret Service API via <pkg>app-crypt/libsecret</pkg>.
+ This does not control the gui!
+ </flag>
+ <flag name='gui'>Whether to build the QT gui. Highly recommended.
+ </flag>
+ <flag name='kde'>Enable support for KDE, e.g. via
+ <pkg>kde-base/kwalletd</pkg>. This does not control the gui,
+ but NEEDS GUI ENABLED!
+ </flag>
+ <flag name='udev'>Whether udev will be consulted when deciding
+ if a volume is system or not.
+ </flag>
+ </use>
+</pkgmetadata>
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
+}