From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 34C28138334 for ; Thu, 13 Dec 2018 22:24:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB9B1E0D99; Thu, 13 Dec 2018 22:24:14 +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 85382E0D82 for ; Thu, 13 Dec 2018 22:24:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 687B5335CEC for ; Thu, 13 Dec 2018 22:24:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F06A4EF for ; Thu, 13 Dec 2018 22:24:10 +0000 (UTC) From: "Andreas Sturmlechner" 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" Message-ID: <1544739839.eb2a19261216ea00a4cea5a69c993bddf7376074.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/gwenview/ X-VCS-Repository: proj/kde X-VCS-Files: kde-apps/gwenview/gwenview-18.12.49.9999.ebuild kde-apps/gwenview/gwenview-9999.ebuild X-VCS-Directories: kde-apps/gwenview/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: eb2a19261216ea00a4cea5a69c993bddf7376074 X-VCS-Branch: master Date: Thu, 13 Dec 2018 22:24:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eb346251-f95e-481e-9071-21d2bc762bce X-Archives-Hash: b64e651fd75284f981b832a7a5260ef8 commit: eb2a19261216ea00a4cea5a69c993bddf7376074 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Dec 13 21:04:05 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Dec 13 22:23:59 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=eb2a1926 kde-apps/gwenview: Reduce pkg_postinst spam Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-apps/gwenview/gwenview-18.12.49.9999.ebuild | 7 ++----- kde-apps/gwenview/gwenview-9999.ebuild | 9 +++------ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/kde-apps/gwenview/gwenview-18.12.49.9999.ebuild b/kde-apps/gwenview/gwenview-18.12.49.9999.ebuild index 6c992cb1d3..a826c85306 100644 --- a/kde-apps/gwenview/gwenview-18.12.49.9999.ebuild +++ b/kde-apps/gwenview/gwenview-18.12.49.9999.ebuild @@ -68,6 +68,7 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} $(add_frameworks_dep kimageformats) $(add_qt_dep qtimageformats) + kipi? ( media-plugins/kipi-plugins:5 ) " src_prepare() { @@ -99,11 +100,7 @@ src_configure() { pkg_postinst() { kde5_pkg_postinst - if ! has_version kde-apps/svgpart:${SLOT} ; then + if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version kde-apps/svgpart:${SLOT} ; then elog "For SVG support, install kde-apps/svgpart:${SLOT}" fi - - if use kipi && ! has_version media-plugins/kipi-plugins ; then - elog "Plugins for the KIPI interface can be found in media-plugins/kipi-plugins" - fi } diff --git a/kde-apps/gwenview/gwenview-9999.ebuild b/kde-apps/gwenview/gwenview-9999.ebuild index a0eb443c50..a826c85306 100644 --- a/kde-apps/gwenview/gwenview-9999.ebuild +++ b/kde-apps/gwenview/gwenview-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 @@ -68,6 +68,7 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} $(add_frameworks_dep kimageformats) $(add_qt_dep qtimageformats) + kipi? ( media-plugins/kipi-plugins:5 ) " src_prepare() { @@ -99,11 +100,7 @@ src_configure() { pkg_postinst() { kde5_pkg_postinst - if ! has_version kde-apps/svgpart:${SLOT} ; then + if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version kde-apps/svgpart:${SLOT} ; then elog "For SVG support, install kde-apps/svgpart:${SLOT}" fi - - if use kipi && ! has_version media-plugins/kipi-plugins ; then - elog "Plugins for the KIPI interface can be found in media-plugins/kipi-plugins" - fi }