From 167ed33d48bd0daa020c531a0e33f22e9bb8d13f Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Thu, 6 Nov 2025 14:41:43 +0100 Subject: meson: Clean up tests for EPub * Properly require WebKit for the EPub backend, instead of it being an optional dependency. * Merge EPub tests together to simplify things. * Make MathJax optional, as it always has been. If missing, MathML will likely not display properly, but it's probably not that big of a deal as it's not the only use case for the EPub backend. If not found at setup time, use the historical default as fallback, in case it gets installed later. Note that all this MathJax stuff is currently unused, because the code has not been adjusted to make use of this check's results. --- libview/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libview') diff --git a/libview/meson.build b/libview/meson.build index 0f56f9c4..a8b7067d 100644 --- a/libview/meson.build +++ b/libview/meson.build @@ -80,7 +80,7 @@ libview_deps = [ math, ] -if not get_option('epub').disabled() +if webkit.found() libview_deps += webkit endif -- cgit v1.2.1