diff options
| -rw-r--r-- | kde-frameworks/purpose/purpose-5.74.0.ebuild | 11 | ||||
| -rw-r--r-- | kde-frameworks/purpose/purpose-9999.ebuild | 11 |
2 files changed, 10 insertions, 12 deletions
diff --git a/kde-frameworks/purpose/purpose-5.74.0.ebuild b/kde-frameworks/purpose/purpose-5.74.0.ebuild index 564e82df539..aae6bc4bb69 100644 --- a/kde-frameworks/purpose/purpose-5.74.0.ebuild +++ b/kde-frameworks/purpose/purpose-5.74.0.ebuild @@ -7,7 +7,7 @@ ECM_QTHELP="false" ECM_TEST="forceoptional" PVCUT=$(ver_cut 1-2) QTMIN=5.14.2 -inherit ecm kde.org xdg-utils +inherit ecm kde.org optfeature xdg-utils DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" LICENSE="LGPL-2.1+" @@ -55,13 +55,12 @@ src_configure() { } pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "Send through KDE Connect" kde-misc/kdeconnect[app] + fi ecm_pkg_postinst xdg_icon_cache_update - - if ! has_version "kde-misc/kdeconnect[app]" ; then - elog "Optional runtime dependency:" - elog "kde-misc/kdeconnect[app] (send through KDE Connect)" - fi } pkg_postrm() { diff --git a/kde-frameworks/purpose/purpose-9999.ebuild b/kde-frameworks/purpose/purpose-9999.ebuild index 5defeab7c81..6d7128e8a42 100644 --- a/kde-frameworks/purpose/purpose-9999.ebuild +++ b/kde-frameworks/purpose/purpose-9999.ebuild @@ -7,7 +7,7 @@ ECM_QTHELP="false" ECM_TEST="forceoptional" PVCUT=$(ver_cut 1-2) QTMIN=5.14.2 -inherit ecm kde.org xdg-utils +inherit ecm kde.org optfeature xdg-utils DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" LICENSE="LGPL-2.1+" @@ -55,13 +55,12 @@ src_configure() { } pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Optional dependencies:" + optfeature "Send through KDE Connect" kde-misc/kdeconnect[app] + fi ecm_pkg_postinst xdg_icon_cache_update - - if ! has_version "kde-misc/kdeconnect[app]" ; then - elog "Optional runtime dependency:" - elog "kde-misc/kdeconnect[app] (send through KDE Connect)" - fi } pkg_postrm() { |
