gnu: pipewire: Switch default to 0.3.

* gnu/packages/linux.scm (pipewire): Switch to pipewire 0.3.
(pipewire-0.3): Remove variable.
(wireplumber): Replace all pipewire-0.3 by pipewire.
* gnu/packages/audio.scm (qpwgraph): Ditto.
* gnu/packages/chromium.scm (ungoogled-chromium): Ditto.
* gnu/packages/freedesktop.scm (weston, xdg-desktop-portal,
xdg-desktop-portal-wlr): Ditto.
* gnu/packages/gnome.scm (mutter): Ditto.
* gnu/packages/kde-systemtools.scm (krfb): Ditto.
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Ditto.
* gnu/packages/video.scm (obs): Ditto.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Brendan Tildesley 2023-01-08 10:30:37 +01:00 committed by Mathieu Othacehe
parent e55bc944a9
commit 590700ce00
No known key found for this signature in database
GPG key ID: 8354763531769CA6
8 changed files with 38 additions and 61 deletions

View file

@ -6017,7 +6017,7 @@ (define-public qpwgraph
(arguments (list #:tests? #f)) ;; no tests
(inputs (list alsa-lib
libxkbcommon
pipewire-0.3
pipewire
qtbase
qtsvg))
(native-inputs (list pkg-config))

View file

@ -941,7 +941,7 @@ (define-public ungoogled-chromium
opus+custom
pango
pciutils
pipewire-0.3
pipewire
pulseaudio
qtbase-5
re2

View file

@ -1372,7 +1372,7 @@ (define-public weston
mtdev
linux-pam
pango
pipewire-0.3
pipewire
wayland-protocols-next
xorg-server-xwayland))
(propagated-inputs
@ -2693,7 +2693,7 @@ (define-public xdg-desktop-portal
("libportal" ,libportal)
("dbus" ,dbus)
("geoclue" ,geoclue)
("pipewire" ,pipewire-0.3)
("pipewire" ,pipewire)
("fuse" ,fuse-3)))
(arguments
`(#:configure-flags
@ -2866,7 +2866,7 @@ (define-public xdg-desktop-portal-wlr
grim
iniparser
libinih
pipewire-0.3
pipewire
slurp
wayland
wayland-protocols))

View file

@ -8118,7 +8118,7 @@ (define-public mutter
;; theme to please libxcursor.
adwaita-icon-theme
libxcursor ;for XCURSOR_PATH
pipewire-0.3
pipewire
python
python-dbus
python-dbusmock
@ -8160,7 +8160,7 @@ (define-public mutter
libxkbfile
libxrandr
libxtst
pipewire-0.3
pipewire
startup-notification
sysprof
upower

View file

@ -270,7 +270,7 @@ (define-public krfb
libxcb
libxtst
breeze-icons ;; default icon set
pipewire-0.3
pipewire
plasma-wayland-protocols
qtbase-5
qtwayland-5

View file

@ -28,7 +28,7 @@
;;; Copyright © 2017 nee <nee-git@hidamari.blue>
;;; Copyright © 2017 Dave Love <fx@gnu.org>
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;; Copyright © 2018, 2020 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018, 2020, 2022 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018 Manuel Graf <graf@init.at>
;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
@ -9078,7 +9078,7 @@ (define-public inputattach
(define-public pipewire
(package
(name "pipewire")
(version "0.2.7")
(version "0.3.56")
(source (origin
(method git-fetch)
(uri (git-reference
@ -9087,23 +9087,34 @@ (define-public pipewire
(file-name (git-file-name name version))
(sha256
(base32
"1q5wrqnhhs6r49p8yvkw1pl0cnsd4rndxy4h5lvdydwgf1civcwc"))
(patches (search-patches "pipewire-0.2.7-fno-common.patch"))))
"066g4ri2k8pdflclvr2919f6x98gmqrqyj1xyiingw2nn2pwgcf1"))))
(build-system meson-build-system)
(arguments
'(#:configure-flags '("-Dsystemd=false")))
(list
#:configure-flags
#~(list (string-append "-Dudevrulesdir=" #$output "/lib/udev/rules.d")
"-Dsystemd=disabled"
"-Dsession-managers=[]"
"-Dman=enabled")))
(native-inputs
(list pkg-config))
(inputs
(list alsa-lib
dbus
eudev
ffmpeg-4
gstreamer
gst-plugins-base
libva
sbc
sdl2))
(list pkg-config
python-docutils))
(inputs (list alsa-lib
avahi
bluez
dbus
eudev
ffmpeg
gst-plugins-base
gstreamer
jack-2
ldacbt
libva
pulseaudio
sbc
sdl2
vulkan-headers
vulkan-loader))
(home-page "https://pipewire.org/")
(synopsis "Server and user space API to deal with multimedia pipelines")
(description
@ -9117,40 +9128,6 @@ (define-public pipewire
of Linux application development.")
(license license:lgpl2.0+)))
(define-public pipewire-0.3
(package
(inherit pipewire)
(name "pipewire")
(version "0.3.56")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PipeWire/pipewire")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"066g4ri2k8pdflclvr2919f6x98gmqrqyj1xyiingw2nn2pwgcf1"))))
(arguments
(list
#:configure-flags
#~(list (string-append "-Dudevrulesdir=" #$output "/lib/udev/rules.d")
"-Dsystemd=disabled"
"-Dsession-managers=[]"
"-Dman=enabled")))
(native-inputs
(modify-inputs (package-native-inputs pipewire)
(prepend python-docutils)))
(inputs (modify-inputs (package-inputs pipewire)
(replace "ffmpeg" ffmpeg)
(prepend avahi
bluez
jack-2
ldacbt
pulseaudio
vulkan-loader
vulkan-headers)))))
(define-public wireplumber
(package
(name "wireplumber")
@ -9172,7 +9149,7 @@ (define-public wireplumber
(native-inputs
(list `(,glib "bin")
pkg-config))
(inputs (list dbus elogind glib lua pipewire-0.3))
(inputs (list dbus elogind glib lua pipewire))
(home-page "https://gitlab.freedesktop.org/pipewire/wireplumber")
(synopsis "Session / policy manager implementation for PipeWire")
(description "WirePlumber is a modular session / policy manager for

View file

@ -338,7 +338,7 @@ (define-public webrtc-for-telegram-desktop
openh264
openssl
opus
pipewire-0.3
pipewire
protobuf))
(synopsis "WebRTC support for Telegram Desktop")
(description "WebRTC-for-Telegram-Desktop is a custom WebRTC fork by

View file

@ -3457,7 +3457,7 @@ (define-public obs
mbedtls-apache
mesa
pciutils
pipewire-0.3
pipewire
pulseaudio
python
qtbase-5