# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_REQ_USE="xml(+)" PYTHON_COMPAT=( python3_{11..14} ) USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40" inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake MY_P="webkitgtk-${PV}" DESCRIPTION="Open source web browser engine" HOMEPAGE="https://www.webkitgtk.org" SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2+ BSD" SLOT="6/0" # soname version of libwebkit2gtk-6.0 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" REQUIRED_USE="|| ( aqua wayland X )" # Tests do not run when built from tarballs # https://bugs.webkit.org/show_bug.cgi?id=215986 RESTRICT="test" # Dependencies can be found in Source/cmake/OptionsGTK.cmake. # # * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. # # * media-libs/mesa dep is for libgbm # # * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) # # * TODO: gst-plugins-base[X] is only needed when build configuration ends up # with GLX set, but that's a bit automagic too to fix # # * Softblocking