app-crypt/zuluCrypt: initial import of version 4.7.6
authorJulian Ospald <hasufell@gentoo.org>
Mon, 10 Aug 2015 23:45:25 +0000 (01:45 +0200)
committerJulian Ospald <hasufell@gentoo.org>
Mon, 10 Aug 2015 23:46:54 +0000 (01:46 +0200)
app-crypt/zuluCrypt/Manifest [new file with mode: 0644]
app-crypt/zuluCrypt/metadata.xml [new file with mode: 0644]
app-crypt/zuluCrypt/zuluCrypt-4.7.6.ebuild [new file with mode: 0644]

diff --git a/app-crypt/zuluCrypt/Manifest b/app-crypt/zuluCrypt/Manifest
new file mode 100644 (file)
index 0000000..40f1b8e
--- /dev/null
@@ -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 (file)
index 0000000..6138cd8
--- /dev/null
@@ -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 (file)
index 0000000..c0bf1f0
--- /dev/null
@@ -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
+}