From patchwork Thu Apr 12 20:45:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 897797 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.133; helo=hemlock.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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40MXxK5pkfz9s2L for ; Fri, 13 Apr 2018 06:45:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5282A897F4; Thu, 12 Apr 2018 20:45:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mpv06KF0CJjb; Thu, 12 Apr 2018 20:45:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A7D61897EC; Thu, 12 Apr 2018 20:45:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 329A71CF131 for ; Thu, 12 Apr 2018 20:45:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2FE00897EC for ; Thu, 12 Apr 2018 20:45:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WcCTQo4dBys6 for ; Thu, 12 Apr 2018 20:45:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by hemlock.osuosl.org (Postfix) with ESMTPS id EDDC2897E7 for ; Thu, 12 Apr 2018 20:45:48 +0000 (UTC) Received: from localhost.localdomain ([88.66.253.134]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MYbFe-1f1lG6135u-00VQW8; Thu, 12 Apr 2018 22:45:44 +0200 From: Peter Seiderer To: buildroot@buildroot.org Date: Thu, 12 Apr 2018 22:45:41 +0200 Message-Id: <20180412204543.25535-2-ps.report@gmx.net> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180412204543.25535-1-ps.report@gmx.net> References: <20180412204543.25535-1-ps.report@gmx.net> X-Provags-ID: V03:K1:0zkaqTAaper1iEafydl4wQWxMDBo2RLwIXBbDMFrDe6/Lx7V44/ yO9a5CaxIpjfD6dtvPC1mKFkUaYxcn4wMLFeemer8GRnITvrp7uI+yZXJBP7Sf9kmyY6KOM VAGaZ11+m6Wo0FAGZdb3jyyWbj+viu20I9d9GDfShCKvxrvGV7bLw5YbTTFetvy8RmA9eE1 ZuUYSzDbNnsYhR2xnvowg== X-UI-Out-Filterresults: notjunk:1; V01:K0:48vFUcwDxow=:d64sYhn+qWhDfq2rKDstek OjkIkd1bGAn7abN2i6OiHVf/bgaqmS/hFJCJ8FNLJ7MAG+RWdmmjdImubsCO8q24FDTaAri4X pruJHoWrOGbuE+Zjc8eOWrfaqL1W8HY0INe2LSAuYvuXIMs5p1ysXfbQFTzJcjhA7/A9ONyO0 ErJdO+31IJjc1CaXYNLAoaq/frpAOi1nG3hXhoTW7pa+g0DxpMH3oT+fNCq2nGFaZtSSpin4e yR1K71ftxwXd+2bFKYKia7FwSlEEe26cueUztjf4rrxl2vYQZwtD/GhmuG+bSUNvudPHOFMK3 T2Y9K6ATJXZ3/Ke5a/Jc1kmAAjTntKBXRws5gsktZwrYEXT56JSOSpmZO95arqSVGzyqAFJph l+zcRRap+vXsVChE+Uf6H8pEYp/tH5EnCvq+PT23Y7QvSzpcJCBuFETn1t05Mq0wOslQlOsjW 2B2/b6DWeFJ3vCFUO1dZ+y4K7CBz8FGfiejepbcHMxuASs5Q76wuc1LTndvjod3VjZ2IzrDOO nMXpURCVAX1eguM4tZ7TWAk7pDYmYb5rJMhOqymCZU4pD8PtIe0S4nCtzg4JFukQ3pnval5tw QXV5ZOc0vghurEwhIZSy/MUra+N9lnBSPlfDqNtb1H3Rbo89yp3W4zZ/UNNWzwunxjDTNw6Dz 16bV9z3WQv79F0ABl8BwmI3XL2rz961MlBOYRBg8Bu/Fzo1/n55pbwAlFwxYjStH0pQmqdqOW HHWG1IDlyJZs4ViQAyqX3lPKK4urPzANni2UwDX5QFZlUOjX+CxEamhL/i7DO0xmsupsYXm3p pye+YFDV9YK5Mc3zJoPsGswSM3wRw== Subject: [Buildroot] [PATCH v4 09/11] gst1-plugins-bad: re-add wayland option X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - re-add the legacy (1.12.x) behaviour Signed-off-by: Peter Seiderer --- Note: The BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND help text 'Wayland Video Sink' is still not accurate, the gst1-plugins-bad configure option --disable/enable-wayland has more influence than only disable/enable the waylandsink plugin in gst1-plugins-bad-1.14.0/ext/wayland, see e.g.: $ grep -R USE_WAYLAND build/gst1-plugins-bad-1.14.0 [...] build/gst1-plugins-bad-1.14.0/ext/Makefile.am:if USE_WAYLAND build/gst1-plugins-bad-1.14.0/ext/Makefile.in:@USE_WAYLAND_FALSE@WAYLAND_DIR = build/gst1-plugins-bad-1.14.0/ext/Makefile.in:@USE_WAYLAND_TRUE@WAYLAND_DIR = wayland build/gst1-plugins-bad-1.14.0/ext/vulkan/Makefile.am:if USE_WAYLAND build/gst1-plugins-bad-1.14.0/ext/vulkan/Makefile.in:@USE_WAYLAND_TRUE@am__append_3 = wayland build/gst1-plugins-bad-1.14.0/ext/vulkan/Makefile.in:@USE_WAYLAND_TRUE@am__append_4 = wayland/libgstvulkan-wayland.la build/gst1-plugins-bad-1.14.0/gst-libs/gst/Makefile.am:if USE_WAYLAND build/gst1-plugins-bad-1.14.0/gst-libs/gst/Makefile.in:@USE_WAYLAND_TRUE@WAYLAND_DIR = wayland [...] --- package/gstreamer1/gst1-plugins-bad/Config.in | 8 ++++++++ package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 3284b07b97..a2ceeb9035 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -544,6 +544,14 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC bool "voaacenc" select BR2_PACKAGE_VO_AACENC +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND + bool "wayland" + default y + depends on BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + help + Wayland Video Sink + config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP bool "webp" select BR2_PACKAGE_WEBP diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk index 7a027aef2e..4927b23990 100644 --- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -71,6 +71,13 @@ GST1_PLUGINS_BAD_CONF_ENV += \ -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux" endif +ifneq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),) +GST1_PLUGINS_BAD_CONF_OPTS += --enable-wayland +GST1_PLUGINS_BAD_DEPENDENCIES += wayland wayland-protocols +else +GST1_PLUGINS_BAD_CONF_OPTS += --disable-wayland +endif + ifeq ($(BR2_PACKAGE_ORC),y) GST1_PLUGINS_BAD_DEPENDENCIES += orc GST1_PLUGINS_BAD_CONF_OPTS += --enable-orc