wpewebkit/fix-include-dirs.patch
2023-08-23 13:33:00 +00:00

49 lines
2.2 KiB
Diff

Index: wpewebkit-2.40.3/Source/cmake/FindWayland.cmake
===================================================================
--- wpewebkit-2.40.3.orig/Source/cmake/FindWayland.cmake
+++ wpewebkit-2.40.3/Source/cmake/FindWayland.cmake
@@ -32,5 +32,6 @@ find_package(PkgConfig QUIET)
pkg_check_modules(WAYLAND wayland-client wayland-server wayland-egl)
include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Wayland REQUIRED_VARS WAYLAND_LIBRARIES
+find_package_handle_standard_args(Wayland
+ REQUIRED_VARS WAYLAND_INCLUDE_DIRS WAYLAND_LIBRARIES
FOUND_VAR WAYLAND_FOUND)
Index: wpewebkit-2.40.3/Tools/wpe/backends/PlatformWPE.cmake
===================================================================
--- wpewebkit-2.40.3.orig/Tools/wpe/backends/PlatformWPE.cmake
+++ wpewebkit-2.40.3/Tools/wpe/backends/PlatformWPE.cmake
@@ -29,6 +29,8 @@ list(APPEND WPEToolingBackends_SYSTEM_IN
${ATK_INCLUDE_DIRS}
${GLIB_INCLUDE_DIRS}
${LIBEPOXY_INCLUDE_DIRS}
+ ${LIBXKBCOMMON_INCLUDE_DIRS}
+ ${WAYLAND_INCLUDE_DIRS}
${WPEBACKEND_FDO_INCLUDE_DIRS}
)
Index: wpewebkit-2.40.3/Source/cmake/FindLibxkbcommon.cmake
===================================================================
--- wpewebkit-2.40.3.orig/Source/cmake/FindLibxkbcommon.cmake
+++ wpewebkit-2.40.3/Source/cmake/FindLibxkbcommon.cmake
@@ -32,5 +32,6 @@ find_package(PkgConfig QUIET)
pkg_check_modules(LIBXKBCOMMON xkbcommon)
include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Libxkbcommon REQUIRED_VARS LIBXKBCOMMON_FOUND
+find_package_handle_standard_args(Libxkbcommon
+ REQUIRED_VARS LIBXKBCOMMON_INCLUDE_DIRS LIBXKBCOMMON_FOUND
FOUND_VAR LIBXKBCOMMON_FOUND)
Index: wpewebkit-2.40.3/Tools/MiniBrowser/wpe/CMakeLists.txt
===================================================================
--- wpewebkit-2.40.3.orig/Tools/MiniBrowser/wpe/CMakeLists.txt
+++ wpewebkit-2.40.3/Tools/MiniBrowser/wpe/CMakeLists.txt
@@ -14,6 +14,7 @@ set(MiniBrowser_SYSTEM_INCLUDE_DIRECTORI
${ATK_INCLUDE_DIRS}
${GLIB_INCLUDE_DIRS}
${LIBSOUP_INCLUDE_DIRS}
+ ${WAYLAND_INCLUDE_DIRS}
${WPEBACKEND_FDO_INCLUDE_DIRS}
)