blob: 1b578362933615eaf367171ce7cce407fa5ae8ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils git-r3 cmake-utils
DESCRIPTION="Create a Kwallet/Gnome-keyring like functionality for lxqt"
HOMEPAGE="https://github.com/mhogomchungu/lxqt_wallet"
EGIT_REPO_URI="https://github.com/mhogomchungu/lxqt_wallet.git"
EGIT_COMMIT="1ad0c22c169c6fa43b767ae8bdbc972af376b8d1"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64"
IUSE="kwallet +libsecret"
DEPEND="dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/linguist-tools:5
libsecret? (
app-crypt/libsecret
)
kwallet? (
kde-frameworks/kwallet
kde-frameworks/knotifications
)"
RDEPEND="${DEPEND}"
src_configure() {
if use kwallet && use libsecret ; then
local mycmakeargs=(
-DNOKDESUPPORT=false -DNOSECRETSUPPORT=false)
elif ! use kwallet && use libsecret ; then
local mycmakeargs=(
-DNOKDESUPPORT=true -DNOSECRETSUPPORT=false)
elif use kwallet && ! use libsecret ; then
local mycmakeargs=(
-DNOKDESUPPORT=false -DNOSECRETSUPPORT=true)
elif ! use kwallet && ! use libsecret ; then
local mycmakeargs=(
-DNOKDESUPPORT=true -DNOSECRETSUPPORT=true)
fi
cmake-utils_src_configure
}
|