From patchwork Wed Nov 20 17:39:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preston X-Patchwork-Id: 1198362 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=codethink.co.uk Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47J92K5FXYz9sPJ for ; Thu, 21 Nov 2019 04:40:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4F87124B78; Wed, 20 Nov 2019 17:40:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KJsRFsHZS7EJ; Wed, 20 Nov 2019 17:40:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 173D624AF4; Wed, 20 Nov 2019 17:40:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6F21B1BF97F for ; Wed, 20 Nov 2019 17:39:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 69B3C86DDA for ; Wed, 20 Nov 2019 17:39:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UVnG-445Mthd for ; Wed, 20 Nov 2019 17:39:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from imap1.codethink.co.uk (imap1.codethink.co.uk [176.9.8.82]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C6CE286D2F for ; Wed, 20 Nov 2019 17:39:55 +0000 (UTC) Received: from [167.98.27.226] (helo=ts007-build.ts007.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iXTxJ-0008QV-RF; Wed, 20 Nov 2019 17:39:53 +0000 From: Thomas Preston To: buildroot@buildroot.org Date: Wed, 20 Nov 2019 17:39:30 +0000 Message-Id: <20191120173944.130142-17-thomas.preston@codethink.co.uk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191120173944.130142-1-thomas.preston@codethink.co.uk> References: <20191120173944.130142-1-thomas.preston@codethink.co.uk> MIME-Version: 1.0 Subject: [Buildroot] [RFC PATCH v3 16/30] package/libcef: Widevine support depends on widevine package. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jon duSaint , Michael Drake , Patrick Glaser , Thomas Preston , Enis Lavery Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Michael Drake Cc: Patrick Glaser Cc: Jon duSaint Cc: Enis Lavery Signed-off-by: Michael Drake Signed-off-by: Thomas Preston --- ...devine-assert.patch => 0002-stop-widevine-assert.patch} | 0 package/libcef/Config.in | 6 ++++++ package/libcef/libcef.mk | 7 +++++++ 3 files changed, 13 insertions(+) rename package/libcef/{0003-stop-widevine-assert.patch => 0002-stop-widevine-assert.patch} (100%) diff --git a/package/libcef/0003-stop-widevine-assert.patch b/package/libcef/0002-stop-widevine-assert.patch similarity index 100% rename from package/libcef/0003-stop-widevine-assert.patch rename to package/libcef/0002-stop-widevine-assert.patch diff --git a/package/libcef/Config.in b/package/libcef/Config.in index 3344750b5b..e0a70e626c 100644 --- a/package/libcef/Config.in +++ b/package/libcef/Config.in @@ -95,6 +95,12 @@ config BR2_PACKAGE_LIBCEF_CEFSIMPLE help Enables libcef example application cefsimple. +config BR2_PACKAGE_LIBCEF_WIDEVINE + bool "Enable Widevine support in libcef." + select BR2_PACKAGE_WIDEVINE + help + Enables Widevine key system support. + config BR2_PACKAGE_LIBCEF_VAAPI bool "Enable va-api support in libcef." depends on BR2_x86_64 diff --git a/package/libcef/libcef.mk b/package/libcef/libcef.mk index 7cc4888f44..0bd80f65d4 100644 --- a/package/libcef/libcef.mk +++ b/package/libcef/libcef.mk @@ -214,6 +214,13 @@ else LIBCEF_GN_DEFINES += use_pulseaudio=false endif +ifeq ($(BR2_PACKAGE_LIBCEF_WIDEVINE),y) +LIBCEF_GN_DEFINES += enable_widevine=true +LIBCEF_DEPENDENCIES += widevine +else +LIBCEF_GN_DEFINES += enable_widevine=false +endif + ifeq ($(BR2_PACKAGE_LIBCEF_VAAPI),y) LIBCEF_GN_DEFINES += use_vaapi=true LIBCEF_DEPENDENCIES += libva