From patchwork Sat May 5 00:14:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135060 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659367lji; Fri, 4 May 2018 17:17:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZokQPrNZhwdlR1cZ0bhjuJUNiEi4V527FL0jkKO+DG7pxvbZZzjHOXGty/U/ZRUcSlkiSOf X-Received: by 10.98.214.5 with SMTP id r5mr29051381pfg.8.1525479446002; Fri, 04 May 2018 17:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479445; cv=none; d=google.com; s=arc-20160816; b=rehh6y3fOEIJjc1qWtm0dCl+GfgC3MxtecURx3Q+tRZCQe0WexUoIiXbgHelmkIjPa vgdHSvY1ZsAvizjdbQCx90nnhKUP9t8tK60yNx3DnN9s8KcKw0xtili/WNCn9log/3Th vV+Ebia7sLe81NwiSK/HcPXaIoBldVsrmK7eTmWJXYre4BLOLYdei/CPa+tlXDVVZPXV 2Hq0VyFKviQk8C3+6E3Udk9JzS44NGSKMCMNxC1mTX7oPqsPvEEHYmkEZEZ4WkqCkQDj dpVLXB9pWyEj1VxbZYPqXHTfPCCojuzlknSyNX1OA/VFgFhcFeXJNtn3BSCSHI+zv17W s0MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=31EBZ9n9ruyzq4h0dlTQiabvRweBdgatwvOZlD9U7Fs=; b=cnXxLZrNtK8yX8B7wUfNK43WTYly8U/NNZ7t4Zom0Ijp8RNe3+na7EtAxsyIPthAzQ LOSmHlIu0qyvUgGW91cyStLSodZeOsPSJh8hfeMwycsj9WZOd27V3qZezOszEUemfiYP LCjtHe5UOHAyKa0MYhw3hL7X8BMsDG6t/7wIfKD/W/az8Yo2hTImuAVjoalxSWumeeec WXeOanNqBysfSpW5AMtF+Nwh6kMXjZyOAugQitScDQp9qmrtcpwzqX3PQ4vCLVpJhHRt lCbCzOB2TRP8IRmV7jWV9SR85nEIGPUTbmjtMKJKZol/7CcXfXBrAbUv+frzlLjNdcOx 0qJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cZenbyqs; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d1-v6si17712318plr.410.2018.05.04.17.17.25; Fri, 04 May 2018 17:17:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cZenbyqs; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B246374DC6; Sat, 5 May 2018 00:15:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id D679874D80 for ; Sat, 5 May 2018 00:14:49 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id 82-v6so16446395pge.11 for ; Fri, 04 May 2018 17:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=a8tdDY4NWb0/WFSGV8AOycfxIGYazx0m5OIim3ov2nk=; b=cZenbyqs/w3AP1sRRxz+ud5MyzoI+jtOGYI+pWIFAf1WwKmqMEdvn2ApoDLmmmgLqH PSn75LFkh+d4yOEqLC2lkz4baz/yZaNi+eVkeS1N4jcsXMKnkacgyKPclcZxWxFVu+yr /DkjcYhI1ouy1jvGiiElpvn4vHPIR7OX00Tu06Q8NrejZSzfbUJtfYCKwSMRhL3O2vCV DRF6bDdAvQYTV1C7uCv5l1tvqMQnYlu2urpa2UFGOM3U4A3dwXlCGYa+A8V7YdTkZDTB 3k7t4osCN7Pmxw46rrCuCEkPhV3mrylizHJ9MxcgZyBeUL7MUKxHLfkuPt1wkbcgDyFu cCTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=a8tdDY4NWb0/WFSGV8AOycfxIGYazx0m5OIim3ov2nk=; b=ghEzlI9Invm2tDAL85SzcI+kJoo/5cAeF8d/kXJ91hr0+CnpRqDb1rRAolZMMi9Ufy Cvi935ln8DdZzn69o2OZ5lbex+qyezxc9yjn0aPUgjbrkDiwW+NQrmx0p68sq+0bOS1M 62l1lRjhq+RPrG35YM4nQ9XNmD8J8ud8XVoKgJBdmB+nwwFQNwhyFcD+yOmVZ5Co5ds1 Zn7GrxBTZk7ipGVLx8xbxehr+5kc0YNmfHQiaHhfksQVMJX8GYnwS5hM5cwkFaZf/Llm 2Cg3kOMLuu4PKpNh+VhYJLJ26911zY5ws+dtCw2z8w9ZdvhUieqwuoqUCxOuxu5YWD55 aLFg== X-Gm-Message-State: ALQs6tCSEHdSd1N3R3jJy/pCCwC+zvKbpBiXYVQ+OoQvX1jLggcGJfWZ nl4eo2o6hI8AkPuQW8DRArLecA== X-Received: by 2002:a65:61ad:: with SMTP id i13-v6mr23655500pgv.449.1525479290869; Fri, 04 May 2018 17:14:50 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:49 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:18 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 24/27] Disable using GST_GL if gst does not enable it X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../webkitgtk/detect-gstreamer-gl.patch | 20 +++++++++++++++++++ meta/recipes-sato/webkit/webkitgtk_2.20.0.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch b/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch new file mode 100644 index 0000000000..57ae48c141 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/detect-gstreamer-gl.patch @@ -0,0 +1,20 @@ +From: Alberto Garcia +Subject: Disable USE_GSTREAMER_GL is the package is not found +Forwarded: no +Upstream-Status: Pending +Signed-off-by: Khem Raj + +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 () diff --git a/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb index 50e2666578..e357c64214 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.20.0.bb @@ -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] = "51cc47345c3ec53802718cd6fc9b746f"