commit:     855845d182eafb7cd34fe4279bd639518ec84f98
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 20:07:37 2021 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 20:13:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855845d1

dev-python/PyQt5: add USE=speech

Bug: https://bugs.gentoo.org/792861
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>

 .../PyQt5/{PyQt5-5.15.4.ebuild => PyQt5-5.15.4-r1.ebuild}      | 10 ++++++----
 dev-python/PyQt5/metadata.xml                                  |  3 ++-
 profiles/arch/powerpc/package.use.mask                         |  2 +-
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-python/PyQt5/PyQt5-5.15.4.ebuild 
b/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild
similarity index 95%
rename from dev-python/PyQt5/PyQt5-5.15.4.ebuild
rename to dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild
index a09f97319d0..32d0b3c868a 100644
--- a/dev-python/PyQt5/PyQt5-5.15.4.ebuild
+++ b/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild
@@ -21,13 +21,13 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 
-# TODO: QtNfc, QtRemoteObjects, QtTextToSpeech
+# TODO: QtNfc, QtQuick3D, QtRemoteObjects
 IUSE="bluetooth dbus debug declarative designer examples gles2-only gui help 
location
-       multimedia network opengl positioning printsupport sensors serialport 
sql
-       +ssl svg testlib webchannel websockets widgets x11extras xmlpatterns"
+       multimedia network opengl positioning printsupport sensors serialport 
speech
+       sql +ssl svg testlib webchannel websockets widgets x11extras 
xmlpatterns"
 
 # The requirements below were extracted from configure.py
-# and from the output of 'grep -r "%Import " "${S}"/sip'
+# and from the output of 'grep -r "%Import " ${S}/sip'
 REQUIRED_USE="
        ${PYTHON_REQUIRED_USE}
        bluetooth? ( gui )
@@ -74,6 +74,7 @@ RDEPEND="${PYTHON_DEPS}
        printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} )
        sensors? ( >=dev-qt/qtsensors-${QT_PV} )
        serialport? ( >=dev-qt/qtserialport-${QT_PV} )
+       speech? ( >=dev-qt/qtspeech-${QT_PV} )
        sql? ( >=dev-qt/qtsql-${QT_PV} )
        svg? ( >=dev-qt/qtsvg-${QT_PV} )
        testlib? ( >=dev-qt/qttest-${QT_PV} )
@@ -131,6 +132,7 @@ src_configure() {
                        $(pyqt_use_enable printsupport QtPrintSupport)
                        $(pyqt_use_enable sensors)
                        $(pyqt_use_enable serialport QtSerialPort)
+                       $(pyqt_use_enable speech QtTextToSpeech)
                        $(pyqt_use_enable sql)
                        $(usex ssl '' '--disable-feature=PyQt_SSL')
                        $(pyqt_use_enable svg)

diff --git a/dev-python/PyQt5/metadata.xml b/dev-python/PyQt5/metadata.xml
index fc69b98a7a4..c75a0579613 100644
--- a/dev-python/PyQt5/metadata.xml
+++ b/dev-python/PyQt5/metadata.xml
@@ -8,7 +8,7 @@
        <use>
                <flag name="bluetooth">Build bindings for the QtBluetooth 
module</flag>
                <flag name="dbus">Build bindings for the QtDBus module</flag>
-               <flag name="declarative">Build bindings for the QtQml/QtQuick 
modules and enable the qmlscene plugin</flag>
+               <flag name="declarative">Build bindings for the QtQml and 
QtQuick modules and enable the qmlscene plugin</flag>
                <flag name="designer">Build bindings for the QtDesigner module 
and enable the designer plugin</flag>
                <flag name="gui">Build bindings for the QtGui module</flag>
                <flag name="help">Build bindings for the QtHelp module</flag>
@@ -21,6 +21,7 @@
                <flag name="printsupport">Build bindings for the QtPrintSupport 
module</flag>
                <flag name="sensors">Build bindings for the QtSensors 
module</flag>
                <flag name="serialport">Build bindings for the QtSerialPort 
module</flag>
+               <flag name="speech">Build bindings for the QtTextToSpeech 
module</flag>
                <flag name="sql">Build bindings for the QtSql module</flag>
                <flag name="svg">Build bindings for the QtSvg module</flag>
                <flag name="testlib">Build bindings for the QtTest module</flag>

diff --git a/profiles/arch/powerpc/package.use.mask 
b/profiles/arch/powerpc/package.use.mask
index d885c523894..e610609a4b5 100644
--- a/profiles/arch/powerpc/package.use.mask
+++ b/profiles/arch/powerpc/package.use.mask
@@ -192,7 +192,7 @@ dev-db/percona-server -numa
 # Davide Pesavento <[email protected]> (2016-07-28)
 # The corresponding Qt5 modules are not keyworded on ppc, and we don't want to
 # keyword them solely because of PyQt5 while there are no other in-tree users.
-dev-python/PyQt5 bluetooth location networkauth
+dev-python/PyQt5 bluetooth location networkauth speech
 
 # Michael Palimaka <[email protected]> (2016-07-07)
 # Requires unkeyworded dependencies

Reply via email to