commit:     c3ae8600a95e5f6628075086bbc1633135919708
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 00:12:10 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 00:12:10 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=c3ae8600

net-im/choqok: Add USE share

Upstream commit 0b524cdf80d1423d2c3401dca2e1f4074d7beb9d

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-im/choqok/choqok-9999.ebuild | 4 +++-
 net-im/choqok/metadata.xml       | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-im/choqok/choqok-9999.ebuild b/net-im/choqok/choqok-9999.ebuild
index 3f95423c8e..c4975f1ee1 100644
--- a/net-im/choqok/choqok-9999.ebuild
+++ b/net-im/choqok/choqok-9999.ebuild
@@ -19,7 +19,7 @@ fi
 
 LICENSE="GPL-2+"
 SLOT="5"
-IUSE="attica konqueror telepathy"
+IUSE="attica konqueror share telepathy"
 
 DEPEND="
        app-crypt/qca[qt5(+)]
@@ -52,6 +52,7 @@ DEPEND="
                >=kde-frameworks/kdewebkit-${KFMIN}:5
                >=dev-qt/qtwebkit-5.212.0_pre20180120:5
        )
+       share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
        telepathy? ( net-libs/telepathy-qt[qt5(+)] )
 "
 RDEPEND="${DEPEND}"
@@ -63,6 +64,7 @@ src_configure() {
                $(cmake_use_find_package attica KF5Attica)
                $(cmake_use_find_package konqueror KF5Parts)
                $(cmake_use_find_package konqueror KF5WebKit)
+               $(cmake_use_find_package share KF5Purpose)
                $(cmake_use_find_package telepathy TelepathyQt5)
        )
 

diff --git a/net-im/choqok/metadata.xml b/net-im/choqok/metadata.xml
index fd48455d97..7606fdaab7 100644
--- a/net-im/choqok/metadata.xml
+++ b/net-im/choqok/metadata.xml
@@ -8,6 +8,7 @@
        <use>
                <flag name="attica">Build Open Collaboration Services plugin 
using <pkg>kde-frameworks/attica</pkg></flag>
                <flag name="konqueror">Build Konqueror Choqok plugin</flag>
+               <flag name="share">Enable support for a share menu using 
<pkg>kde-frameworks/purpose</pkg></flag>
                <flag name="telepathy">Enable support for the real-time 
communication framework telepathy</flag>
        </use>
 </pkgmetadata>

Reply via email to