From f15d96dd196ba3d122997b32f046bbb886a622e1 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 7 Sep 2020 16:50:46 +0200 Subject: sci-astronomy/kstars: Use optfeature Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner --- sci-astronomy/kstars/kstars-9999.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sci-astronomy') diff --git a/sci-astronomy/kstars/kstars-9999.ebuild b/sci-astronomy/kstars/kstars-9999.ebuild index 3c1a48fa23e..337700e089d 100644 --- a/sci-astronomy/kstars/kstars-9999.ebuild +++ b/sci-astronomy/kstars/kstars-9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 ECM_HANDBOOK="forceoptional" KFMIN=5.60.0 QTMIN=5.12.3 -inherit ecm kde.org +inherit ecm kde.org optfeature DESCRIPTION="Desktop Planetarium" HOMEPAGE="https://kde.org/applications/education/org.kde.kstars @@ -89,10 +89,10 @@ src_configure() { } pkg_postinst() { - ecm_pkg_postinst - - if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "x11-misc/xplanet" ; then - elog "${PN} has optional runtime support for x11-misc/xplanet" + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "Display 'current' pictures of planets" x11-misc/xplanet + # for AstrometryNet is not packaged. fi - # same for AstrometryNet, which is not packaged. + ecm_pkg_postinst } -- cgit v1.2.3