~ruther/guix-local

8fb3ddda57829f48590d63d62fcce1827c6a3db2 — 宋文武 6 months ago 5f04a1d
gnu: Add pipewire-minimal.

* gnu/packages/linux.scm (pipewire-minimal): New variable.

Change-Id: Ibe30029f63b0cf3085f33569a8c165f0e48434ce
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
1 files changed, 20 insertions(+), 0 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +20 -0
@@ 10986,6 10986,26 @@ and Flatpak we expect PipeWire to provide a core building block for the future
of Linux application development.")
    (license license:lgpl2.0+)))

(define-public pipewire-minimal
  ;; Used as libpipewire to reduce closure size and avoid dependency cycles.
  (hidden-package
   (package
     (inherit pipewire)
     (name "pipewire-minimal")
     (arguments
      (list
       #:configure-flags
       #~(list "-Dsession-managers=[]"
               "-Ddbus=disabled"
               "-Dflatpak=disabled"
               ;; XXX: Otherwise test_loop will fail with:
               ;;   libgcc_s.so.1 must be installed for pthread_cancel to work
               (string-append "-Dc_link_args=-Wl,-rpath=" #$output "/lib"
                              " -lgcc_s")
               "-Db_asneeded=false")))
     (native-inputs '())
     (inputs '()))))

(define-public wireplumber
  (package
    (name "wireplumber")