dev-python/QtPy: add USE="speech"

Bug: https://bugs.gentoo.org/792861
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-06-02 22:25:36 +02:00
parent 855845d182
commit cb7418b6e3
2 changed files with 9 additions and 9 deletions

View File

@@ -17,8 +17,8 @@ KEYWORDS="~amd64 ~arm64 ~x86"
_IUSE_QT_MODULES="
declarative designer gui help location multimedia network opengl
positioning printsupport sensors serialport sql svg testlib webchannel
webengine websockets widgets x11extras xml xmlpatterns
positioning printsupport sensors serialport speech sql svg testlib
webchannel webengine websockets widgets x11extras xml xmlpatterns
"
IUSE="+pyqt5 pyside2 ${_IUSE_QT_MODULES}"
unset _IUSE_QT_MODULES
@@ -44,7 +44,6 @@ REQUIRED_USE="
# scxml? ( pyside2 )
# script? ( pyside2 )
# scripttools? ( pyside2 )
# speech? ( pyside2 )
# WARNING: the obvious solution of using || for PyQt5/pyside2 is not going
# to work. The package only checks whether PyQt5/pyside2 is installed, it does
@@ -68,7 +67,7 @@ RDEPEND="
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/PyQt5[declarative?,designer?,gui?,help?,location?]
dev-python/PyQt5[multimedia?,network?,opengl?,positioning?]
dev-python/PyQt5[printsupport?,sensors?,serialport?,sql?,svg?]
dev-python/PyQt5[printsupport?,sensors?,serialport?,speech?,sql?,svg?]
dev-python/PyQt5[testlib?,webchannel?,websockets?,widgets?]
dev-python/PyQt5[x11extras?,xml(+)?,xmlpatterns?]
webengine? ( dev-python/PyQtWebEngine[${PYTHON_USEDEP}] )
@@ -78,9 +77,9 @@ RDEPEND="
dev-python/pyside2[${PYTHON_USEDEP}]
dev-python/pyside2[designer?,gui?,help?,location?,multimedia?]
dev-python/pyside2[network?,opengl(+)?,positioning?,printsupport?]
dev-python/pyside2[sensors?,serialport(+)?,sql?,svg?,testlib?]
dev-python/pyside2[webchannel?,webengine?,websockets?,widgets?]
dev-python/pyside2[x11extras?,xml?,xmlpatterns?]
dev-python/pyside2[sensors?,serialport(+)?,speech?,sql?,svg?]
dev-python/pyside2[testlib?,webchannel?,webengine?,websockets?]
dev-python/pyside2[widgets?,x11extras?,xml?,xmlpatterns?]
declarative? ( dev-python/pyside2[qml,quick] )
' python3_{7..9} )
)
@@ -96,7 +95,7 @@ BDEPEND="
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/PyQt5[bluetooth,dbus,declarative,designer,gui,help,location]
dev-python/PyQt5[multimedia,network,opengl,positioning,printsupport]
dev-python/PyQt5[sensors,serialport,sql,svg,testlib,webchannel]
dev-python/PyQt5[sensors,serialport,speech,sql,svg,testlib,webchannel]
dev-python/PyQt5[websockets,widgets,x11extras,xml(+),xmlpatterns]
dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
)

View File

@@ -17,7 +17,7 @@
<use>
<flag name="pyqt5">Use <pkg>dev-python/PyQt5</pkg> as Qt for Python implementation</flag>
<flag name="pyside2">Use <pkg>dev-python/pyside2</pkg> as Qt for Python implementation</flag>
<flag name="declarative">Pull in 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">Pull in bindings for the QtDesigner module and enable the designer plugin</flag>
<flag name="gui">Pull in bindings for the QtGui module</flag>
<flag name="help">Pull in bindings for the QtHelp module</flag>
@@ -29,6 +29,7 @@
<flag name="printsupport">Pull in bindings for the QtPrintSupport module</flag>
<flag name="sensors">Pull in bindings for the QtSensors module</flag>
<flag name="serialport">Pull in bindings for the QtSerialPort module</flag>
<flag name="speech">Build bindings for the QtTextToSpeech module</flag>
<flag name="sql">Pull in bindings for the QtSql module</flag>
<flag name="svg">Pull in bindings for the QtSvg module</flag>
<flag name="testlib">Pull in bindings for the QtTest module</flag>