From patchwork Thu Aug 2 11:11:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?I=C3=B1igo_Huguet?= X-Patchwork-Id: 952691 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=fanamoel.com Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=fanamoel.com header.i=@fanamoel.com header.b="QHmwZB/J"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41h6wg56ggz9s4s for ; Thu, 2 Aug 2018 21:13:06 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5AB722A1AC; Thu, 2 Aug 2018 11:13:03 +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 0seDC38YwzWd; Thu, 2 Aug 2018 11:13:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 29B2729CAF; Thu, 2 Aug 2018 11:13:01 +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 D72FA1C00CB for ; Thu, 2 Aug 2018 11:12:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D1EB386F77 for ; Thu, 2 Aug 2018 11:12:59 +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 lBjvetPuth_u for ; Thu, 2 Aug 2018 11:12:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from europa.20disenoweb.com (europa.20disenoweb.com [164.138.212.123]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6D34586F62 for ; Thu, 2 Aug 2018 11:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fanamoel.com; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eDSAvVQJ8iK7X59SHiQ/2W+oZanMH3g1a2C287JZhJ4=; b=QHmwZB/JcdpNen0Qp7E0hcNTso nTokCjx43QlckDO3c8OkxiM4LFGUlTbcDgnKVlj6awB+jKpepJGz0LBlylfYDedK1E7uI9ETuKjfD rVLKXzO09JOqvXV+7r0+yNDME562WORhi+0sJuPIjOmxWLFvjaRopRQPDTB6jzmiIlI1awEodQ3ZX VXYFqgWrIuHSzWeO6nD31Vw1b+FhJWJoFkIJUCDgPaHawcNR5QVL2B8aKuqoO8X5L8u+fX9blfpSG uRicYujvZqWk2ZmQ5RI/VZ5A7MIWE1KpMnt2zk+AL7yuz97RmLYtSx7xv4gMZGRW5u1flTuGqONUB hlcQSjIg==; Received: from 171.red-2-141-14.dynamicip.rima-tde.net ([2.141.14.171] helo=localhost.localdomain) by europa.20disenoweb.com with esmtpa (Exim 4.91) (envelope-from ) id 1flBXI-0002ra-1f; Thu, 02 Aug 2018 13:12:52 +0200 From: =?utf-8?q?I=C3=B1igo_Huguet?= To: buildroot@buildroot.org Date: Thu, 2 Aug 2018 13:11:01 +0200 Message-Id: <1533208261-13853-1-git-send-email-inigohuguet@fanamoel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <4a3746f6-f635-e3a2-0d09-deff9c106b70@mind.be> References: <4a3746f6-f635-e3a2-0d09-deff9c106b70@mind.be> MIME-Version: 1.0 X-Authenticated-Id: inigohuguet@fanamoel.com Subject: [Buildroot] [PATCH 1/1] gst1-plugins-good: add option for qmlgl plugin (qt5 plugin) 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: inigohuguet@hotmail.com, =?utf-8?q?I=C3=B1igo_Huguet?= , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" gst1-plugins-good is built with --disable-qt option, so qmlgl plugin is disabled. Added option to enable it, allowing to use elements qmlglsrc and qmlglsink. Signed-off-by: IƱigo Huguet --- package/gstreamer1/gst1-plugins-good/Config.in | 16 ++++++++++++++++ .../gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 13 +++++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/Config.in b/package/gstreamer1/gst1-plugins-good/Config.in index afb9a41..62ac07b 100644 --- a/package/gstreamer1/gst1-plugins-good/Config.in +++ b/package/gstreamer1/gst1-plugins-good/Config.in @@ -283,6 +283,22 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4 help Open Sound System (OSS) version 4 support for GStreamer +config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL + bool "qmlgl (qt5)" + depends on BR2_PACKAGE_QT5 + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative + depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT5_VERSION_LATEST # qt5declarative-quick + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + select BR2_PACKAGE_QT5X11EXTRAS if BR2_PACKAGE_QT5BASE_XCB + help + QT5 plugin which includes elements qmlglsrc and qmlglsink + +comment "qmlgl (qt5) plugin needs an OpenGL-capable Qt5 backend" + depends on BR2_PACKAGE_QT5 + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && !BR2_PACKAGE_QT5_VERSION_LATEST + config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2 bool "v4l2" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # multi planar api diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index c1ed039..ef28f2d 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -20,8 +20,7 @@ GST1_PLUGINS_GOOD_CONF_OPTS = \ --disable-osx_video \ --disable-aalib \ --disable-aalibtest \ - --disable-libcaca \ - --disable-qt + --disable-libcaca # Options which require currently unpackaged libraries GST1_PLUGINS_GOOD_CONF_OPTS += \ @@ -328,6 +327,16 @@ else GST1_PLUGINS_GOOD_CONF_OPTS += --disable-oss4 endif +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL),y) +GST1_PLUGINS_GOOD_CONF_OPTS += --enable-qt +GST1_PLUGINS_GOOD_DEPENDENCIES += qt5declarative +ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += qt5x11extras +endif +else +GST1_PLUGINS_GOOD_CONF_OPTS += --disable-qt +endif + ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y) GST1_PLUGINS_GOOD_CONF_OPTS += --enable-gst_v4l2 else