|
|
|
@ -2,6 +2,7 @@ |
|
|
|
|
, lib |
|
|
|
|
, buildPackages |
|
|
|
|
, fetchFromGitLab |
|
|
|
|
, fetchpatch |
|
|
|
|
, removeReferencesTo |
|
|
|
|
, python3 |
|
|
|
|
, meson |
|
|
|
@ -69,7 +70,7 @@ let |
|
|
|
|
|
|
|
|
|
self = stdenv.mkDerivation rec { |
|
|
|
|
pname = "pipewire"; |
|
|
|
|
version = "0.3.51"; |
|
|
|
|
version = "0.3.52"; |
|
|
|
|
|
|
|
|
|
outputs = [ |
|
|
|
|
"out" |
|
|
|
@ -87,7 +88,7 @@ let |
|
|
|
|
owner = "pipewire"; |
|
|
|
|
repo = "pipewire"; |
|
|
|
|
rev = version; |
|
|
|
|
sha256 = "sha256-k5OdKgkQUaelvrGS4KtO0MtSJg6cF2Nf8RrsR8Kf+C8="; |
|
|
|
|
sha256 = "sha256-JWmO36+OF2O9sLB+Z0znwm3TH+O+pEv3cXnuwP6Wy1E="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
@ -103,6 +104,12 @@ let |
|
|
|
|
./0090-pipewire-config-template-paths.patch |
|
|
|
|
# Place SPA data files in lib output to avoid dependency cycles |
|
|
|
|
./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 = [ |
|
|
|
@ -164,6 +171,7 @@ let |
|
|
|
|
"-Dbluez5-backend-hfp-native=${mesonEnableFeature nativeHfpSupport}" |
|
|
|
|
"-Dbluez5-backend-ofono=${mesonEnableFeature ofonoSupport}" |
|
|
|
|
"-Dbluez5-backend-hsphfpd=${mesonEnableFeature hsphfpdSupport}" |
|
|
|
|
"-Dbluez5-codec-lc3plus=disabled" |
|
|
|
|
"-Dsysconfdir=/etc" |
|
|
|
|
"-Dpipewire_confdata_dir=${placeholder "lib"}/share/pipewire" |
|
|
|
|
"-Draop=${mesonEnableFeature raopSupport}" |
|
|
|
|