commit: 58be4634512b02f0f9217c2f12d9e76e7b0dc378
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 11:18:00 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 17:23:03 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=58be4634
kde-frameworks/purpose: Add IUSE=bluetooth
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-frameworks/purpose/purpose-9999.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/kde-frameworks/purpose/purpose-9999.ebuild
b/kde-frameworks/purpose/purpose-9999.ebuild
index 33f6fb17bf..5defeab7c8 100644
--- a/kde-frameworks/purpose/purpose-9999.ebuild
+++ b/kde-frameworks/purpose/purpose-9999.ebuild
@@ -12,7 +12,7 @@ inherit ecm kde.org xdg-utils
DESCRIPTION="Library for providing abstractions to get the developer's
purposes fulfilled"
LICENSE="LGPL-2.1+"
KEYWORDS=""
-IUSE="+dolphin +kaccounts"
+IUSE="bluetooth +dolphin +kaccounts"
DEPEND="
>=dev-qt/qtdeclarative-${QTMIN}:5
@@ -33,12 +33,18 @@ RDEPEND="${DEPEND}
>=dev-qt/qtquickcontrols-${QTMIN}:5
>=dev-qt/qtquickcontrols2-${QTMIN}:5
>=kde-frameworks/kdeclarative-${PVCUT}:5
+ bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:5 )
kaccounts? ( net-libs/accounts-qml )
"
# requires running environment
RESTRICT+=" test"
+src_prepare() {
+ ecm_src_prepare
+ cmake_run_in src/plugins cmake_comment_add_subdirectory bluetooth
+}
+
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package dolphin KF5Notifications)