From patchwork Sun Mar 10 17:51:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 1054037 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.net Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44HTLj3gwrz9s70 for ; Mon, 11 Mar 2019 04:51:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BCE6785F5D; Sun, 10 Mar 2019 17:51:21 +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 LIgufbz-cpDe; Sun, 10 Mar 2019 17:51:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2637585F56; Sun, 10 Mar 2019 17:51:21 +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 409BE1BF404 for ; Sun, 10 Mar 2019 17:51:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 33E1785F56 for ; Sun, 10 Mar 2019 17:51:20 +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 kuNSzptrGngB for ; Sun, 10 Mar 2019 17:51:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6191685F4D for ; Sun, 10 Mar 2019 17:51:18 +0000 (UTC) Received: from localhost.localdomain ([178.7.117.106]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MXZNq-1hXGXo2cvW-00WTtJ; Sun, 10 Mar 2019 18:51:10 +0100 From: Peter Seiderer To: buildroot@buildroot.org Date: Sun, 10 Mar 2019 18:51:09 +0100 Message-Id: <20190310175109.13444-1-ps.report@gmx.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:EOLe3aBRe393PiZXIU8CEOlfSDw84soB2WcsvWwjlsSKFU814ec hTOCmR7px4cpvO+n3jjUIwm0xGyAm8yjsT2CicOOndlCicG4QRF8BQRsIuhmJdBZxUO47ym dUe4nwTiPHw3P3iTJ8hag68+BZe4o2X9lE/lJXN7ozGh5BZpPnj+QOYr2tn1Ja2zoJlfe4N llqSnGNfZr8VX8TEdi+qg== X-UI-Out-Filterresults: notjunk:1; V03:K0:R3/nw5CgSik=:h6fw9RnXv+4drJUodYzm/g jRRgufijgDRZsTUL1/W/z1P1pu4B5ATXp244J+q5QacNTV5e1ugf6DmL+ytGHywPdAMWl4fSR iHBsn0WVMiBG25eAGIGldxVgxBGaYqbnlc7e7bAjgoul7qSlnTPYsM1ePT92oE66PiqZKfyXz 780pHe8dz6mdPLvyvbKaXZmDcckesJclaEl4AW6NCO5U+wBzwGvofJwGLvDt4Di9EI+xg2it1 KgqQ6j+Ec5ovlPjL07fssVOFpg3P5cbzcYnv/QxDBu6LinI3sVOiNuwJXI38i4DXoPN5gPwwo 3hqFR0tB9Q7orGwpNs8fgCYfbc0pQAXMsOy/A2HmPVjxak6thUCpW1B0QGWNlDyc7kQCEsnTG 6NbUnOntoW2sH1x7UEJwbKH/ye10oHQp8jEAY4qJgbQnGLwBLVaYll5oZgf0MRUDnDx4mXfXl 1mnf0cbcFmRIcWlumoUGSaBPebWoklWZEeMi75239bRNCiMkw66ipjlnOGU/CbFY2z4bQuaW5 3YyC2KbULutI06ftU1Y1Za6/pOFNmzBgjPL+dKUuGp/RkKnlr8e8J76avNdGB+16kyQm7Un7w 82z4zsdmupvtXQS0K4NoEb5cY5rP5Xi2a2wvifybFCawl1LsYlYTRwuOqr5DzZum+/apTDaSf txh7P2xzM7BfIGIiFbcrnh47kWeYAYzZwzKssKamGUn/SDSghr3JszTJNX8gRupXLDZJJCH9y hpYNvdZzSPZZcABpBFM3J5uHuNWIPnO7AOpi0nPoEkOnjN5DjAGxi0iGa5O/UrnE7f6Pcb5v0 kmRa1kQGCFxF4Aangx5PaYFxz4hRY+ctbWJH0wupJqmpDXGPXhHXKQq+8iFekMZSyzu9sGVxN hartxdvtOiRv310R8uarUrJknuCe+s339Hlu5sieyhOYCHYwgLwk0xAcwCY5w1 Subject: [Buildroot] [RFC v1] package/gst1-plugins-bad: add webrtcbin option 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: fancychao , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Peter Seiderer --- Notes: - just compile tested yet - named webrtcbin option (instead of webrtc), because of the BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC entry in Config.in.legacy (see [1] for history) [1] https://git.buildroot.net/buildroot/commit/?id=4c06d2490a07f0b88f42c56c7409899fd2f5608a --- package/gstreamer1/gst1-plugins-bad/Config.in | 11 +++++++++++ .../gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 7 +++++++ 2 files changed, 18 insertions(+) diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 869f0a9d45..5d0480cfb0 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -558,6 +558,17 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP help Webp image format plugin +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCBIN + bool "webrtcbin" + depends on !BR2_STATIC_LIBS # libnice -> gnutls + select BR2_PACKAGE_GST1_PLUGINS_BASE # libgstsdp + select BR2_PACKAGE_LIBNICE + help + WebRTC plugins (webrtcbin - a bin for webrtc connections) + +comment "webrtcbin needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP bool "webrtcdsp" # All depends from webrtc-audio-processing diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index f5b081f972..2220554a2d 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -703,6 +703,13 @@ else GST1_PLUGINS_BAD_CONF_OPTS += --disable-webp endif +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCBIN),y) +GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtc +GST1_PLUGINS_BAD_DEPENDENCIES += gst1-plugins-base libnice +else +GST1_PLUGINS_BAD_CONF_OPTS += --disable-webrtc +endif + ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP),y) GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtcdsp GST1_PLUGINS_BAD_DEPENDENCIES += webrtc-audio-processing