diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-12-12 06:48:07 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-12-12 16:23:44 -0500 |
commit | fad1f2c38bd881295e92818f8507fb72b37c34b3 (patch) | |
tree | 5604169e0db6e422881c58994a8c477a07191f3e /dev-qt | |
parent | dev-qt/qttools: update live (diff) | |
download | gentoo-fad1f2c38bd881295e92818f8507fb72b37c34b3.tar.gz gentoo-fad1f2c38bd881295e92818f8507fb72b37c34b3.tar.bz2 gentoo-fad1f2c38bd881295e92818f8507fb72b37c34b3.zip |
dev-qt/qtdeclarative: update live
Can avoid the more typical = for ssl ([ssl=]) thanks to having no
uncontrolled QT_FEATURE_ssl automagic, but there is some for network.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qtdeclarative/metadata.xml | 1 | ||||
-rw-r--r-- | dev-qt/qtdeclarative/qtdeclarative-6.9999.ebuild | 14 |
2 files changed, 11 insertions, 4 deletions
diff --git a/dev-qt/qtdeclarative/metadata.xml b/dev-qt/qtdeclarative/metadata.xml index 62a0a2de1bd8..2d0b3fc41d29 100644 --- a/dev-qt/qtdeclarative/metadata.xml +++ b/dev-qt/qtdeclarative/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="localstorage">Build the LocalStorage import for QtQuick (requires QtSql)</flag> + <flag name="network">Enable QtNetwork support</flag> <flag name="opengl">Enable OpenGL support</flag> <flag name="sql">Enable QtSQL support</flag> <flag name="widgets">Enable QtWidgets support</flag> 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 |