2024-12-25 07:00:01 +01:00
|
|
|
# Copyright 1999-2024 Gentoo Authors
|
2020-10-02 11:09:14 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2021-09-19 09:27:55 +02:00
|
|
|
EAPI="8"
|
2020-10-02 11:09:14 +02:00
|
|
|
|
2021-09-19 09:27:55 +02:00
|
|
|
inherit cmake
|
2020-10-02 11:09:14 +02:00
|
|
|
|
|
|
|
DESCRIPTION="A Qt/C++ GUI front end to some encrypted filesystems and sshfs"
|
2023-12-17 16:19:28 +01:00
|
|
|
HOMEPAGE="
|
|
|
|
https://mhogomchungu.github.io/sirikali/
|
|
|
|
https://github.com/mhogomchungu/sirikali
|
|
|
|
"
|
2020-10-02 11:09:14 +02:00
|
|
|
SRC_URI="https://github.com/mhogomchungu/${PN}/releases/download/${PV}/${P}.tar.xz"
|
2024-12-25 07:00:01 +01:00
|
|
|
S="${WORKDIR}/SiriKali-${PV}"
|
2020-10-02 11:09:14 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2+"
|
|
|
|
SLOT="0"
|
2024-12-25 07:00:01 +01:00
|
|
|
IUSE="gnome-keyring kwallet +pwquality test"
|
2024-08-19 05:00:00 +02:00
|
|
|
KEYWORDS="~amd64"
|
2024-12-25 07:00:01 +01:00
|
|
|
RESTRICT="!test? ( test )"
|
2020-10-02 11:09:14 +02:00
|
|
|
|
2021-08-24 15:58:23 +02:00
|
|
|
DEPEND="
|
2024-12-25 07:00:01 +01:00
|
|
|
dev-qt/qtbase:6[dbus,gui,network,widgets]
|
2021-08-24 15:58:23 +02:00
|
|
|
dev-libs/libgcrypt:0=
|
2020-10-02 11:09:14 +02:00
|
|
|
gnome-keyring? ( app-crypt/libsecret )
|
2024-12-25 07:00:01 +01:00
|
|
|
kwallet? ( kde-frameworks/kwallet )
|
|
|
|
pwquality? ( dev-libs/libpwquality )
|
2021-08-24 15:58:23 +02:00
|
|
|
"
|
2020-10-02 11:09:14 +02:00
|
|
|
|
|
|
|
src_configure() {
|
2024-12-25 07:00:01 +01:00
|
|
|
local MY_ENABLE_SECRETS=false
|
|
|
|
use kwallet && MY_ENABLE_SECRETS=true
|
|
|
|
use gnome-keyring && MY_ENABLE_SECRETS=true
|
2020-10-02 11:09:14 +02:00
|
|
|
local mycmakeargs=(
|
2024-12-25 07:00:01 +01:00
|
|
|
-DNOSECRETSUPPORT=${MY_ENABLE_SECRETS}
|
|
|
|
-DBUILD_WITH_QT6=true
|
2020-10-02 11:09:14 +02:00
|
|
|
)
|
|
|
|
cmake_src_configure
|
|
|
|
}
|