Merge pull request #138118 from NixOS/backport-137533-to-release-21.05

[Backport release-21.05] pipewire: 0.3.34 -> 0.3.35
This commit is contained in:
Kim Lindberger 2021-09-20 08:22:10 +02:00 committed by GitHub
commit d15b1724c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 27 deletions

View File

@ -33,6 +33,13 @@
"hw-volume" "hw-volume"
] ]
}, },
{
"name": "D50s",
"address": "~^00:13:ef:",
"no-features": [
"hw-volume"
]
},
{ {
"name": "JBL Endurance RUN BT", "name": "JBL Endurance RUN BT",
"no-features": [ "no-features": [
@ -191,47 +198,35 @@
}, },
{ {
"sysname": "Linux", "sysname": "Linux",
"release": "~^5\\.(8|9|10)\\.", "release": "~^5\\.(8|9)\\.",
"no-features": [ "no-features": [
"msbc-alt1" "msbc-alt1"
] ]
}, },
{ {
"sysname": "Linux", "sysname": "Linux",
"release": "~^5\\.10\\.(1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50)($|[^0-9])" "release": "~^5\\.10\\.(1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|51|52|53|54|55|56|57|58|59|60|61)($|[^0-9])",
},
{
"sysname": "Linux",
"release": "~^5\\.10\\.",
"no-features": [ "no-features": [
"msbc-alt1" "msbc-alt1"
] ]
}, },
{ {
"sysname": "Linux", "sysname": "Linux",
"release": "~^5\\.12\\.(1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17)($|[^0-9])" "release": "~^5\\.12\\.(18|19)($|[^0-9])",
},
{
"sysname": "Linux",
"release": "~^5\\.12\\.",
"no-features": [ "no-features": [
"msbc-alt1" "msbc-alt1"
] ]
}, },
{ {
"sysname": "Linux", "sysname": "Linux",
"release": "~^5\\.13\\.(1|2)($|[^0-9])" "release": "~^5\\.13\\.(3|4|5|6|7|8|9|10|11|12|13)($|[^0-9])",
},
{
"sysname": "Linux",
"release": "~^5\\.13\\.",
"no-features": [ "no-features": [
"msbc-alt1" "msbc-alt1"
] ]
}, },
{ {
"sysname": "Linux", "sysname": "Linux",
"release": "~^5\\.14\\.", "release": "~^5\\.14($|[^0-9])",
"no-features": [ "no-features": [
"msbc-alt1" "msbc-alt1"
] ]

View File

@ -1,8 +1,8 @@
diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
index bbafa134..227d3e06 100644 index 95632c250..a88aac6e2 100644
--- a/src/daemon/pipewire.conf.in --- a/src/daemon/pipewire.conf.in
+++ b/src/daemon/pipewire.conf.in +++ b/src/daemon/pipewire.conf.in
@@ -116,7 +116,7 @@ context.modules = [ @@ -131,7 +131,7 @@ context.modules = [
# access.allowed to list an array of paths of allowed # access.allowed to list an array of paths of allowed
# apps. # apps.
#access.allowed = [ #access.allowed = [
@ -11,18 +11,18 @@ index bbafa134..227d3e06 100644
#] #]
# An array of rejected paths. # An array of rejected paths.
@@ -220,12 +220,12 @@ context.exec = [ @@ -235,12 +235,12 @@ context.exec = [
# but it is better to start it as a systemd service. # but it is better to start it as a systemd service.
# Run the session manager with -h for options. # Run the session manager with -h for options.
# #
- @comment@{ path = "@session_manager_path@" args = "@session_manager_args@" } - @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
+ @comment@{ path = "<session_manager_path>" args = "@session_manager_args@" } + @sm_comment@{ path = "<session_manager_path>" args = "@session_manager_args@" }
# #
# You can optionally start the pulseaudio-server here as well # You can optionally start the pulseaudio-server here as well
# but it is better to start it as a systemd service. # but it is better to start it as a systemd service.
# It can be interesting to start another daemon here that listens # It can be interesting to start another daemon here that listens
# on another address with the -a option (eg. -a tcp:4713). # on another address with the -a option (eg. -a tcp:4713).
# #
- @comment@{ path = "@pipewire_path@" args = "-c pipewire-pulse.conf" } - @pulse_comment@{ path = "@pipewire_path@" args = "-c pipewire-pulse.conf" }
+ @comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf" } + @pulse_comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf" }
] ]

View File

@ -7,6 +7,7 @@
, ninja , ninja
, systemd , systemd
, pkg-config , pkg-config
, docutils
, doxygen , doxygen
, graphviz , graphviz
, valgrind , valgrind
@ -57,7 +58,7 @@ let
self = stdenv.mkDerivation rec { self = stdenv.mkDerivation rec {
pname = "pipewire"; pname = "pipewire";
version = "0.3.34"; version = "0.3.35";
outputs = [ outputs = [
"out" "out"
@ -66,6 +67,7 @@ let
"jack" "jack"
"dev" "dev"
"doc" "doc"
"man"
"mediaSession" "mediaSession"
"installedTests" "installedTests"
]; ];
@ -75,7 +77,7 @@ let
owner = "pipewire"; owner = "pipewire";
repo = "pipewire"; repo = "pipewire";
rev = version; rev = version;
sha256 = "sha256-ZFARA7YuDnpObGLWbgy1Rk+wzmAxHEMuHQkb6tWD0s0="; sha256 = "sha256-cGH0Hd4c4KLyynMb3LIwElwHD99apNiI40SwZC3KG/s=";
}; };
patches = [ patches = [
@ -94,6 +96,7 @@ let
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
docutils
doxygen doxygen
graphviz graphviz
meson meson
@ -125,7 +128,6 @@ let
mesonFlags = [ mesonFlags = [
"-Ddocs=enabled" "-Ddocs=enabled"
"-Dman=disabled" # we don't have xmltoman
"-Dexamples=${mesonEnable withMediaSession}" # only needed for `pipewire-media-session` "-Dexamples=${mesonEnable withMediaSession}" # only needed for `pipewire-media-session`
"-Dudevrulesdir=lib/udev/rules.d" "-Dudevrulesdir=lib/udev/rules.d"
"-Dinstalled_tests=enabled" "-Dinstalled_tests=enabled"