summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-04 08:35:04 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-03-04 09:53:03 -0500
commitf3796a1139d1b7a5d7611803bbfc093251fdc491 (patch)
tree82a59845ede4a420370c598a32dfdf78df245d49 /dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
parent5b23410a92433b993319ec27cea85c3df508194f (diff)
downloadgentoo-f3796a1139d1b7a5d7611803bbfc093251fdc491.tar.gz
gentoo-f3796a1139d1b7a5d7611803bbfc093251fdc491.tar.bz2
gentoo-f3796a1139d1b7a5d7611803bbfc093251fdc491.zip
dev-qt/qtwebengine: add IUSE=webdriver to 6.7+
No deps but make it optional given most people do not need this and it adds a bit of build time plus ~35MB to the install. For the IUSE name, debated IUSE=webenginedriver as well but "webdriver" is the name of the specification, and it felt redundant to have webengine in the IUSE name for the webengine package. wrt tests, unfortunately like most tools-related tests (see qttools), it tries to use the system's tool and makes it difficult to specify a path -- so skipping tst_webenginedriver for simplicity, it's not a component that need to be overly worried about either way (haven't tried but imagine may be further messy with sandbox too). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine/qtwebengine-6.9999.ebuild')
-rw-r--r--dev-qt/qtwebengine/qtwebengine-6.9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
index db61cb1b8cff..a8e50ac17067 100644
--- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild
@@ -20,7 +20,7 @@ fi
IUSE="
+alsa bindist custom-cflags designer geolocation +jumbo-build
kerberos opengl pdfium pulseaudio qml screencast +system-icu
- vaapi vulkan +widgets
+ vaapi vulkan webdriver +widgets
"
REQUIRED_USE="
designer? ( qml widgets )
@@ -170,6 +170,7 @@ src_configure() {
local mycmakeargs=(
$(qt_feature pdfium qtpdf_build)
$(qt_feature qml qtpdf_quick_build)
+ $(qt_feature webdriver webenginedriver)
$(qt_feature widgets qtpdf_widgets_build)
$(usev pdfium -DQT_FEATURE_pdf_v8=ON)
@@ -273,6 +274,8 @@ src_test() {
tst_qwebengineclientcertificatestore
# test is misperformed when qtbase is built USE=-test?
tst_touchinput
+ # currently requires webenginedriver to be already installed
+ tst_webenginedriver
)
# prevent using the system's qtwebengine