summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-qt/qtwebsockets/qtwebsockets-6.5.2-r1.ebuild12
-rw-r--r--dev-qt/qtwebsockets/qtwebsockets-6.5.9999.ebuild12
-rw-r--r--dev-qt/qtwebsockets/qtwebsockets-6.9999.ebuild12
3 files changed, 33 insertions, 3 deletions
diff --git a/dev-qt/qtwebsockets/qtwebsockets-6.5.2-r1.ebuild b/dev-qt/qtwebsockets/qtwebsockets-6.5.2-r1.ebuild
index 9be60c0ba7c8..ccdf2924edca 100644
--- a/dev-qt/qtwebsockets/qtwebsockets-6.5.2-r1.ebuild
+++ b/dev-qt/qtwebsockets/qtwebsockets-6.5.2-r1.ebuild
@@ -11,8 +11,18 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="qml"
+
RDEPEND="
=dev-qt/qtbase-${PV}*:6[network,ssl]
- =dev-qt/qtdeclarative-${PV}*:6
+ qml? ( =dev-qt/qtdeclarative-${PV}*:6 )
"
DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ )
+
+ qt6-build_src_configure
+}
diff --git a/dev-qt/qtwebsockets/qtwebsockets-6.5.9999.ebuild b/dev-qt/qtwebsockets/qtwebsockets-6.5.9999.ebuild
index 9be60c0ba7c8..ccdf2924edca 100644
--- a/dev-qt/qtwebsockets/qtwebsockets-6.5.9999.ebuild
+++ b/dev-qt/qtwebsockets/qtwebsockets-6.5.9999.ebuild
@@ -11,8 +11,18 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="qml"
+
RDEPEND="
=dev-qt/qtbase-${PV}*:6[network,ssl]
- =dev-qt/qtdeclarative-${PV}*:6
+ qml? ( =dev-qt/qtdeclarative-${PV}*:6 )
"
DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ )
+
+ qt6-build_src_configure
+}
diff --git a/dev-qt/qtwebsockets/qtwebsockets-6.9999.ebuild b/dev-qt/qtwebsockets/qtwebsockets-6.9999.ebuild
index 9be60c0ba7c8..ccdf2924edca 100644
--- a/dev-qt/qtwebsockets/qtwebsockets-6.9999.ebuild
+++ b/dev-qt/qtwebsockets/qtwebsockets-6.9999.ebuild
@@ -11,8 +11,18 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64"
fi
+IUSE="qml"
+
RDEPEND="
=dev-qt/qtbase-${PV}*:6[network,ssl]
- =dev-qt/qtdeclarative-${PV}*:6
+ qml? ( =dev-qt/qtdeclarative-${PV}*:6 )
"
DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ )
+
+ qt6-build_src_configure
+}