summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 23:07:42 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-13 23:25:47 +0100
commiteec553abbf4ddc2b063218c62730cd33250e720c (patch)
tree686868261a9af199d6ed882ea06ff6c7768e679f /kde-apps/gwenview
parentkde-apps/ark: Reduce pkg_postinst spam (diff)
downloadgentoo-eec553abbf4ddc2b063218c62730cd33250e720c.tar.gz
gentoo-eec553abbf4ddc2b063218c62730cd33250e720c.tar.bz2
gentoo-eec553abbf4ddc2b063218c62730cd33250e720c.zip
kde-apps/gwenview: Reduce pkg_postinst spam
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r--kde-apps/gwenview/gwenview-18.12.0.ebuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/kde-apps/gwenview/gwenview-18.12.0.ebuild b/kde-apps/gwenview/gwenview-18.12.0.ebuild
index 5481e1d63001..a580d5a58ccd 100644
--- a/kde-apps/gwenview/gwenview-18.12.0.ebuild
+++ b/kde-apps/gwenview/gwenview-18.12.0.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
}