commit:     6bb0f98e3c8b40283535c6e2927edeb9bca3a942
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 11:21:10 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 11:21:10 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=6bb0f98e

kde-apps/parley: pkg_postinst optfeature re app-i18n/translate-shell

Upstream commit ca4c3cbeff92b954ca70554900103d76378af305

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/parley/parley-9999.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/kde-apps/parley/parley-9999.ebuild 
b/kde-apps/parley/parley-9999.ebuild
index 2e73ea8f94..cdc8b5f472 100644
--- a/kde-apps/parley/parley-9999.ebuild
+++ b/kde-apps/parley/parley-9999.ebuild
@@ -8,7 +8,7 @@ ECM_HANDBOOK_DIR="docs"
 PVCUT=$(ver_cut 1-3)
 KFMIN=5.92.0
 QTMIN=5.15.2
-inherit ecm kde.org
+inherit ecm kde.org optfeature
 
 DESCRIPTION="A vocabulary trainer to help you memorize things"
 HOMEPAGE="https://apps.kde.org/parley/";
@@ -54,3 +54,8 @@ src_prepare() {
        ecm_src_prepare
        cmake_comment_add_subdirectory plugins
 }
+
+pkg_postinst() {
+       optfeature "online access to translations" app-i18n/translate-shell
+       ecm_pkg_postinst
+}

Reply via email to