--- gentoo/app-text/foliate/foliate-2.6.4-r2.ebuild 2023-02-23 09:32:47.172096373 +0100 +++ gnome-next/app-text/foliate/foliate-2.6.4-r3.ebuild 2023-02-26 11:17:16.516887083 +0100 @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/johnfactotu LICENSE="GPL-3+" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" IUSE="handy spell" BDEPEND="${MESON_DEPEND} @@ -21,7 +21,7 @@ RDEPEND="dev-libs/gjs x11-libs/gtk+:3[introspection] x11-libs/pango[introspection] x11-libs/gdk-pixbuf:2[introspection] - net-libs/webkit-gtk:4[introspection] + net-libs/webkit-gtk:4.1[introspection] sys-devel/gettext handy? ( gui-libs/libhandy:=[introspection] ) spell? ( app-text/gspell[introspection] )" @@ -31,6 +31,9 @@ src_prepare() { python_fix_shebang build-aux/meson xdg_environment_reset + # https://github.com/johnfactotum/foliate/issues/931 + sed -i "s/'WebKit2': '4.0'/'WebKit2': '4.1'/" src/main.js || die + plocale_find_changes "${S}"/po '' '.po' rm_po() {