Diff webkit-gtk-2.42.0-r410 with a webkit-gtk-2.42.0-r600

/usr/portage/net-libs/webkit-gtk/webkit-gtk-2.42.0-r600.ebuild 2023-10-09 14:52:34.604368479 +0300
14 14
SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz"
15 15

  
16 16
LICENSE="LGPL-2+ BSD"
17
SLOT="4.1/0" # soname version of libwebkit2gtk-4.1
17
SLOT="6/0" # soname version of libwebkit2gtk-6.0
18 18
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
19 19

  
20 20
IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf +jpeg2k jpegxl +jumbo-build lcms seccomp spell systemd wayland X"
......
29 29
# experimental upstream (PRIVATE OFF) and shouldn't be used yet in 2.30
30 30
# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE)
31 31
# TODO: gst-plugins-base[X] is only needed when build configuration ends up
32
#       with GLX set, but that's a bit automagic too to fix
32
# with GLX set, but that's a bit automagic too to fix
33 33
# Softblocking webkit-gtk-2.38:4 as we going to use webkit-2.38:4.1's WebKitDriver binary
34 34
RDEPEND="
35 35
	>=x11-libs/cairo-1.16.0[X?]
......
37 37
	>=media-libs/freetype-2.9.0:2
38 38
	>=dev-libs/libgcrypt-1.7.0:0=
39 39
	>=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?]
40
	>=gui-libs/gtk-4.4.0:4[introspection?]
40 41
	>=media-libs/harfbuzz-1.4.2:=[icu(+)]
41 42
	>=dev-libs/icu-61.2:=
42 43
	media-libs/libjpeg-turbo:0=
......
214 215
		-DENABLE_VIDEO=$(usex gstreamer)
215 216
		-DUSE_GSTREAMER_WEBRTC=$(usex gstreamer)
216 217
		-DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer)
217
		-DENABLE_WEBDRIVER=ON
218
		-DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-5.0 and use the webkit2gtk-4.1
218 219
		-DENABLE_WEBGL=ON
219 220
		-DENABLE_WEB_AUDIO=$(usex gstreamer)
220 221
		-DUSE_AVIF=$(usex avif)
......
226 227
		-DENABLE_WAYLAND_TARGET=$(usex wayland)
227 228
		-DENABLE_X11_TARGET=$(usex X)
228 229
		-DUSE_GBM=ON
229
		-DUSE_GTK4=OFF
230
		-DUSE_GTK4=ON # webkit2gtk-6.0
230 231
		-DUSE_JPEGXL=$(usex jpegxl)
231 232
		-DUSE_LCMS=$(usex lcms)
232 233
		-DUSE_LIBHYPHEN=ON
......
243 244
	WK_USE_CCACHE=NO cmake_src_configure
244 245
}
245 246

  
246
src_install() {
247
	cmake_src_install
248

  
249
	insinto /usr/share/gtk-doc/html
250
	# This will install API docs specific to webkit2gtk-4.1
251
	doins -r "${S}"/Documentation/{jsc-glib,webkit2gtk,webkit2gtk-web-extension}-${SLOT%/*}
252
}
253

  
254 247
pkg_postinst() {
255 248
	optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue"
256 249
	optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta"
Thank you!