| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
PYTHON_REQ_USE="xml(+)"
|
| 6 |
|
PYTHON_COMPAT=( python3_{11..14} )
|
| 7 |
|
USE_RUBY="ruby31 ruby32 ruby33 ruby34 ruby40"
|
|
6 |
PYTHON_COMPAT=( python3_{12..14} )
|
|
7 |
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
|
| 8 |
8 |
|
| 9 |
9 |
inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake
|
| 10 |
10 |
|
| ... | ... | |
| 17 |
17 |
|
| 18 |
18 |
LICENSE="LGPL-2+ BSD"
|
| 19 |
19 |
SLOT="4.1/0" # soname version of libwebkit2gtk-4.1
|
| 20 |
|
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
|
20 |
KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
|
| 21 |
21 |
|
| 22 |
|
IUSE="aqua avif custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X"
|
|
22 |
IUSE="aqua avif cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X"
|
| 23 |
23 |
REQUIRED_USE="|| ( aqua wayland X )"
|
| 24 |
24 |
|
| 25 |
25 |
# Tests do not run when built from tarballs
|
| ... | ... | |
| 64 |
64 |
media-libs/libglvnd
|
| 65 |
65 |
media-libs/libpng:0=
|
| 66 |
66 |
media-libs/libwebp:=
|
| 67 |
|
media-libs/mesa
|
|
67 |
media-libs/mesa[opengl]
|
| 68 |
68 |
media-libs/svt-av1
|
| 69 |
69 |
media-libs/woff2
|
| 70 |
70 |
net-libs/libsoup:3.0[introspection?]
|
| ... | ... | |
| 121 |
121 |
"${FILESDIR}"/2.48.3-fix-ftbfs-riscv64.patch
|
| 122 |
122 |
"${FILESDIR}"/2.50.4-disable-native-simd-on-riscv.patch
|
| 123 |
123 |
"${FILESDIR}"/2.50.4-prefer-pthread.patch
|
| 124 |
|
"${FILESDIR}"/2.50.5-DFGBasicBlockInlines-gcc16.patch
|
| 125 |
|
"${FILESDIR}"/2.50.5-EventTarget-gcc16.patch
|
| 126 |
124 |
"${FILESDIR}"/2.52.1-documentloader-eventloop-h.patch
|
|
125 |
"${FILESDIR}"/2.52.3-disable-nvidia-dmabuf.patch
|
|
126 |
"${FILESDIR}"/2.52.6-no-sse2.patch
|
|
127 |
"${FILESDIR}"/2.52.6-no-video.patch
|
| 127 |
128 |
)
|
| 128 |
129 |
|
| 129 |
130 |
pkg_pretend() {
|
| ... | ... | |
| 235 |
236 |
# Source/cmake/GStreamerDependencies.cmake
|
| 236 |
237 |
-DENABLE_MEDIA_TELEMETRY=OFF
|
| 237 |
238 |
-DUSE_GSTREAMER=$(usex gstreamer)
|
| 238 |
|
-DUSE_GSTREAMER_WEBRTC=$(usex gstreamer)
|
|
239 |
-DUSE_GSTREAMER_WEBRTC=OFF # https://bugs.webkit.org/show_bug.cgi?id=235885
|
| 239 |
240 |
# Source/cmake/OptionsGTK.cmake
|
| 240 |
241 |
-DENABLE_DOCUMENTATION=OFF
|
| 241 |
242 |
-DENABLE_INTROSPECTION=$(usex introspection)
|
| ... | ... | |
| 255 |
256 |
-DUSE_WOFF2=ON
|
| 256 |
257 |
)
|
| 257 |
258 |
|
|
259 |
# Do our best to support x86 machines lacking SSE,
|
|
260 |
# https://bugs.gentoo.org/730044
|
|
261 |
if use x86; then
|
|
262 |
if use cpu_flags_x86_sse2; then
|
|
263 |
# These are normally added by the build system, but our
|
|
264 |
# patch changes the way an x86 CPU is detected, bypassing
|
|
265 |
# that addition.
|
|
266 |
append-flags "-msse2 -mfpmath=sse"
|
|
267 |
elif use cpu_flags_x86_sse; then
|
|
268 |
# If you have SSE1 but not SSE2, these are needed to
|
|
269 |
# avoid static_assert failures.
|
|
270 |
append-flags "-msse -mfpmath=sse"
|
|
271 |
else
|
|
272 |
# Neither? This is reportedly crashy, but better than
|
|
273 |
# nothing if you really don't have the hardware.
|
|
274 |
mycmakeargs+=( -DENABLE_WEBGL=OFF )
|
|
275 |
append-cppflags -DSKCMS_HAS_MUSTTAIL=0
|
|
276 |
fi
|
|
277 |
fi
|
|
278 |
|
| 258 |
279 |
if use riscv || use ppc64; then
|
| 259 |
280 |
# https://bugs.gentoo.org/970556
|
| 260 |
281 |
# https://bugs.webkit.org/show_bug.cgi?id=305745
|