commit:     40fef88166040b94aedc40bc69dcc6f405680a37
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 12:01:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40fef881

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-21.12.3.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/kde-apps/parley/parley-21.12.3.ebuild 
b/kde-apps/parley/parley-21.12.3.ebuild
index f6050a9e3946..96dcf316d469 100644
--- a/kde-apps/parley/parley-21.12.3.ebuild
+++ b/kde-apps/parley/parley-21.12.3.ebuild
@@ -8,7 +8,7 @@ ECM_HANDBOOK_DIR="docs"
 PVCUT=$(ver_cut 1-3)
 KFMIN=5.88.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