From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D741913835B for ; Fri, 7 May 2021 15:24:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07957E0864; Fri, 7 May 2021 15:24:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE2FFE0866 for ; Fri, 7 May 2021 15:24:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 221FE340C9C for ; Fri, 7 May 2021 15:24:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DAFA75D for ; Fri, 7 May 2021 15:24:22 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1620401024.35dbc8c4d2cbee2c2b0de394127eaae9cced741c.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-desktop/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/plasma-desktop/plasma-desktop-5.21.5.ebuild kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild X-VCS-Directories: kde-plasma/plasma-desktop/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 35dbc8c4d2cbee2c2b0de394127eaae9cced741c X-VCS-Branch: master Date: Fri, 7 May 2021 15:24:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f566c99-c7d3-480a-8151-908744e12d4c X-Archives-Hash: 69226715a1449c2c5bdace6f471057da commit: 35dbc8c4d2cbee2c2b0de394127eaae9cced741c Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri May 7 15:19:49 2021 +0000 Commit: Andreas Sturmlechner gentoo 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 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 +}