dev-python/pyqt5: drop bluetooth USE

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-01-22 16:12:59 -05:00
committed by Andreas Sturmlechner
parent 07e83cb78d
commit e5f30e289d
2 changed files with 5 additions and 6 deletions

View File

@@ -6,7 +6,6 @@
<name>Gentoo Qt Project</name>
</maintainer>
<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 and QtQuick modules and enable the qmlscene plugin</flag>
<flag name="designer">Build bindings for the QtDesigner module and enable the designer plugin</flag>

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
IUSE="
bluetooth dbus debug declarative designer examples gles2-only gui help location
dbus debug declarative designer examples gles2-only gui help location
multimedia network opengl positioning printsupport sensors serialport speech
sql +ssl svg testlib webchannel websockets widgets x11extras xmlpatterns
"
@@ -27,7 +27,6 @@ IUSE="
# The requirements below were extracted from the qmake_QT declarations
# in project.py and from the output of 'grep -r "%Import " ${S}/sip'
REQUIRED_USE="
bluetooth? ( gui )
declarative? ( gui network )
designer? ( widgets )
help? ( gui widgets )
@@ -53,7 +52,6 @@ QT_PV="5.15:5"
DEPEND="
>=dev-qt/qtcore-${QT_PV}
>=dev-qt/qtxml-${QT_PV}
bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} )
dbus? (
dev-python/dbus-python[${PYTHON_USEDEP}]
>=dev-qt/qtdbus-${QT_PV}
@@ -125,7 +123,6 @@ python_configure_all() {
--enable=pyrcc
--enable=Qt
--enable=QtCore
$(pyqt_use_enable bluetooth QtBluetooth)
$(pyqt_use_enable dbus QtDBus)
$(pyqt_use_enable declarative QtQml QtQuick \
$(usev widgets QtQuickWidgets))
@@ -153,6 +150,9 @@ python_configure_all() {
--enable=QtXml
$(pyqt_use_enable xmlpatterns QtXmlPatterns)
# no longer supported in Gentoo for PyQt5, use PyQt6
--disable=QtBluetooth
$(usev debug '--debug --qml-debug --tracing')
$(usev !dbus --no-dbus-python)