From patchwork Tue Jan 21 00:32:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1226189 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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.a=rsa-sha256 header.s=20161025 header.b=ZRQhMqPA; 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 481qJC0s60z9sPJ for ; Tue, 21 Jan 2020 11:32:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 09F1786180; Tue, 21 Jan 2020 00:32:55 +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 Pr7yB2tTXgu7; Tue, 21 Jan 2020 00:32:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 83246860A3; Tue, 21 Jan 2020 00:32:53 +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 E85C81BF2C3 for ; Tue, 21 Jan 2020 00:32:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D9CD7860A3 for ; Tue, 21 Jan 2020 00:32:51 +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 umDaKY8BxWpU for ; Tue, 21 Jan 2020 00:32:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8D3F885CCF for ; Tue, 21 Jan 2020 00:32:50 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id t26so920137ioi.13 for ; Mon, 20 Jan 2020 16:32:50 -0800 (PST) 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=I1HqrtwzGrRcSYP30svNSK7SIJlFRUnWCNfuoC25HRs=; b=ZRQhMqPAQBKEP++9InFTxRBUcBB8Hx0NA2g8fEciJwcq9I5NlWsLD7nMYif2fuA8ZT bwcpFw706WZXvCRjeDBUdIdn1fjvGhkb89nK5uwxF2t2+ca8YAiHx6GY2opn9GYSdPld r83xyFDC9MjYyY09cXTIPKKTwZ1rXuVc9aQB1WOTRwIIDw79pqpTgxCx07OrGYZf4Iuj Vzf39qtEn6+2gkXoinXI/G7+HHiE/A1m8en01iZUDcpa/VUz4xXQ8w6cN3y4TULl2L4+ PwhopAfsbq470YUMAMEz6wOgC6NOhfqesAR7x66dx5NMAM4SNJAEuFEnBKnXL/TTjnzA hljg== 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=I1HqrtwzGrRcSYP30svNSK7SIJlFRUnWCNfuoC25HRs=; b=Mvhj4+LNZ4ircdjm6k5TIF3SEPzvuezMlmjRg2dMsdky/9mZPIHEgE74eyEuUw9Esw 09rxY18JKWVUPezPjMwdr24gq1f1i3IMsp34ErnGyIfIeNo/BAqiqyMG1hi/QaFcEkWk SwgcpfXjV9G16VBqPg7ZeS9FuU3cjcAnY4WjwIvT8ww6D7AzLFEffB3/qEp4R5Zqq2b+ 9cY8CoxOCjyThXMtfkKKAe4jVl+kQ+xQiY23C64IzVg3pxoxwLAj9R5cIqPobFy3rL9C kCbZng4D2pubqcdwrjaQRRU0Bhkh1VPOtOyR7rDvc/XjKCLBomeeASsAvEnLM/2L+x5H fNmw== X-Gm-Message-State: APjAAAXM4FRUJ2LXUUwLJZfKUyVEyqpHRA0k/R0flu3NAllFzMx53s4N TsG8e/2JXSsYM7rBJQ8ZIRc4ocWl X-Google-Smtp-Source: APXvYqwKqmZHzDkgA2ud151k2Kh+NRTbyv+nS5AGPAA2gs60XS2+/lPpqgPq2TjmrontHzFYrvQBZA== X-Received: by 2002:a6b:fe0f:: with SMTP id x15mr1099662ioh.219.1579566769280; Mon, 20 Jan 2020 16:32:49 -0800 (PST) Received: from james-x399.localdomain (97-118-234-73.hlrn.qwest.net. [97.118.234.73]) by smtp.gmail.com with ESMTPSA id z21sm9125694ioj.21.2020.01.20.16.32.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 16:32:47 -0800 (PST) From: James Hilliard To: buildroot@buildroot.org Date: Mon, 20 Jan 2020 17:32:44 -0700 Message-Id: <20200121003244.69514-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/pipewire: bump to version 0.2.92 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: James Hilliard Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add pipewire optional dependencies/configurations. Add patch to fix ERROR: Unknown variable "alsa_dep". when building without alsa-lib. Disable Simple Plugin integration for now. Signed-off-by: James Hilliard --- .../0001-meson-add-examples-option.patch | 69 +++++++++++++++++++ package/pipewire/pipewire.hash | 2 +- package/pipewire/pipewire.mk | 42 ++++++++++- 3 files changed, 109 insertions(+), 4 deletions(-) create mode 100644 package/pipewire/0001-meson-add-examples-option.patch diff --git a/package/pipewire/0001-meson-add-examples-option.patch b/package/pipewire/0001-meson-add-examples-option.patch new file mode 100644 index 0000000000..2a96dbb55c --- /dev/null +++ b/package/pipewire/0001-meson-add-examples-option.patch @@ -0,0 +1,69 @@ +From 54f4edcbaccbc3bdf6ce262c53e625032b22d3e8 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 18 Jan 2020 13:59:28 +0100 +Subject: [PATCH] meson: add examples option + +Add an option to allow the user to disable examples, this will allow to +build pipewire without alsa. Without this option, build with +-Dpipewire-alsa=false -Dalsa=false fails on: + +src/examples/meson.build:47:0: ERROR: Unknown variable "alsa_dep". + +Signed-off-by: Fabrice Fontaine +Signed-off-by: James Hilliard +[Upstream status: +https://gitlab.freedesktop.org/pipewire/pipewire/merge_requests/217] +--- + meson_options.txt | 4 ++++ + spa/meson.build | 4 +++- + src/meson.build | 4 +++- + 3 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/meson_options.txt b/meson_options.txt +index 5a738ddb..e8eece7f 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -2,6 +2,10 @@ option('docs', + description: 'Build documentation', + type: 'boolean', + value: false) ++option('examples', ++ description: 'Build examples', ++ type: 'boolean', ++ value: true) + option('man', + description: 'Build manpages', + type: 'boolean', +diff --git a/spa/meson.build b/spa/meson.build +index 42780a8c..37c034a4 100644 +--- a/spa/meson.build ++++ b/spa/meson.build +@@ -39,7 +39,9 @@ endif + + subdir('tools') + subdir('tests') +-subdir('examples') ++if get_option('examples') ++ subdir('examples') ++endif + + pkgconfig.generate(filebase : 'libspa-@0@'.format(spaversion), + name : 'libspa', +diff --git a/src/meson.build b/src/meson.build +index 41f03ac6..1b43663a 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -4,7 +4,9 @@ subdir('extensions') + subdir('daemon') + subdir('tools') + subdir('modules') +-subdir('examples') ++if get_option('examples') ++ subdir('examples') ++endif + subdir('tests') + + if get_option('gstreamer') +-- +2.20.1 + diff --git a/package/pipewire/pipewire.hash b/package/pipewire/pipewire.hash index 81c53867e2..fa21c0c303 100644 --- a/package/pipewire/pipewire.hash +++ b/package/pipewire/pipewire.hash @@ -1,4 +1,4 @@ # Locally calculated -sha256 bfaa0f6ae6c0791e2e0b59234d399753bf24f1b33dbf587682363a8463dd8df1 pipewire-0.2.7.tar.gz +sha256 e50512c888209100047d9075445c650c0fbe55a1bcc8ed122713b67150062068 pipewire-0.2.92.tar.gz sha256 88c0ca786c735a11e0eb508196d3aa1389fbaacb8d5de9adb5ccb15bcd4009d9 LICENSE sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 LGPL diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index df159c5ef4..7405872a2d 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -4,13 +4,28 @@ # ################################################################################ -PIPEWIRE_VERSION = 0.2.7 +PIPEWIRE_VERSION = 0.2.92 PIPEWIRE_SITE = $(call github,PipeWire,pipewire,$(PIPEWIRE_VERSION)) PIPEWIRE_LICENSE = LGPL-2.1+ PIPEWIRE_LICENSE_FILES = LICENSE LGPL PIPEWIRE_INSTALL_STAGING = YES PIPEWIRE_DEPENDENCIES = host-pkgconf alsa-lib dbus udev +PIPEWIRE_CONF_OPTS += \ + -Dman=false \ + -Dspa-plugins=false \ + -Dalsa=false \ + -Daudiomixer=false \ + -Daudioconvert=false \ + -Dbluez5=false \ + -Dcontrol=false \ + -Djack=false \ + -Dsupport=false \ + -Dv4l2=false \ + -Dvideoconvert=false \ + -Dvulkan=false \ + -Dexamples=false + ifeq ($(BR2_PACKAGE_FFMPEG),y) PIPEWIRE_DEPENDENCIES += ffmpeg endif @@ -31,11 +46,32 @@ ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) PIPEWIRE_DEPENDENCIES += xlib_libX11 endif +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +PIPEWIRE_CONF_OPTS += -Dpipewire-alsa=true +PIPEWIRE_DEPENDENCIES += alsa-lib +else +PIPEWIRE_CONF_OPTS += -Dpipewire-alsa=false +endif + +ifeq ($(BR2_PACKAGE_JACK2),y) +PIPEWIRE_CONF_OPTS += -Dpipewire-jack=true +PIPEWIRE_DEPENDENCIES += jack2 +else +PIPEWIRE_CONF_OPTS += -Dpipewire-jack=false +endif + ifeq ($(BR2_PACKAGE_PIPEWIRE_GSTREAMER),y) -PIPEWIRE_CONF_OPTS += -Dgstreamer=enabled +PIPEWIRE_CONF_OPTS += -Dgstreamer=true PIPEWIRE_DEPENDENCIES += libglib2 gstreamer1 gst1-plugins-base else -PIPEWIRE_CONF_OPTS += -Dgstreamer=disabled +PIPEWIRE_CONF_OPTS += -Dgstreamer=false +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +PIPEWIRE_CONF_OPTS += -Dpipewire-pulseaudio=true +PIPEWIRE_DEPENDENCIES += pulseaudio +else +PIPEWIRE_CONF_OPTS += -Dpipewire-pulseaudio=false endif ifeq ($(BR2_PACKAGE_SYSTEMD),y)