14 |
14 |
SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz"
|
15 |
15 |
|
16 |
16 |
LICENSE="LGPL-2+ BSD"
|
17 |
|
SLOT="6/0" # soname version of libwebkit2gtk-6.0
|
|
17 |
SLOT="4/37" # soname version of libwebkit2gtk-4.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
|
33 |
|
# Softblocking webkit-gtk-2.38:4 as we going to use webkit-2.38:4.1's WebKitDriver binary
|
|
32 |
# with GLX set, but that's a bit automagic too to fix
|
34 |
33 |
RDEPEND="
|
35 |
34 |
>=x11-libs/cairo-1.16.0[X?]
|
36 |
35 |
>=media-libs/fontconfig-2.13.0:1.0
|
37 |
36 |
>=media-libs/freetype-2.9.0:2
|
38 |
37 |
>=dev-libs/libgcrypt-1.7.0:0=
|
39 |
38 |
>=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?]
|
40 |
|
>=gui-libs/gtk-4.4.0:4[introspection?]
|
41 |
39 |
>=media-libs/harfbuzz-1.4.2:=[icu(+)]
|
42 |
40 |
>=dev-libs/icu-61.2:=
|
43 |
41 |
media-libs/libjpeg-turbo:0=
|
44 |
42 |
>=media-libs/libepoxy-1.4.0
|
45 |
|
>=net-libs/libsoup-3.0.8:3.0[introspection?]
|
|
43 |
>=net-libs/libsoup-2.54:2.4[introspection?]
|
46 |
44 |
>=dev-libs/libxml2-2.8.0:2
|
47 |
45 |
>=media-libs/libpng-1.4:0=
|
48 |
46 |
dev-db/sqlite:3
|
... | ... | |
96 |
94 |
|
97 |
95 |
systemd? ( sys-apps/systemd:= )
|
98 |
96 |
gamepad? ( >=dev-libs/libmanette-0.2.4 )
|
99 |
|
!<net-libs/webkit-gtk-2.38:4
|
100 |
97 |
"
|
101 |
98 |
DEPEND="${RDEPEND}"
|
102 |
99 |
# Need real bison, not yacc
|
... | ... | |
215 |
212 |
-DENABLE_VIDEO=$(usex gstreamer)
|
216 |
213 |
-DUSE_GSTREAMER_WEBRTC=$(usex gstreamer)
|
217 |
214 |
-DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer)
|
218 |
|
-DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-5.0 and use the webkit2gtk-4.1
|
|
215 |
-DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.0 and use the webkit2gtk-4.1
|
219 |
216 |
-DENABLE_WEBGL=ON
|
220 |
217 |
-DENABLE_WEB_AUDIO=$(usex gstreamer)
|
221 |
218 |
-DUSE_AVIF=$(usex avif)
|
... | ... | |
227 |
224 |
-DENABLE_WAYLAND_TARGET=$(usex wayland)
|
228 |
225 |
-DENABLE_X11_TARGET=$(usex X)
|
229 |
226 |
-DUSE_GBM=ON
|
230 |
|
-DUSE_GTK4=ON # webkit2gtk-6.0
|
|
227 |
-DUSE_GTK4=OFF
|
231 |
228 |
-DUSE_JPEGXL=$(usex jpegxl)
|
232 |
229 |
-DUSE_LCMS=$(usex lcms)
|
233 |
230 |
-DUSE_LIBHYPHEN=ON
|
234 |
231 |
-DUSE_LIBSECRET=$(usex keyring)
|
235 |
232 |
-DUSE_OPENGL_OR_ES=ON
|
236 |
233 |
-DUSE_OPENJPEG=$(usex jpeg2k)
|
237 |
|
-DUSE_SOUP2=OFF
|
|
234 |
-DUSE_SOUP2=ON
|
238 |
235 |
-DUSE_WOFF2=ON
|
239 |
236 |
)
|
240 |
237 |
|