app-crypt/sirikali: Add new package, version 1.3.9

The ebuild is inspired by the ebuild provided by upstream:
https://github.com/mhogomchungu/sirikali/releases/download/1.3.9/SiriKali-1.3.9.ebuild

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2019-08-09 19:13:01 +02:00
parent d1b925a80a
commit e9107f23bd
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
3 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST sirikali-1.3.9.tar.xz 1139396 BLAKE2B 56691ef70e732d1800c8db664a5a33d73c1f17ad7153be49deb7a0501ceef63acb4dfcf1d2f1d5260f04958bf98ac51587176bf5cbac7ecbaf39499978378781 SHA512 697bed91a11369a1980759b06fd8437bd43eb00fa6e10f2384bb21ee333318668b431aed84ac82a2bab269a9496af54ab165d56292a5f920d85c50750d67a382
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl1NqZdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyFdzhAAl9/Z9Np9HIW3dvxmG654U5lptE1udoLnktnSUkDtPgRHfX9pxxj07B2Y
SO32sNiuMqimsQ0Rtyen8MXqQZtLV5I8dB0qj1piqBtBWfWtMJr6P14o/uR6Iw4m
Ds6cyQRW52yCS1twx1vk8kPuIvFF9FCOGcBLm288Fid+8FDusHlOgWEZFpEseR9x
ai6u4CoJp2cg3pgG4qrBjrUpsaO8FTRa8PIo1Ha/zBgn61DwymHyzZzMSK/mLD9Z
YC67bYoCZJ+i+h7uiraUbZRfsYZw4JhbbVmnbZzoInyCiHDK0+xdZ2O4Li2/EcQq
V+wwFCe4vSZWmANqq21jA5oNPCbzKE/ioE1S2jJCB1yBxKPSLnr9xpvKlmejtgBZ
O1Ihf+mIU+7OuxBN6XDyLHeyuRFyvNJtNHPM9yx3f7hWqPxqQAX26oyOltuImIQl
arSHMvzCxCf1J89O0SsXr9p+/uSyJKst1/kibrtopzMyIP1uVN70Ubg/qIkd8xnb
AcPajqaJQ0S6CbFEFGAmaCJdezObcc84i0qXg4VnMwRpx10ATM7B0bwyK4QN4Fc6
9pI94kVgONMbZ+RJIqqFCfHVJ9MI4kivw/QdXUgynWKRO2EXycdroYb3riEJpOMU
BmsFU9MXVaEEHe/K1jV6Z+ZbreH+/BsF07pDZ0rWVWuX4MN/Xz8=
=mSPK
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<use>
<flag name="kwallet">Enable support for storing passwords in kwallet</flag>
<flag name="gnome-keyring">Enable support for storing passowrds in gnome-keyring</flag>
</use>
<upstream>
<remote-id type="github">mhogomchungu/sirikali</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,46 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit eutils cmake-utils
S="${WORKDIR}/SiriKali-${PV}"
DESCRIPTION="A Qt/C++ GUI front end to ecryptfs,cryfs,gocryptfs,securefs,sshfs and encfs"
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"
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 )"
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-utils_src_configure
}
src_install() {
cmake-utils_src_install
}