mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
webkitgtk: Disable using GST_GL if gst does not enable it
(From OE-Core rev: c76f1fe05661bcdff1b59694cba986bc5feaf1c8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
From: Alberto Garcia <berto@igalia.com>
|
||||
Subject: Disable USE_GSTREAMER_GL is the package is not found
|
||||
Forwarded: no
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
Index: webkitgtk/Source/cmake/GStreamerChecks.cmake
|
||||
===================================================================
|
||||
--- webkitgtk.orig/Source/cmake/GStreamerChecks.cmake
|
||||
+++ webkitgtk/Source/cmake/GStreamerChecks.cmake
|
||||
@@ -43,7 +43,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO)
|
||||
message(FATAL_ERROR "GStreamer 1.10 is needed for USE_GSTREAMER_GL.")
|
||||
else ()
|
||||
if (NOT PC_GSTREAMER_GL_FOUND)
|
||||
- message(FATAL_ERROR "GStreamerGL is needed for USE_GSTREAMER_GL.")
|
||||
+ set(USE_GSTREAMER_GL OFF)
|
||||
+ message(STATUS "GStreamerGL is needed for USE_GSTREAMER_GL.")
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
||||
@@ -20,6 +20,7 @@ SRC_URI = "http://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
|
||||
file://detect-atomics-during-configure.patch \
|
||||
file://0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch \
|
||||
file://0001-Fix-build-with-musl.patch \
|
||||
file://detect-gstreamer-gl.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "0cd9b9ae1f48c04de5314f77806eceb4"
|
||||
|
||||
Reference in New Issue
Block a user