summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild')
-rw-r--r--dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild b/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
index 2b2d23cdc5a7..ca39dcd8b2f0 100644
--- a/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
+++ b/dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-inherit qt6-build
+PYTHON_COMPAT=( python3_{10..12} )
+inherit python-any-r1 qt6-build
DESCRIPTION="Qt Declarative (Quick 2)"
@@ -11,22 +12,27 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~x86"
fi
-IUSE="opengl +sql vulkan +widgets"
+IUSE="+network opengl +sql +ssl vulkan +widgets"
# behaves very badly when qtdeclarative is not already installed, also
# other more minor issues (installs junk, sandbox/offscreen issues)
RESTRICT="test"
-RDEPEND="~dev-qt/qtbase-${PV}:6[network,opengl=,sql?,vulkan=,widgets=]"
+RDEPEND="~dev-qt/qtbase-${PV}:6[network=,opengl=,sql?,ssl?,vulkan=,widgets=]"
DEPEND="
${RDEPEND}
vulkan? ( dev-util/vulkan-headers )
"
-BDEPEND="~dev-qt/qtshadertools-${PV}:6"
+BDEPEND="
+ ${PYTHON_DEPS}
+ ~dev-qt/qtshadertools-${PV}:6
+"
src_configure() {
local mycmakeargs=(
$(cmake_use_find_package sql Qt6Sql)
+ $(qt_feature network qml_network)
+ $(qt_feature ssl qml_ssl)
)
qt6-build_src_configure