summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-11-05 22:05:40 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-11-05 22:06:19 +1100
commitcf68acbf5ba42ee214d1d30b3935f9de792ddbb4 (patch)
tree284242bc34bae2d6cb2c3e1d9486f6486a07a829
parentdev-libs/distorm64: bump up to 3.3.4, drop old (diff)
downloadgentoo-cf68acbf5ba42ee214d1d30b3935f9de792ddbb4.tar.gz
gentoo-cf68acbf5ba42ee214d1d30b3935f9de792ddbb4.tar.bz2
gentoo-cf68acbf5ba42ee214d1d30b3935f9de792ddbb4.zip
app-crypt/zuluCrypt: version bump
Gentoo-bug: 587196 Package-Manager: portage-2.3.2
-rw-r--r--app-crypt/zuluCrypt/Manifest1
-rw-r--r--app-crypt/zuluCrypt/files/zuluCrypt-5.0.1-unused-dep.patch43
-rw-r--r--app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild52
3 files changed, 96 insertions, 0 deletions
diff --git a/app-crypt/zuluCrypt/Manifest b/app-crypt/zuluCrypt/Manifest
index 88f62b1619bc..78bbe6d488a5 100644
--- a/app-crypt/zuluCrypt/Manifest
+++ b/app-crypt/zuluCrypt/Manifest
@@ -1 +1,2 @@
DIST zuluCrypt-4.7.7.tar.bz2 550309 SHA256 d832668c646bb93a63e908bd1896def830db304138a17f34eae09dd41b3197d4 SHA512 bca390caacc7ff39b03dce370c2f85da2f52d9de3604713ec2dec6f53b75573163a5db60ca30746f4056def8617a9a93f80026c1833396356c849b10948468f1 WHIRLPOOL 6d54015b8458cd6b4460afc33f14dabe3672bc3aea849230090b0c2a64f37da9777f1e0745e7000be1e05874962f4cc97e284fa8877fa0a1d09b93b71bb5e215
+DIST zuluCrypt-5.0.1.tar.bz2 785950 SHA256 53a970173c7f87cf3b2c4a9bf12c36fa7796147d99235cc37de9aa2cbcbddcde SHA512 69ffd13957ff36783d20caf489d35a018ef5eee4db6627789525be53dc39fe0245c16e95449de18eabef11a46480501647bdc7bd3072c92fecbcb43a7e1ec2eb WHIRLPOOL 40207e9a798676ecfc6a2959e4edb79bc770ee749844a005e15fb4227ea761e8ef29757ea1710b40248c861df69312354191e7311069eaf2f42c983d196f3e9c
diff --git a/app-crypt/zuluCrypt/files/zuluCrypt-5.0.1-unused-dep.patch b/app-crypt/zuluCrypt/files/zuluCrypt-5.0.1-unused-dep.patch
new file mode 100644
index 000000000000..76d44205150f
--- /dev/null
+++ b/app-crypt/zuluCrypt/files/zuluCrypt-5.0.1-unused-dep.patch
@@ -0,0 +1,43 @@
+From b7e0ef69e6cbddcc0c6a5a28793822cdfe97395a Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Sat, 5 Nov 2016 22:00:00 +1100
+Subject: [PATCH] Remove unused KF5Notifications dependency.
+
+---
+ zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt b/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt
+index 89c420a..0ac1c95 100644
+--- a/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt
++++ b/zuluCrypt-gui/lxqt_wallet/frontend/CMakeLists.txt
+@@ -70,9 +70,8 @@ else()
+ find_package(Qt5Core REQUIRED)
+
+ find_package(KF5Wallet QUIET)
+- find_package(KF5Notifications QUIET)
+
+- if(KF5Wallet_FOUND AND KF5Notifications_FOUND )
++ if(KF5Wallet_FOUND)
+ file(APPEND ${PROJECT_BINARY_DIR}/storage_manager.h "\n#define HAS_KWALLET_SUPPORT 1\n")
+ SET(KDE_SUPPORT "true")
+ SET(KWALLET_SUPPORT "true")
+@@ -195,13 +194,13 @@ if(KDE_SUPPORT)
+ target_link_libraries(lxqt-wallet secretlib)
+ target_link_libraries(lxqt-wallet "${Qt5Widgets_LIBRARIES}")
+ target_link_libraries(lxqt-wallet "${Qt5Core_LIBRARIES}")
+- target_link_libraries(lxqt-wallet KF5::Wallet KF5::Notifications)
++ target_link_libraries(lxqt-wallet KF5::Wallet)
+ else()
+ Qt5_WRAP_CPP(MOC ${MOC_FILES_1})
+ add_library(lxqt-wallet ${LIBRARY_TYPE} ${UI} ${SRC_1} ${MOC})
+ target_link_libraries(lxqt-wallet "${Qt5Widgets_LIBRARIES}")
+ target_link_libraries(lxqt-wallet "${Qt5Core_LIBRARIES}")
+- target_link_libraries(lxqt-wallet KF5::Wallet KF5::Notifications)
++ target_link_libraries(lxqt-wallet KF5::Wallet)
+ endif()
+ else()
+ if(SECRET_SUPPORT)
+--
+2.7.3
+
diff --git a/app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild b/app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild
new file mode 100644
index 000000000000..f69921f36e75
--- /dev/null
+++ b/app-crypt/zuluCrypt/zuluCrypt-5.0.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Front end to cryptsetup"
+HOMEPAGE="https://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"
+
+REQUIRED_USE="kde? ( gui )"
+
+CDEPEND="
+ dev-libs/libgcrypt:0=
+ sys-apps/util-linux
+ sys-fs/cryptsetup
+ gnome? ( app-crypt/libsecret )
+ gui? (
+ dev-libs/libpwquality
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ kde? ( kde-frameworks/kwallet:5 )
+ )
+"
+RDEPEND="${CDEPEND}
+ udev? ( virtual/udev )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DLIB_SUFFIX="$(get_libdir)"
+ -DNOGNOME=$(usex !gnome)
+ -DNOGUI=$(usex !gui)
+ -DNOKDE=$(usex !kde)
+ -DUDEVSUPPORT=$(usex udev)
+ )
+
+ cmake-utils_src_configure
+}