commit:     a72efc4b83d5b5bd9a70cac377c37549ed678302
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 30 08:55:15 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 30 08:55:15 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a72efc4b

kde-misc/kdeconnect: Add USE=bluetooth

Bug: https://bugs.gentoo.org/666584
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 kde-misc/kdeconnect/kdeconnect-9999.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kde-misc/kdeconnect/kdeconnect-9999.ebuild 
b/kde-misc/kdeconnect/kdeconnect-9999.ebuild
index 10739efd37..5456faa9c2 100644
--- a/kde-misc/kdeconnect/kdeconnect-9999.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,7 +17,7 @@ fi
 DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
 HOMEPAGE="https://www.kde.org/ https://community.kde.org/KDEConnect";
 LICENSE="GPL-2+"
-IUSE="app mousepad sms wayland"
+IUSE="app bluetooth mousepad sms wayland"
 
 DEPEND="
        $(add_frameworks_dep kcmutils)
@@ -39,6 +39,7 @@ DEPEND="
        $(add_qt_dep qtx11extras)
        >=app-crypt/qca-2.1.0:2[qt5(+),ssl]
        app? ( $(add_frameworks_dep kdeclarative) )
+       bluetooth? ( $(add_qt_dep qtbluetooth) )
        mousepad? (
                x11-libs/libfakekey
                x11-libs/libX11
@@ -68,6 +69,7 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DEXPERIMENTALAPP_ENABLED=$(usex app)
+               -DBLUETOOTH_ENABLED=$(usex bluetooth)
                $(cmake-utils_use_find_package mousepad LibFakeKey)
                -DSMSAPP_ENABLED=$(usex sms)
                $(cmake-utils_use_find_package wayland KF5Wayland)
@@ -79,10 +81,8 @@ src_configure() {
 pkg_postinst(){
        kde5_pkg_postinst
 
-       elog
        elog "The Android .apk file is available via"
        elog 
"https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp";
        elog "or via"
        elog "https://f-droid.org/repository/browse/?fdid=org.kde.kdeconnect_tp";
-       elog
 }

Reply via email to