12 |
12 |
|
13 |
13 |
DESCRIPTION="Library for rendering dynamic web content in Qt6 C++ and QML applications"
|
14 |
14 |
SRC_URI+="
|
15 |
|
https://dev.gentoo.org/~ionen/distfiles/${PN}-6.5-patchset-1.tar.xz
|
|
15 |
https://dev.gentoo.org/~ionen/distfiles/${PN}-6.6-patchset-2.tar.xz
|
16 |
16 |
"
|
17 |
17 |
|
18 |
18 |
if [[ ${QT6_BUILD_TYPE} == release ]]; then
|
... | ... | |
20 |
20 |
fi
|
21 |
21 |
|
22 |
22 |
IUSE="
|
23 |
|
+alsa bindist custom-cflags designer geolocation +jumbo-build kerberos
|
24 |
|
opengl pdfium pulseaudio qml screencast +system-icu vulkan +widgets
|
|
23 |
+alsa bindist custom-cflags designer geolocation +jumbo-build
|
|
24 |
kerberos opengl pdfium pulseaudio qml screencast +system-icu
|
|
25 |
vaapi vulkan +widgets
|
25 |
26 |
"
|
26 |
27 |
REQUIRED_USE="
|
27 |
28 |
designer? ( qml widgets )
|
28 |
29 |
"
|
29 |
30 |
|
30 |
|
# dlopen: krb5, pciutils, udev
|
|
31 |
# dlopen: krb5, libva, pciutils, udev
|
31 |
32 |
RDEPEND="
|
32 |
33 |
app-arch/snappy:=
|
33 |
34 |
dev-libs/expat
|
... | ... | |
44 |
45 |
media-libs/lcms:2
|
45 |
46 |
media-libs/libjpeg-turbo:=
|
46 |
47 |
media-libs/libpng:=
|
47 |
|
media-libs/libvpx:=
|
48 |
48 |
media-libs/libwebp:=
|
49 |
49 |
media-libs/openjpeg:2=
|
50 |
50 |
media-libs/opus
|
|
51 |
media-libs/tiff:=
|
51 |
52 |
sys-apps/dbus
|
52 |
53 |
sys-apps/pciutils
|
53 |
54 |
sys-libs/zlib:=[minizip]
|
... | ... | |
75 |
76 |
x11-libs/libdrm
|
76 |
77 |
)
|
77 |
78 |
system-icu? ( dev-libs/icu:= )
|
|
79 |
vaapi? (
|
|
80 |
media-libs/libva:=[X]
|
|
81 |
media-libs/mesa[gbm(+)]
|
|
82 |
x11-libs/libdrm
|
|
83 |
)
|
|
84 |
!vaapi? ( media-libs/libvpx:= )
|
78 |
85 |
widgets? ( ~dev-qt/qtdeclarative-${PV}:6[widgets] )
|
79 |
86 |
"
|
80 |
87 |
DEPEND="
|
... | ... | |
87 |
94 |
test? (
|
88 |
95 |
widgets? ( app-text/poppler[cxx(+)] )
|
89 |
96 |
)
|
|
97 |
vaapi? (
|
|
98 |
vulkan? ( dev-util/vulkan-headers )
|
|
99 |
)
|
90 |
100 |
"
|
91 |
101 |
BDEPEND="
|
92 |
102 |
$(python_gen_any_dep 'dev-python/html5lib[${PYTHON_USEDEP}]')
|
... | ... | |
102 |
112 |
|
103 |
113 |
PATCHES+=(
|
104 |
114 |
# add extras as needed here, may merge in set if carries across versions
|
105 |
|
"${FILESDIR}"/${PN}-6.5.2-libcxx17.patch
|
106 |
|
"${FILESDIR}"/${PN}-6.5.2-cstdint.patch
|
|
115 |
"${FILESDIR}"/${PN}-6.6.0-cstdint.patch
|
107 |
116 |
)
|
108 |
117 |
|
109 |
118 |
python_check_deps() {
|
... | ... | |
180 |
189 |
$(qt_feature pulseaudio webengine_system_pulseaudio)
|
181 |
190 |
$(qt_feature screencast webengine_webrtc_pipewire)
|
182 |
191 |
$(qt_feature system-icu webengine_system_icu)
|
|
192 |
$(qt_feature vaapi webengine_vaapi)
|
183 |
193 |
$(qt_feature vulkan webengine_vulkan)
|
184 |
194 |
-DQT_FEATURE_webengine_embedded_build=OFF
|
185 |
195 |
-DQT_FEATURE_webengine_extensions=ON
|
... | ... | |
198 |
208 |
# (see discussions in https://github.com/gentoo/gentoo/pull/32281)
|
199 |
209 |
-DQT_FEATURE_webengine_system_re2=OFF
|
200 |
210 |
|
|
211 |
# bundled is currently required when using vaapi (forced regardless)
|
|
212 |
$(qt_feature !vaapi webengine_system_libvpx)
|
|
213 |
|
201 |
214 |
# not necessary to pass these (default), but in case detection fails
|
202 |
215 |
$(printf -- '-DQT_FEATURE_webengine_system_%s=ON ' \
|
203 |
216 |
freetype glib harfbuzz lcms2 libevent libjpeg \
|
204 |
|
libopenjpeg2 libpci libpng libvpx libwebp libxml \
|
205 |
|
minizip opus poppler snappy zlib)
|
|
217 |
libopenjpeg2 libpci libpng libtiff libwebp \
|
|
218 |
libxml minizip opus poppler snappy zlib)
|
206 |
219 |
|
207 |
220 |
# TODO: fixup gn cross, or package dev-qt/qtwebengine-gn with =ON
|
208 |
221 |
-DINSTALL_GN=OFF
|
... | ... | |
243 |
256 |
# fails with network sandbox
|
244 |
257 |
tst_loadsignals
|
245 |
258 |
tst_qquickwebengineview
|
|
259 |
tst_qwebengineglobalsettings
|
246 |
260 |
tst_qwebengineview
|
247 |
261 |
# certs verfication seems flaky and gives expiration warnings
|
248 |
262 |
tst_qwebengineclientcertificatestore
|