summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-25 21:18:04 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-25 21:18:04 +0000
commit1739c8014a4a0a86915af25a8db3b95c1c15e34e (patch)
tree84bc2ac7817cb918931ceeb801a0324509ab62ed /lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0-r1.ebuild
parent7ba9b0130f1878ab90315b18e2dedecd9ea6a800 (diff)
update ssr, keep going with EAPI 6 porting
Diffstat (limited to 'lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0-r1.ebuild')
-rw-r--r--lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0-r1.ebuild b/lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0-r1.ebuild
new file mode 100644
index 00000000..3bd27058
--- /dev/null
+++ b/lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 x86"
+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
+}