Merge pull request #216763 from K900/pipewire-0.3.66

[staging-next] pipewire: 0.3.65 -> 0.3.66

authored by

K900 and committed by
GitHub
bb935706 72bb5faa

+54 -19
+38
nixos/modules/services/desktops/pipewire/daemon/pipewire-aes67.conf.json
··· 1 + { 2 + "context.properties": {}, 3 + "context.modules": [ 4 + { 5 + "name": "libpipewire-module-rt", 6 + "args": { 7 + "nice.level": -11 8 + }, 9 + "flags": [ 10 + "ifexists", 11 + "nofail" 12 + ] 13 + }, 14 + { 15 + "name": "libpipewire-module-protocol-native" 16 + }, 17 + { 18 + "name": "libpipewire-module-client-node" 19 + }, 20 + { 21 + "name": "libpipewire-module-adapter" 22 + }, 23 + { 24 + "name": "libpipewire-module-rtp-source", 25 + "args": { 26 + "sap.ip": "239.255.255.255", 27 + "sap.port": 9875, 28 + "sess.latency.msec": 10, 29 + "local.ifname": "eth0", 30 + "stream.props": { 31 + "media.class": "Audio/Source", 32 + "node.virtual": false, 33 + "device.api": "aes67" 34 + } 35 + } 36 + } 37 + ] 38 + }
+7 -2
nixos/modules/services/desktops/pipewire/daemon/pipewire.conf.json
··· 3 3 "link.max-buffers": 16, 4 4 "core.daemon": true, 5 5 "core.name": "pipewire-0", 6 - "default.clock.min-quantum": 16, 7 6 "vm.overrides": { 8 7 "default.clock.min-quantum": 1024 9 - } 8 + }, 9 + "module.x11.bell": true 10 10 }, 11 11 "context.spa-libs": { 12 12 "audio.convert.*": "audioconvert/libspa-audioconvert", ··· 77 77 "flags": [ 78 78 "ifexists", 79 79 "nofail" 80 + ], 81 + "condition": [ 82 + { 83 + "module.x11.bell": true 84 + } 80 85 ] 81 86 } 82 87 ],
+9 -17
pkgs/development/libraries/pipewire/default.nix
··· 61 61 , x11Support ? true 62 62 , libcanberra 63 63 , xorg 64 + , mysofaSupport ? true 65 + , libmysofa 64 66 }: 65 67 66 68 let ··· 68 70 69 71 self = stdenv.mkDerivation rec { 70 72 pname = "pipewire"; 71 - version = "0.3.65"; 73 + version = "0.3.66"; 72 74 73 75 outputs = [ 74 76 "out" ··· 86 88 owner = "pipewire"; 87 89 repo = "pipewire"; 88 90 rev = version; 89 - sha256 = "sha256-O5nu58QFlOPTaN4qNi50Wp9acxM6dWNy63BD+AnVl5w="; 91 + sha256 = "sha256-qx4mgNRhMdha+8ap+FhVfxpsHE9TcTx29uwQIHLyMHA="; 90 92 }; 91 93 92 94 patches = [ ··· 102 104 ./0090-pipewire-config-template-paths.patch 103 105 # Place SPA data files in lib output to avoid dependency cycles 104 106 ./0095-spa-data-dir.patch 105 - 106 - # backport a fix to actually install the new module 107 - # FIXME: remove after 0.3.66 108 - (fetchpatch { 109 - url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/fba7083f8ceb210c7c20aceafeb5c9a8767cf705.patch"; 110 - hash = "sha256-aZQ4OzK0B5YPq+jQNygxPE0coG2qB0ukbYzyI8E24XM="; 111 - }) 112 - 113 - # backport a fix for rust-cbindgen errors in downstream packages 114 - # See https://github.com/NixOS/nixpkgs/pull/211872#issuecomment-1415981135 for details. 115 - (fetchpatch { 116 - url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/caf58ecffb4dc8e2bfa7898d0ed910cf0a82d65f.patch"; 117 - hash = "sha256-kCQNG0j3lwT01WNfGsdUmKvDHg8tvMfS2eunPyXBV1E="; 118 - }) 119 107 ]; 120 108 121 109 strictDeps = true; ··· 153 141 ++ lib.optional zeroconfSupport avahi 154 142 ++ lib.optional raopSupport openssl 155 143 ++ lib.optional rocSupport roc-toolkit 156 - ++ lib.optionals x11Support [ libcanberra xorg.libX11 xorg.libXfixes ]; 144 + ++ lib.optionals x11Support [ libcanberra xorg.libX11 xorg.libXfixes ] 145 + ++ lib.optional mysofaSupport libmysofa; 157 146 158 147 # Valgrind binary is required for running one optional test. 159 148 nativeCheckInputs = lib.optional withValgrind valgrind; ··· 188 177 "-Dsession-managers=" 189 178 "-Dvulkan=enabled" 190 179 "-Dx11=${mesonEnableFeature x11Support}" 180 + "-Dlibmysofa=${mesonEnableFeature mysofaSupport}" 191 181 "-Dsdl2=disabled" # required only to build examples, causes dependency loop 182 + "-Drlimits-install=false" # installs to /etc, we won't use this anyway 192 183 ]; 193 184 194 185 # Fontconfig error: Cannot load default config file ··· 239 230 "nix-support/jack.conf.json" 240 231 "nix-support/minimal.conf.json" 241 232 "nix-support/pipewire.conf.json" 233 + "nix-support/pipewire-aes67.conf.json" 242 234 "nix-support/pipewire-pulse.conf.json" 243 235 ]; 244 236 paths-lib = [