From patchwork Fri Jul 5 06:50:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnold Bloemert X-Patchwork-Id: 1127798 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MNW0emww"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45g58G6L5cz9sNs for ; Fri, 5 Jul 2019 16:50:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D89B7870B3; Fri, 5 Jul 2019 06:50:34 +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 VRU8qxgwv7fp; Fri, 5 Jul 2019 06:50:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DFE0987056; Fri, 5 Jul 2019 06:50:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E66451BF38B for ; Fri, 5 Jul 2019 06:50:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 23A0C22660 for ; Fri, 5 Jul 2019 06:50:27 +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 vt0Ooyo8zCZA for ; Fri, 5 Jul 2019 06:50:24 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) by silver.osuosl.org (Postfix) with ESMTPS id 00C0C2265B for ; Fri, 5 Jul 2019 06:50:23 +0000 (UTC) Received: by mail-ed1-f65.google.com with SMTP id e2so523236edi.12 for ; Thu, 04 Jul 2019 23:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WWPiE0QfNrHCiI0mz2TcenVn8c7Z3azG859aV/9nCFk=; b=MNW0emwwvwrtDiIRX8bNLjLg9Daetpjx6ljnMfh2NkNRovUSEXmliuwOo4Q3ORiagB 70Nt1gDfv6u47NzjjpEcxTAOHzsF68xDsxC0l4LyCLAEEVLQmthmvakuYEBBO/I5p+On YhWMXwbdOnRPgKh6G99FXCEbq/Mv16xF6l+12bMFiDqGVZgk2HJCZl8HurzgePP/onkO IOzlymIi4Je6RdZ4Nv05BaEpajTcH/0OrZjGLzz0mgloPlpFPzx/CGrzIPxbvQeU8OLG svh28BOMHrgMnPi8G/C4+zfJ5DQa2FKRpmmzz6hQ9erpqFA2EfM8f6VzmlnHloFQmK4E mytw== 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:mime-version :content-transfer-encoding; bh=WWPiE0QfNrHCiI0mz2TcenVn8c7Z3azG859aV/9nCFk=; b=SA7EBY4TQZCE7oGYxlPBZZRFwN6plPRXmQUHUJ6Y7Jf4rwqKJszm7BFKXHWqjwhab8 n1eZ/TyVqQLsnUWSuQ3NBH2Xwq+Ms9E2AVW5rZCMEVIz65GD9HFc0ZhHesrMNj6zpJ58 mULtHwnyG3MSvlln4cKzYKVShsHzb7TM/aeaH8L7qiQQPyy2ZY4RfVN6PtMPmqLGMlmx KAUpS8LKdyAzHnhiD6wetsSSa8G3tSMgqpcPSIM/v1cA1CjoeuUu9zMsGRkJ8+qG3hcm GfGnXhtU8WJIafMAdCCAErFC0QyMcB7mfMSQzH0p0IimdMsjmrP8i4zSSs0OLnV6dUOC oz3Q== X-Gm-Message-State: APjAAAVt4zMVSQtWQqWbZuJCmeb/LbRpCxAjIUiDojyRZ4pvSkg8HCOG XZc0yAnuEJ20uioPSVo2Uq9ByfK2Tvo= X-Google-Smtp-Source: APXvYqx9ceKyR/Ne57kPCN/kUuK8QYkJRnXgfQrNTvkwX4Bl/7ncBeTzp8wqV0ZBeYpd7XYVv6AUVQ== X-Received: by 2002:a50:8ba6:: with SMTP id m35mr2624051edm.199.1562309422125; Thu, 04 Jul 2019 23:50:22 -0700 (PDT) Received: from zotac.localdomain ([2a02:a440:c21:1:35e9:9c59:839f:ab09]) by smtp.gmail.com with ESMTPSA id b15sm369465edb.46.2019.07.04.23.50.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 04 Jul 2019 23:50:21 -0700 (PDT) From: Arnold Bloemert To: buildroot@buildroot.org Date: Fri, 5 Jul 2019 08:50:15 +0200 Message-Id: <20190705065015.29773-1-abloemert@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-good: add option to enable/disable shout2 plugin 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: Arnold Bloemert , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Currently there is no way to turn the shout2 plugin on. Create a menu entry allowing users to disable or enable the plugin, like we have for other features (for example the Pulseaudio plugin). Signed-off-by: Arnold Bloemert --- package/gstreamer1/gst1-plugins-good/Config.in | 6 ++++++ .../gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/package/gstreamer1/gst1-plugins-good/Config.in b/package/gstreamer1/gst1-plugins-good/Config.in index 433084fd6b..ce85388eb0 100644 --- a/package/gstreamer1/gst1-plugins-good/Config.in +++ b/package/gstreamer1/gst1-plugins-good/Config.in @@ -300,6 +300,12 @@ comment "qmlgl (qt5) plugin needs an OpenGL-capable Qt5 backend" 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_SHOUT2 + bool "shout2" + select BR2_PACKAGE_LIBSHOUT + help + Elements to send data to an icecast server using libshout2 + 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 829d27a2da..0a6cc77208 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -25,8 +25,7 @@ GST1_PLUGINS_GOOD_CONF_OPTS = \ # Options which require currently unpackaged libraries GST1_PLUGINS_GOOD_CONF_OPTS += \ --disable-libdv \ - --disable-dv1394 \ - --disable-shout2 + --disable-dv1394 GST1_PLUGINS_GOOD_DEPENDENCIES = gstreamer1 gst1-plugins-base @@ -343,6 +342,12 @@ else GST1_PLUGINS_GOOD_CONF_OPTS += --disable-qt endif +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2),y) +GST1_PLUGINS_GOOD_CONF_OPTS += --enable-shout2 +else +GST1_PLUGINS_GOOD_CONF_OPTS += --disable-shout2 +endif + ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y) GST1_PLUGINS_GOOD_CONF_OPTS += --enable-gst_v4l2 else