[arch-commits] Commit in pipewire/trunk (PKGBUILD unhide-providers.diff)

Jan Steffens heftig at archlinux.org
Sun May 6 18:35:52 UTC 2018


    Date: Sunday, May 6, 2018 @ 18:35:51
  Author: heftig
Revision: 323399

0.1.9-3

Added:
  pipewire/trunk/unhide-providers.diff
Modified:
  pipewire/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   20 +++++++++++++-------
 unhide-providers.diff |   17 +++++++++++++++++
 2 files changed, 30 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-05 18:36:45 UTC (rev 323398)
+++ PKGBUILD	2018-05-06 18:35:51 UTC (rev 323399)
@@ -3,7 +3,7 @@
 
 pkgname=pipewire
 pkgver=0.1.9
-pkgrel=2
+pkgrel=3
 pkgdesc="Server and user space API to deal with multimedia pipelines"
 url="https://pipewire.org"
 license=(LGPL2.1)
@@ -12,8 +12,10 @@
 makedepends=(git meson doxygen graphviz xmltoman valgrind)
 install=pipewire.install
 _commit=62f113dbba7c706fad18c715cfad57ca7e102cb3  # tags/0.1.9
-source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://github.com/PipeWire/pipewire#commit=$_commit"
+        unhide-providers.diff)
+sha256sums=('SKIP'
+            '8692ddbfc433bb4a56e3e4594683f9a7047b6cce539c7322dd3b74157a727f99')
 
 
 pkgver() {
@@ -22,8 +24,12 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
+
+  # the pipewireprovider is broken: the devices provided have no caps
+  # at least don't hide other providers until this is fixed
+  patch -Np1 -i ../unhide-providers.diff
+
   # Reduce docs size
   printf '%s\n' >>doc/Doxyfile.in \
     HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
@@ -31,9 +37,9 @@
 
 build() {
   arch-meson $pkgname build \
-    -Denable_docs=true \
-    -Denable_man=true \
-    -Denable_gstreamer=true
+    -D enable_docs=true \
+    -D enable_man=true \
+    -D enable_gstreamer=true
   ninja -C build
 }
 

Added: unhide-providers.diff
===================================================================
--- unhide-providers.diff	                        (rev 0)
+++ unhide-providers.diff	2018-05-06 18:35:51 UTC (rev 323399)
@@ -0,0 +1,17 @@
+diff --git i/src/gst/gstpipewiredeviceprovider.c w/src/gst/gstpipewiredeviceprovider.c
+index fefdb57b..f41ea524 100644
+--- i/src/gst/gstpipewiredeviceprovider.c
++++ w/src/gst/gstpipewiredeviceprovider.c
+@@ -279,12 +279,6 @@ get_core_info (struct pw_remote          *remote,
+ 
+     GST_DEBUG_OBJECT (provider, "have hidden providers: %s", value);
+ 
+-    for (i = 0; monitors[i]; i++) {
+-      if (strcmp (monitors[i], "v4l2") == 0)
+-        gst_device_provider_hide_provider (provider, "v4l2deviceprovider");
+-      else if (strcmp (monitors[i], "alsa") == 0)
+-        gst_device_provider_hide_provider (provider, "pulsedeviceprovider");
+-    }
+     g_strfreev (monitors);
+   }
+ }



More information about the arch-commits mailing list