Merge pull request #10244 from akallabeth/webkit2gtk4.1

[client,SDL] add webkit2gtk4.1 support
This commit is contained in:
Bernhard Miklautz 2024-06-04 13:19:58 +02:00 committed by GitHub
commit 2a57590e97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -61,7 +61,10 @@ if (WITH_WEBVIEW)
)
else()
find_package(PkgConfig REQUIRED)
pkg_check_modules(WEBVIEW_GTK webkit2gtk-4.1)
if (NOT WEBVIEW_GTK_FOUND)
pkg_check_modules(WEBVIEW_GTK webkit2gtk-4.0 REQUIRED)
endif()
include_directories(${WEBVIEW_GTK_INCLUDE_DIRS})
list(APPEND LIBS
${WEBVIEW_GTK_LIBRARIES}

View File

@ -50,7 +50,7 @@ Build-Depends:
libsdl3-ttf-dev | libsdl2-ttf-dev,
libsdl3-image-dev | libsdl2-image-dev,
libsystemd-dev,
libwebkit2gtk-4.0-dev,
libwebkit2gtk-4.1-dev | libwebkit2gtk-4.0-dev,
liburiparser-dev,
libopus-dev,
libwebp-dev,