Skip to contentSkip to conversation

package/pipewire: bump to version 0.2.92

PATCH New James Hilliard 1 participant 1 message Jan 21, 2020 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/pipewire: bump to version 0.2.92

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.

---
 .../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
package/pipewire/0001-meson-add-examples-option.patch new file +69 -0
new file mode 100644
index 0000000000..2a96dbb55c
@@ -0,0 +1,69 @@
+From 54f4edcbaccbc3bdf6ce262c53e625032b22d3e8 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <[email protected]>
+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 <[email protected]>
+Signed-off-by: James Hilliard <[email protected]>
+[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- at 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
+
package/pipewire/pipewire.hash +1 -1
index 81c53867e2..fa21c0c303 100644
@@ -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
package/pipewire/pipewire.mk +39 -3

63 lines not on this page · raw message

Signature · 1 line
2.20.1