diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-08-27 22:37:01 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-05 09:01:05 -0400 |
commit | 5936fe55454a719aaa8819a04a497a8e24dc10ec (patch) | |
tree | 2fd465cda88ebe353e2488d77aef6d40be8421b7 /dev-qt | |
parent | dev-qt/qtwebsockets: depend on qtbase:6[ssl] (diff) | |
download | gentoo-5936fe55454a719aaa8819a04a497a8e24dc10ec.tar.gz gentoo-5936fe55454a719aaa8819a04a497a8e24dc10ec.tar.bz2 gentoo-5936fe55454a719aaa8819a04a497a8e24dc10ec.zip |
dev-qt/qtwebsockets: make qml optional (qt6)
Skip revbump given already done in this commit batch.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qtwebsockets/qtwebsockets-6.5.2-r1.ebuild | 12 | ||||
-rw-r--r-- | dev-qt/qtwebsockets/qtwebsockets-6.5.9999.ebuild | 12 | ||||
-rw-r--r-- | dev-qt/qtwebsockets/qtwebsockets-6.9999.ebuild | 12 |
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 +} |