From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6A7B8138252 for ; Thu, 12 May 2016 12:18:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9271E07B2; Thu, 12 May 2016 12:18:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25B16E07AE for ; Thu, 12 May 2016 12:18:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C054340564 for ; Thu, 12 May 2016 12:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B00491A for ; Thu, 12 May 2016 12:18:38 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1463055497.d82b15c56c1dcb5675df8977f96eaa100110cb08.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/kfilemetadata/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/kfilemetadata/kfilemetadata-5.22.0.ebuild kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild X-VCS-Directories: kde-frameworks/kfilemetadata/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: d82b15c56c1dcb5675df8977f96eaa100110cb08 X-VCS-Branch: master Date: Thu, 12 May 2016 12:18:38 +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-Archives-Salt: fd0173d6-71b4-49b9-87ee-65d29c9a3124 X-Archives-Hash: 48e2ac2e1fa5df641905d2da4c912108 commit: d82b15c56c1dcb5675df8977f96eaa100110cb08 Author: Michael Palimaka gentoo org> AuthorDate: Thu May 12 12:18:17 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Thu May 12 12:18:17 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d82b15c5 kde-frameworks/kfilemetadata: add postinst message about runtime-only dependencies Package-Manager: portage-2.2.28 kde-frameworks/kfilemetadata/kfilemetadata-5.22.0.ebuild | 12 +++++++++++- kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.22.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.22.0.ebuild index 7858493..7b268a5 100644 --- a/kde-frameworks/kfilemetadata/kfilemetadata-5.22.0.ebuild +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.22.0.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit kde5 +inherit eutils kde5 DESCRIPTION="Library for extracting file metadata" KEYWORDS="~amd64 ~arm ~x86" @@ -37,3 +37,13 @@ src_configure() { kde5_src_configure } + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version app-text/catdoc || ! has_version dev-libs/libxls; then + elog "To get additional features, optional runtime dependencies may be installed:" + optfeature "indexing of Microsoft Word or Powerpoint files" app-text/catdoc + optfeature "indexing of Microsoft Excel files" dev-libs/libxls + fi +} diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild index d52d603..ecea095 100644 --- a/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild +++ b/kde-frameworks/kfilemetadata/kfilemetadata-9999.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit kde5 +inherit eutils kde5 DESCRIPTION="Library for extracting file metadata" KEYWORDS="" @@ -37,3 +37,13 @@ src_configure() { kde5_src_configure } + +pkg_postinst() { + kde5_pkg_postinst + + if ! has_version app-text/catdoc || ! has_version dev-libs/libxls; then + elog "To get additional features, optional runtime dependencies may be installed:" + optfeature "indexing of Microsoft Word or Powerpoint files" app-text/catdoc + optfeature "indexing of Microsoft Excel files" dev-libs/libxls + fi +}