From d5fbc6196ca0661b56f28ccca39cb725103fc941 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 9 Aug 2020 18:36:16 +0200 Subject: [PATCH] app-crypt/sirikali: Fix build with cmake.eclass Package-Manager: Portage-3.0.1, Repoman-2.3.23 Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B Signed-off-by: Nils Freydank --- app-crypt/sirikali/Manifest | 27 ++++++++------- app-crypt/sirikali/sirikali-1.4.6.ebuild | 43 ++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 13 deletions(-) create mode 100644 app-crypt/sirikali/sirikali-1.4.6.ebuild diff --git a/app-crypt/sirikali/Manifest b/app-crypt/sirikali/Manifest index 88e8a20..876a9d2 100644 --- a/app-crypt/sirikali/Manifest +++ b/app-crypt/sirikali/Manifest @@ -2,21 +2,22 @@ Hash: SHA256 DIST sirikali-1.4.5.tar.xz 1620728 BLAKE2B 033fa67e6214888dcdd41eddeff6b16af9946c4acc52ee33b9fdf7f198f4d7c76a7238a4c2c11d265ed129f75f6f03646a1cb4ed64a920a0443eb8ac8863872e SHA512 4781e60391076c6fa254b0e54f1222b13bb37d0bb495b881c47562a3151fba07f45788ddf5b8fe8efef7e696b70b373d2bc7ae31cd605de728699af7e7fd5204 +DIST sirikali-1.4.6.tar.xz 1620560 BLAKE2B bb2ab7e61a90a9554361da378c2e998dd92d747e0f588e3012d605d40d1360690878067d06f00da3e5fd2ce4b00bdd33801f2fb82ae531ac31b4dbd9fa632826 SHA512 c48813fc1b8ea25a10534cf86549f6c6161e5a3603088fccfad37aa308e8ee74616f6a692fb1223073d62638784374f6794177ef06dcd168e7e95fd193850228 -----BEGIN PGP SIGNATURE----- -iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl8mzEBfFIAAAAAALgAo +iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl8wJTlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlv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jnPN+8xM76EuS8/rCjkJcPeIF0GPNOX +G1V1rt8Zcr6IVMPmBt5rO1GD2do3T3fxhRcbgTom07TtXSk0OX+SrpEDDSUVQcsE +hjwFkIk2OvEfq4WKtqUlvJpLVY/aJdfAut9ieu7FIowSpcYSF0YNPMf7hd8S2kyF +MkmDrmWZqKniCUKLMCGCCxQb/rvq8HSDjujCoJb4+C0jq0gpu2Ze+JhU+gmSl9gk +XRxstaMH7ZeOMQoDHEknyWTR8U3NWSq0oQHG+F42Kvu+pF3Ndzh+FYgPozJjsJBZ +OeYZ+e8Ud0bBRKtGGhupctjtKgs9eRTxbnxY1oCWZa0HZ11HfXA0Veka+LzmzHfc +kErXjXVR/vOyAnqxdGpyzFqfnVu3UrnOW4EKiFVWTA77o/MLezdCEl3fepXSj+/C +02xoTu2RVMOXGDRtwhEx+kDRYPdCKHz6KPGnB7y5niLDjg/ra64= +=H+PB -----END PGP SIGNATURE----- diff --git a/app-crypt/sirikali/sirikali-1.4.6.ebuild b/app-crypt/sirikali/sirikali-1.4.6.ebuild new file mode 100644 index 0000000..6bf7266 --- /dev/null +++ b/app-crypt/sirikali/sirikali-1.4.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit eutils cmake + +S="${WORKDIR}/SiriKali-${PV}" + +DESCRIPTION="A Qt/C++ GUI front end to some encrypted filesystems and sshfs" +HOMEPAGE="https://github.com/mhogomchungu/sirikali" +SRC_URI="https://github.com/mhogomchungu/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="gnome-keyring kwallet test" +RESTRICT="!test? ( test )" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5" + +DEPEND="${RDEPEND} + dev-libs/libgcrypt:0= + dev-libs/libpwquality + gnome-keyring? ( app-crypt/libsecret ) + virtual/pkgconfig" + +src_configure() { + local MY_S_FLAG=false + use kwallet && MY_S_FLAG=true + use gnome-keyring && MY_S_FLAG=true + local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_BUILD_TYPE=RELEASE + -DNOSECRETSUPPORT=${MY_S_FLAG} + -DNOKDESUPPORT=true + ) + cmake_src_configure +}