tdesktop: switch to webkitgtk_4_1

To reduce the number of WebKits in closure.

webkitgtk_4_1 should be the most common one in GNOME now.
webkitgtk_5_0 is still unstable.
This commit is contained in:
Jan Tojnar
2022-10-11 18:52:36 +02:00
parent d86b3713f1
commit 571d8e44bf
@@ -28,7 +28,7 @@
, tl-expected
, hunspell
, glibmm
, webkitgtk
, webkitgtk_4_1
, jemalloc
, rnnoise
, abseil-cpp
@@ -93,7 +93,7 @@ env.mkDerivation rec {
substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp \
--replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"'
substituteInPlace Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp \
--replace '"libwebkit2gtk-4.0.so.37"' '"${webkitgtk}/lib/libwebkit2gtk-4.0.so.37"'
--replace '"libwebkit2gtk-4.1.so.0"' '"${webkitgtk_4_1}/lib/libwebkit2gtk-4.1.so.0"'
'';
# We want to run wrapProgram manually (with additional parameters)
@@ -131,7 +131,7 @@ env.mkDerivation rec {
tl-expected
hunspell
glibmm
webkitgtk
webkitgtk_4_1
jemalloc
rnnoise
tg_owt