From a4ab587216fdcdb03685dc0c303bfd1a2b8c4f68 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Aug 2016 14:51:33 +0100 Subject: port lxqt-wallet ;) --- lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0.ebuild | 48 ++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0.ebuild diff --git a/lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0.ebuild b/lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0.ebuild new file mode 100644 index 00000000..10ec14b1 --- /dev/null +++ b/lxqt-base/lxqt-wallet/lxqt-wallet-3.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils git-2 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="" +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 +} -- cgit v1.2.3