From 6faa8369d779bee28be81b9de663ef69377b15fc Mon Sep 17 00:00:00 2001 From: oreo639 Date: Fri, 23 Feb 2024 00:38:17 -0800 Subject: [PATCH] lightdm-webkit2-greeter: build with libwebkit2gtk41 --- srcpkgs/lightdm-webkit2-greeter/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lightdm-webkit2-greeter/template b/srcpkgs/lightdm-webkit2-greeter/template index 2bff464e405..eaddcf3a86e 100644 --- a/srcpkgs/lightdm-webkit2-greeter/template +++ b/srcpkgs/lightdm-webkit2-greeter/template @@ -1,11 +1,11 @@ # Template file for 'lightdm-webkit2-greeter' pkgname=lightdm-webkit2-greeter version=2.2.5 -revision=5 +revision=6 build_style=meson hostmakedepends="pkg-config glib-devel gettext" makedepends="accountsservice-devel gnome-backgrounds lightdm-devel - webkit2gtk-devel dbus-glib-devel libxklavier-devel" + libwebkit2gtk41-devel dbus-glib-devel libxklavier-devel" depends="void-artwork" short_desc="Light Display Manager Webkit2 Greeter" maintainer="John " @@ -20,6 +20,12 @@ post_extract() { mv themes/antergos themes/void } +pre_configure() { + vsed -e "s/dependency('webkit2gtk-4.0'/dependency('webkit2gtk-4.1'/" \ + -e "s/dependency('webkit2gtk-web-extension-4.0'/dependency('webkit2gtk-web-extension-4.1'/" \ + -i meson.build +} + lightdm-webkit-greeter_package() { short_desc+=" - (transitional dummy package)" depends="lightdm-webkit2-greeter>=${version}_${revision}"