2021-08-24 15:58:23 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2020-10-02 11:09:14 +02:00
|
|
|
# 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"
|
|
|
|
|
2021-08-24 15:58:23 +02:00
|
|
|
DEPEND="
|
|
|
|
dev-libs/libgcrypt:0=
|
|
|
|
dev-libs/libpwquality
|
2020-10-02 11:09:14 +02:00
|
|
|
dev-qt/qtcore:5
|
2021-08-24 15:58:23 +02:00
|
|
|
dev-qt/qtdbus:5
|
2020-10-02 11:09:14 +02:00
|
|
|
dev-qt/qtgui:5
|
|
|
|
dev-qt/qtnetwork:5
|
2021-08-24 15:58:23 +02:00
|
|
|
dev-qt/qtwidgets:5
|
2020-10-02 11:09:14 +02:00
|
|
|
gnome-keyring? ( app-crypt/libsecret )
|
2021-08-24 15:58:23 +02:00
|
|
|
virtual/pkgconfig
|
|
|
|
"
|
2020-10-02 11:09:14 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|