Subject: [PATCH v3 1/2] gnu: pipewire-0.3: Update to 0.3.39.

From: [email-masked]
Date: Tue, 2 Nov 2021 19:26:14 -0400

From: Morgan Smith <[email-masked]>

* gnu/packages/linux.scm (pipewire-0.3): Update to 0.3.39.
[origin]: Use official gitlab source instead of github mirror.
[arguments]: Use meson-0.55.  Don't build any session-managers.
[phases] Don't delete shrink-runpath.
[native-inputs] Add pkg-config and python-docutils to enable documentation generation.
---
 gnu/packages/linux.scm | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f4c1867c5d..48cfc70bc7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -81,6 +81,7 @@ (define-module (gnu packages linux)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages build-tools)
   #:use-module (gnu packages calendar)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cpio)
@@ -8047,25 +8048,24 @@ (define-public pipewire-0.3
   (package
     (inherit pipewire)
     (name "pipewire")
-    (version "0.3.29")
+    (version "0.3.39")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://github.com/PipeWire/pipewire")
+                    (url "https://gitlab.freedesktop.org/pipewire/pipewire/")
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "16jjxcnahxqfcawz77ywx837ybhwzcivn7hgqb9cmlp1y2syy8gk"))))
+                "0crfhyaqac42lam5fylivi3l2vi5wwxg1vxssrh1chvfwgbx5r55"))))
     (arguments
-     '(#:configure-flags
-       (list (string-append "-Dudevrulesdir=" (assoc-ref %outputs "out")
-                            "/lib/udev/rules.d")
-             "-Dsystemd=disabled")
-       #:phases
-       (modify-phases %standard-phases
-         ;; Skip shrink-runpath, otherwise validate-runpath fails.
-         (delete 'shrink-runpath))))
+     `(#:meson ,meson-0.55
+       #:configure-flags
+       (list
+        "-Dsession-managers="
+        (string-append "-Dudevrulesdir=" (assoc-ref %outputs "out")
+                       "/lib/udev/rules.d")
+        "-Dsystemd=disabled")))
     (inputs
      (append (package-inputs pipewire)
              `(("bluez" ,bluez)
-- 
2.33.1