commit: 35dbc8c4d2cbee2c2b0de394127eaae9cced741c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 15:19:49 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri May 7 15:23:44 2021 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=35dbc8c4
kde-plasma/plasma-desktop: Advertise accessibility support via optfeature
Using app-accessibility/orca.
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/plasma-desktop/plasma-desktop-5.21.5.ebuild | 9 ++++++++-
kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-5.21.5.ebuild
b/kde-plasma/plasma-desktop/plasma-desktop-5.21.5.ebuild
index 32099a2771..af0fb430fe 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-5.21.5.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-5.21.5.ebuild
@@ -9,7 +9,7 @@ KFMIN=5.82.0
PVCUT=$(ver_cut 1-3)
QTMIN=5.15.2
VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
DESCRIPTION="KDE Plasma desktop"
XORGHDRS="${PN}-override-include-dirs-0"
@@ -170,3 +170,10 @@ src_test() {
ecm_src_test
}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "screen reader support" app-accessibility/orca
+ fi
+ ecm_pkg_postinst
+}
diff --git a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
index 66bed7a89d..3c1249acda 100644
--- a/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
+++ b/kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild
@@ -9,7 +9,7 @@ KFMIN=9999
PVCUT=$(ver_cut 1-3)
QTMIN=5.15.2
VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org optfeature
DESCRIPTION="KDE Plasma desktop"
XORGHDRS="${PN}-override-include-dirs-0"
@@ -171,3 +171,10 @@ src_test() {
ecm_src_test
}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "screen reader support" app-accessibility/orca
+ fi
+ ecm_pkg_postinst
+}