From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1050002-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E20DF138334 for <garchives@archives.gentoo.org>; Tue, 2 Oct 2018 20:34:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00280E090A; Tue, 2 Oct 2018 20:34:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C99EEE090A for <gentoo-commits@lists.gentoo.org>; Tue, 2 Oct 2018 20:34:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4032335CD5 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Oct 2018 20:34:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0BAD2C6 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Oct 2018 20:34:21 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org> Message-ID: <1538511986.5c0a6074108528a6abcb41319a0f8ed699376464.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/pimcommon/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/pimcommon/metadata.xml kde-apps/pimcommon/pimcommon-9999.ebuild X-VCS-Directories: kde-apps/pimcommon/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5c0a6074108528a6abcb41319a0f8ed699376464 X-VCS-Branch: master Date: Tue, 2 Oct 2018 20:34:21 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0310d526-a89c-4acd-92e3-8bcdeeffd460 X-Archives-Hash: 6fa034cda90ff04e833cb245d006b5f5 commit: 5c0a6074108528a6abcb41319a0f8ed699376464 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Oct 2 20:26:22 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Oct 2 20:26:26 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=5c0a6074 kde-apps/pimcommon: Add USE share Moved from kde-apps/libksieve. Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 kde-apps/pimcommon/metadata.xml | 1 + kde-apps/pimcommon/pimcommon-9999.ebuild | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/kde-apps/pimcommon/metadata.xml b/kde-apps/pimcommon/metadata.xml index a50ada50ef..7ade8e3d0b 100644 --- a/kde-apps/pimcommon/metadata.xml +++ b/kde-apps/pimcommon/metadata.xml @@ -7,5 +7,6 @@ </maintainer> <use> <flag name="designer">Build plugins for <pkg>dev-qt/designer</pkg></flag> + <flag name="share">Enable support for a share menu using <pkg>kde-frameworks/purpose</pkg></flag> </use> </pkgmetadata> diff --git a/kde-apps/pimcommon/pimcommon-9999.ebuild b/kde-apps/pimcommon/pimcommon-9999.ebuild index 624220f012..41e9e197e6 100644 --- a/kde-apps/pimcommon/pimcommon-9999.ebuild +++ b/kde-apps/pimcommon/pimcommon-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 @@ -11,7 +11,7 @@ inherit kde5 DESCRIPTION="Common PIM libraries" LICENSE="GPL-2+ LGPL-2.1+" KEYWORDS="" -IUSE="" +IUSE="share" COMMON_DEPEND=" $(add_frameworks_dep karchive) @@ -42,6 +42,7 @@ COMMON_DEPEND=" $(add_qt_dep qtwidgets) $(add_qt_dep qtxml) dev-libs/grantlee:5 + share? ( $(add_frameworks_dep purpose) ) " DEPEND="${COMMON_DEPEND} $(add_frameworks_dep kiconthemes) @@ -53,6 +54,14 @@ RDEPEND="${COMMON_DEPEND} !kde-apps/kdepim-l10n " +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package share KF5Purpose) + ) + + kde5_src_configure +} + src_test() { # bugs 641730, 661330 local myctestargs=(