From patchwork Tue Nov 21 15:27:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 840100 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b="ZzjxaJQJ"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yh9DS6gmZz9s76 for ; Wed, 22 Nov 2017 02:56:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EE4AE87351; Tue, 21 Nov 2017 15:56:06 +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 XEL3RBOPRNYE; Tue, 21 Nov 2017 15:56:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5554087335; Tue, 21 Nov 2017 15:56:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 97E721C0ED8 for ; Tue, 21 Nov 2017 15:35:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 923808249A for ; Tue, 21 Nov 2017 15:35:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NRnbeknHZp6b for ; Tue, 21 Nov 2017 15:35:03 +0000 (UTC) X-Greylist: delayed 00:07:45 by SQLgrey-1.7.6 Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id B9E44821AE for ; Tue, 21 Nov 2017 15:35:02 +0000 (UTC) Received: by mail-lf0-f66.google.com with SMTP id f134so14596599lfg.8 for ; Tue, 21 Nov 2017 07:35:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=H+7j56pZHYta11eZHH3wPbG2kut8CimeaW5XitzHWjo=; b=ZzjxaJQJj6UxtBM1AO8Z02C/yrGMo7x4g7fRRKf/ypUpf/1J/vVFmrzmFOZCHW8c5G JIslub8y9DW4Eqtec3l1s4am4+PTmHlpAICbN4Du3RR18h7JVE0SJEC31l4xJtXhKXPB Qr+hyHIa5wYYemq6V4k4BY6drs4nEa6n3D/oPTIRnF/zay9tvjLJLh3eyYbVR4ie0tgI oyf89rrnBTK8lISV49K/qzaWrui1h/owKq5B5Us7vaaDnHHbQvGoKRE1wPnuTDZBA4x3 U74UsPvz4IcltA3VDRv3YzU28JuN+WJKMeIKAXbR6eaSxLWyvTfjEbhpym0PyFng8onL MnJg== 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; bh=H+7j56pZHYta11eZHH3wPbG2kut8CimeaW5XitzHWjo=; b=H5rnpNnZqm/1uXiv/knArfUIdxcQ/LcCqDyC2ZyBu5D9uGTFrX1GiBzVl7VxrjmsNb NaIkXZHpwJqB4QNeGgNWa1u8Myv424uAmatEY50S5g0R/pYUWEcFjmXYG9b6eCz8o4SE sfSGrCus1kcWrtCxFFWVk+J7x8kYe79HqwDn5PggtLNA7BkGUpRc+3/d/ICvhrutOxtu KfuBCI94IKAbY5AobO9onPLb1sWpPiDBS0sDnuGEe/1dwrIcyoYGUzEWx39Wi0YQMZxB kMxxW1cg+nTzBQutZ9FhcGL9eZG9K6QNNwULPtBW1IiVbXOUD2Vo0jjA9EgI0uF2YXXK lJHA== X-Gm-Message-State: AJaThX5UQcWLMTjlJA0/5izyFy3s/2HDt/G2dG7yWE+/ukwSqdUOyXQF t6GlP89s5XoNpRMmcPtSc2pYS7xX X-Google-Smtp-Source: AGs4zMaSSjN9E5evsIirRFb81tUKAminMyXC3RRBrmpd3O70sfqmm3aLqW6M3oXe6YCJbFwXwz6AWw== X-Received: by 10.46.2.197 with SMTP id y66mr3387328lje.113.1511278034087; Tue, 21 Nov 2017 07:27:14 -0800 (PST) Received: from localhost.localdomain (LMontsouris-657-1-10-89.w90-63.abo.wanadoo.fr. [90.63.251.89]) by smtp.googlemail.com with ESMTPSA id o23sm2425874lfb.68.2017.11.21.07.27.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Nov 2017 07:27:13 -0800 (PST) From: Gary Bisson To: buildroot@busybox.net Date: Tue, 21 Nov 2017 16:27:06 +0100 Message-Id: <20171121152706.17883-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.15.0 Subject: [Buildroot] [PATCH][next] gst1-imx: fix v4l2 plugins disable options 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: thomas.petazzoni@free-electrons.com, alexandre.esse.dev@gmail.com MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Latest bump to v0.13.0 didn't take care of the following commit: 7bfbf71 v4l2: Rename to v4l2video and add switches to enable/disable sink/source Updating options to match the new naming of the V4L2 plugins. Fixes http://autobuild.buildroot.net/results/5c404a2a28a4052056e5c9a7edda40641fe55f9e Signed-off-by: Gary Bisson --- Hi, Also, there are new options for the g2d pango plugin that should be taken care of. I unfortunaly do not have time to do it right now, Alexandre can you have a look? Note that this won't break the build, it is just that the user can't control the build of g2dpango plugin. Thanks, Gary --- package/gstreamer1/gst1-imx/Config.in | 6 ++++++ package/gstreamer1/gst1-imx/gst1-imx.mk | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in index 9f792d1c82..9b977bdde8 100644 --- a/package/gstreamer1/gst1-imx/Config.in +++ b/package/gstreamer1/gst1-imx/Config.in @@ -84,4 +84,10 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC help Elements for V4L2 capture +config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK + bool "imxv4l2videosink" + select BR2_PACKAGE_GST1_PLUGINS_BAD + help + Elements for V4L2 output + endif diff --git a/package/gstreamer1/gst1-imx/gst1-imx.mk b/package/gstreamer1/gst1-imx/gst1-imx.mk index c621c360f4..a8fe6fe041 100644 --- a/package/gstreamer1/gst1-imx/gst1-imx.mk +++ b/package/gstreamer1/gst1-imx/gst1-imx.mk @@ -83,10 +83,17 @@ GST1_IMX_CONF_OPTS += --disable-vpu endif ifeq ($(BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC),y) -# There's no --enable-v4l2src option +# There's no --enable-imxv4l2videosrc option GST1_IMX_DEPENDENCIES += gst1-plugins-bad else -GST1_IMX_CONF_OPTS += --disable-v4l2src +GST1_IMX_CONF_OPTS += --disable-imxv4l2videosrc +endif + +ifeq ($(BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK),y) +# There's no --enable-imxv4l2videosink option +GST1_IMX_DEPENDENCIES += gst1-plugins-bad +else +GST1_IMX_CONF_OPTS += --disable-imxv4l2videosink endif $(eval $(waf-package))