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

/usr/portage/net-libs/webkit-gtk/webkit-gtk-2.42.0-r410.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/37" # soname version of libwebkit2gtk-4.0
17
SLOT="4.1/0" # soname version of libwebkit2gtk-4.1
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"
......
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 32
#       with GLX set, but that's a bit automagic too to fix
33
# Softblocking webkit-gtk-2.38:4 as we going to use webkit-2.38:4.1's WebKitDriver binary
33 34
RDEPEND="
34 35
	>=x11-libs/cairo-1.16.0[X?]
35 36
	>=media-libs/fontconfig-2.13.0:1.0
......
40 41
	>=dev-libs/icu-61.2:=
41 42
	media-libs/libjpeg-turbo:0=
42 43
	>=media-libs/libepoxy-1.4.0
43
	>=net-libs/libsoup-2.54:2.4[introspection?]
44
	>=net-libs/libsoup-3.0.8:3.0[introspection?]
44 45
	>=dev-libs/libxml2-2.8.0:2
45 46
	>=media-libs/libpng-1.4:0=
46 47
	dev-db/sqlite:3
......
94 95

  
95 96
	systemd? ( sys-apps/systemd:= )
96 97
	gamepad? ( >=dev-libs/libmanette-0.2.4 )
98
	!<net-libs/webkit-gtk-2.38:4
97 99
"
98 100
DEPEND="${RDEPEND}"
99 101
# Need real bison, not yacc
......
212 214
		-DENABLE_VIDEO=$(usex gstreamer)
213 215
		-DUSE_GSTREAMER_WEBRTC=$(usex gstreamer)
214 216
		-DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer)
215
		-DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.0 and use the webkit2gtk-4.1
217
		-DENABLE_WEBDRIVER=ON
216 218
		-DENABLE_WEBGL=ON
217 219
		-DENABLE_WEB_AUDIO=$(usex gstreamer)
218 220
		-DUSE_AVIF=$(usex avif)
......
231 233
		-DUSE_LIBSECRET=$(usex keyring)
232 234
		-DUSE_OPENGL_OR_ES=ON
233 235
		-DUSE_OPENJPEG=$(usex jpeg2k)
234
		-DUSE_SOUP2=ON
236
		-DUSE_SOUP2=OFF
235 237
		-DUSE_WOFF2=ON
236 238
	)
237 239

  
......
241 243
	WK_USE_CCACHE=NO cmake_src_configure
242 244
}
243 245

  
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

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