summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/lokalize/lokalize-20.08.49.9999.ebuild9
-rw-r--r--kde-apps/lokalize/lokalize-9999.ebuild9
2 files changed, 10 insertions, 8 deletions
diff --git a/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild b/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild
index 8947e072d92..2c4b0b64a07 100644
--- a/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild
+++ b/kde-apps/lokalize/lokalize-20.08.49.9999.ebuild
@@ -7,7 +7,7 @@ ECM_HANDBOOK="forceoptional"
PYTHON_COMPAT=( python3_{7,8} )
KFMIN=5.72.0
QTMIN=5.14.2
-inherit python-single-r1 ecm kde.org
+inherit python-single-r1 ecm kde.org optfeature
DESCRIPTION="KDE Applications 5 translation tool"
HOMEPAGE="https://kde.org/applications/office/org.kde.lokalize
@@ -65,8 +65,9 @@ src_install() {
}
pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "Autofetch kde.org translations in new project wizard" dev-vcs/subversion
+ fi
ecm_pkg_postinst
-
- has_version dev-vcs/subversion || \
- elog "To be able to autofetch KDE translations in new project wizard, install dev-vcs/subversion."
}
diff --git a/kde-apps/lokalize/lokalize-9999.ebuild b/kde-apps/lokalize/lokalize-9999.ebuild
index cf304476d8c..22da4a6a834 100644
--- a/kde-apps/lokalize/lokalize-9999.ebuild
+++ b/kde-apps/lokalize/lokalize-9999.ebuild
@@ -7,7 +7,7 @@ ECM_HANDBOOK="forceoptional"
PYTHON_COMPAT=( python3_{7,8} )
KFMIN=5.73.0
QTMIN=5.14.2
-inherit python-single-r1 ecm kde.org
+inherit python-single-r1 ecm kde.org optfeature
DESCRIPTION="KDE Applications 5 translation tool"
HOMEPAGE="https://kde.org/applications/office/org.kde.lokalize
@@ -65,8 +65,9 @@ src_install() {
}
pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "Autofetch kde.org translations in new project wizard" dev-vcs/subversion
+ fi
ecm_pkg_postinst
-
- has_version dev-vcs/subversion || \
- elog "To be able to autofetch KDE translations in new project wizard, install dev-vcs/subversion."
}