blob: 57ae48c1413d218cd9d14478748190986c4f2c4a [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From: Alberto Garcia <berto@igalia.com>
2Subject: Disable USE_GSTREAMER_GL is the package is not found
3Forwarded: no
4Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Index: webkitgtk/Source/cmake/GStreamerChecks.cmake
8===================================================================
9--- webkitgtk.orig/Source/cmake/GStreamerChecks.cmake
10+++ webkitgtk/Source/cmake/GStreamerChecks.cmake
11@@ -43,7 +43,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
12 message(FATAL_ERROR "GStreamer 1.10 is needed for USE_GSTREAMER_GL.")
13 else ()
14 if (NOT PC_GSTREAMER_GL_FOUND)
15- message(FATAL_ERROR "GStreamerGL is needed for USE_GSTREAMER_GL.")
16+ set(USE_GSTREAMER_GL OFF)
17+ message(STATUS "GStreamerGL is needed for USE_GSTREAMER_GL.")
18 endif ()
19 endif ()
20 endif ()