Merge pull request #178212 from vincentbernat/feature/pipewire-0.3.52

pipewire: 0.3.51 -> 0.3.52
This commit is contained in:
Bernardo Meurer 2022-06-23 12:15:00 -04:00 committed by GitHub
commit dd2f9e638b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, lib , lib
, buildPackages , buildPackages
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, removeReferencesTo , removeReferencesTo
, python3 , python3
, meson , meson
@ -69,7 +70,7 @@ let
self = stdenv.mkDerivation rec { self = stdenv.mkDerivation rec {
pname = "pipewire"; pname = "pipewire";
version = "0.3.51"; version = "0.3.52";
outputs = [ outputs = [
"out" "out"
@ -87,7 +88,7 @@ let
owner = "pipewire"; owner = "pipewire";
repo = "pipewire"; repo = "pipewire";
rev = version; rev = version;
sha256 = "sha256-k5OdKgkQUaelvrGS4KtO0MtSJg6cF2Nf8RrsR8Kf+C8="; sha256 = "sha256-JWmO36+OF2O9sLB+Z0znwm3TH+O+pEv3cXnuwP6Wy1E=";
}; };
patches = [ patches = [
@ -103,6 +104,12 @@ let
./0090-pipewire-config-template-paths.patch ./0090-pipewire-config-template-paths.patch
# Place SPA data files in lib output to avoid dependency cycles # Place SPA data files in lib output to avoid dependency cycles
./0095-spa-data-dir.patch ./0095-spa-data-dir.patch
# Remove 44.1KHz from allowed rates (multiple regressions reported)
# To be removed when 0.3.53 is released
(fetchpatch {
url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/16a7c274989f47b0c0d8ba192a30316b545bd26a.patch";
sha256 = "sha256-VZ7ChjcR/PGfmH2DmLxfIhd3mj9668l9zLO4k2KBoqg=";
})
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -164,6 +171,7 @@ let
"-Dbluez5-backend-hfp-native=${mesonEnableFeature nativeHfpSupport}" "-Dbluez5-backend-hfp-native=${mesonEnableFeature nativeHfpSupport}"
"-Dbluez5-backend-ofono=${mesonEnableFeature ofonoSupport}" "-Dbluez5-backend-ofono=${mesonEnableFeature ofonoSupport}"
"-Dbluez5-backend-hsphfpd=${mesonEnableFeature hsphfpdSupport}" "-Dbluez5-backend-hsphfpd=${mesonEnableFeature hsphfpdSupport}"
"-Dbluez5-codec-lc3plus=disabled"
"-Dsysconfdir=/etc" "-Dsysconfdir=/etc"
"-Dpipewire_confdata_dir=${placeholder "lib"}/share/pipewire" "-Dpipewire_confdata_dir=${placeholder "lib"}/share/pipewire"
"-Draop=${mesonEnableFeature raopSupport}" "-Draop=${mesonEnableFeature raopSupport}"