From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1042917-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 BB3D9138334
	for <garchives@archives.gentoo.org>; Sun, 19 Aug 2018 19:28:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B0220E09C8;
	Sun, 19 Aug 2018 19:28:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 7C068E09C8
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Aug 2018 19:28:17 +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 4D0A933BE95
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Aug 2018 19:28:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DB58394
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Aug 2018 19:28:14 +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: <1534706835.33d38d91d3288557d12c7edeb82be43f0b594712.asturm@gentoo>
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/syndication/
X-VCS-Repository: proj/kde
X-VCS-Files: kde-apps/syndication/syndication-18.08.0.ebuild kde-apps/syndication/syndication-18.08.49.9999.ebuild kde-apps/syndication/syndication-9999.ebuild
X-VCS-Directories: kde-apps/syndication/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 33d38d91d3288557d12c7edeb82be43f0b594712
X-VCS-Branch: master
Date: Sun, 19 Aug 2018 19:28:14 +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: e1dd9a7d-f24f-4f52-a3e6-630affaccf80
X-Archives-Hash: 00f9a658645b5c1928b1648d17106b27

commit:     33d38d91d3288557d12c7edeb82be43f0b594712
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 19:07:28 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 19 19:27:15 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=33d38d91

kde-apps/syndication: Fix DEPENDs

Upstream commit e866a0599c9d04028de0ea867e531099503311e1
Upstream commit bf4502351a86a82717d280c8aa8627e248d72658

Package-Manager: Portage-2.3.47, Repoman-2.3.10

 kde-apps/syndication/syndication-18.08.0.ebuild       | 19 +++++++++++++++----
 kde-apps/syndication/syndication-18.08.49.9999.ebuild | 19 +++++++++++++++----
 kde-apps/syndication/syndication-9999.ebuild          | 11 +++++++----
 3 files changed, 37 insertions(+), 12 deletions(-)

diff --git a/kde-apps/syndication/syndication-18.08.0.ebuild b/kde-apps/syndication/syndication-18.08.0.ebuild
index 4cb369b694..aef661cf63 100644
--- a/kde-apps/syndication/syndication-18.08.0.ebuild
+++ b/kde-apps/syndication/syndication-18.08.0.ebuild
@@ -11,10 +11,21 @@ LICENSE="LGPL-2+"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="
+RDEPEND="
 	$(add_frameworks_dep kcodecs)
-	$(add_qt_dep qtnetwork)
-	$(add_qt_dep qtwidgets)
 	$(add_qt_dep qtxml)
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+	test? (
+		$(add_qt_dep qtnetwork)
+		$(add_qt_dep qtwidgets)
+	)
+"
+
+src_prepare() {
+	kde5_src_prepare
+	if ! use test; then
+		punt_bogus_dep Qt5 Network
+		punt_bogus_dep Qt5 Widgets
+	fi
+}

diff --git a/kde-apps/syndication/syndication-18.08.49.9999.ebuild b/kde-apps/syndication/syndication-18.08.49.9999.ebuild
index 463f44b874..a501061f37 100644
--- a/kde-apps/syndication/syndication-18.08.49.9999.ebuild
+++ b/kde-apps/syndication/syndication-18.08.49.9999.ebuild
@@ -11,10 +11,21 @@ LICENSE="LGPL-2+"
 KEYWORDS=""
 IUSE=""
 
-DEPEND="
+RDEPEND="
 	$(add_frameworks_dep kcodecs)
-	$(add_qt_dep qtnetwork)
-	$(add_qt_dep qtwidgets)
 	$(add_qt_dep qtxml)
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+	test? (
+		$(add_qt_dep qtnetwork)
+		$(add_qt_dep qtwidgets)
+	)
+"
+
+src_prepare() {
+	kde5_src_prepare
+	if ! use test; then
+		punt_bogus_dep Qt5 Network
+		punt_bogus_dep Qt5 Widgets
+	fi
+}

diff --git a/kde-apps/syndication/syndication-9999.ebuild b/kde-apps/syndication/syndication-9999.ebuild
index 463f44b874..8a1fa8184b 100644
--- a/kde-apps/syndication/syndication-9999.ebuild
+++ b/kde-apps/syndication/syndication-9999.ebuild
@@ -11,10 +11,13 @@ LICENSE="LGPL-2+"
 KEYWORDS=""
 IUSE=""
 
-DEPEND="
+RDEPEND="
 	$(add_frameworks_dep kcodecs)
-	$(add_qt_dep qtnetwork)
-	$(add_qt_dep qtwidgets)
 	$(add_qt_dep qtxml)
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+	test? (
+		$(add_qt_dep qtnetwork)
+		$(add_qt_dep qtwidgets)
+	)
+"