diff options
author | Nathaniel Glen <njag2202@gmail.com> | 2020-10-23 13:34:45 -0400 |
---|---|---|
committer | Nathaniel Glen <njag2202@gmail.com> | 2020-10-23 13:37:57 -0400 |
commit | 798b9c072e0cbda4298350310684750f04a11fd8 (patch) | |
tree | ec2df13944d19fb3a07c121af1050510215e79f6 /pkgs/development/libraries/pipewire | |
parent | 59cbf9746c162359b9bbad334be8b43a2a1548aa (diff) | |
download | nixpkgs-798b9c072e0cbda4298350310684750f04a11fd8.tar nixpkgs-798b9c072e0cbda4298350310684750f04a11fd8.tar.gz nixpkgs-798b9c072e0cbda4298350310684750f04a11fd8.tar.bz2 nixpkgs-798b9c072e0cbda4298350310684750f04a11fd8.tar.lz nixpkgs-798b9c072e0cbda4298350310684750f04a11fd8.tar.xz nixpkgs-798b9c072e0cbda4298350310684750f04a11fd8.tar.zst nixpkgs-798b9c072e0cbda4298350310684750f04a11fd8.zip |
pipewire: update to 0.3.12
Diffstat (limited to 'pkgs/development/libraries/pipewire')
-rw-r--r-- | pkgs/development/libraries/pipewire/default.nix | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/pkgs/development/libraries/pipewire/default.nix b/pkgs/development/libraries/pipewire/default.nix index 179e1aec9af..2c606205664 100644 --- a/pkgs/development/libraries/pipewire/default.nix +++ b/pkgs/development/libraries/pipewire/default.nix @@ -1,43 +1,44 @@ { stdenv +, lib , fetchFromGitLab -, fetchpatch , meson , ninja +, systemd , pkgconfig , doxygen , graphviz , valgrind , glib , dbus -, gst_all_1 , alsaLib -, ffmpeg_3 , libjack2 , udev , libva -, xorg -, sbc -, SDL2 , libsndfile -, bluez , vulkan-headers , vulkan-loader , libpulseaudio , makeFontsConf , callPackage , nixosTests -, ofonoSupport ? true +, gstreamerSupport ? true, gst_all_1 ? null +, ffmpegSupport ? true, ffmpeg ? null +, bluezSupport ? true, bluez ? null, sbc ? null , nativeHspSupport ? true +, ofonoSupport ? true +, hsphfpdSupport ? false }: let fontsConf = makeFontsConf { fontDirectories = []; }; + + mesonBool = b: if b then "true" else "false"; in stdenv.mkDerivation rec { pname = "pipewire"; - version = "0.3.11"; + version = "0.3.12"; outputs = [ "out" @@ -54,7 +55,7 @@ stdenv.mkDerivation rec { owner = "pipewire"; repo = "pipewire"; rev = version; - sha256 = "1wbir3napjxcpjy2m70im0l2x1ylg541rwq6hhvm8z0n5khxgfy7"; + sha256 = "14w9sgznrvcs31qzbzz1vyp4p2sljawbrzhr93921ss0iqivhfwl"; }; patches = [ @@ -74,39 +75,39 @@ stdenv.mkDerivation rec { meson ninja pkgconfig - valgrind ]; buildInputs = [ - SDL2 alsaLib - bluez dbus - ffmpeg_3 glib - gst_all_1.gst-plugins-base - gst_all_1.gstreamer libjack2 libpulseaudio libsndfile - libva - sbc udev vulkan-headers vulkan-loader - xorg.libX11 - ]; + valgrind + systemd + ] ++ lib.optionals gstreamerSupport [ gst_all_1.gst-plugins-base gst_all_1.gstreamer ] + ++ lib.optional ffmpegSupport ffmpeg + ++ lib.optionals bluezSupport [ bluez sbc ]; mesonFlags = [ "-Ddocs=true" "-Dman=false" # we don't have xmltoman - "-Dgstreamer=true" + "-Dexamples=true" # only needed for `pipewire-media-session` "-Dudevrulesdir=lib/udev/rules.d" "-Dinstalled_tests=true" "-Dlibpulse-path=${placeholder "pulse"}/lib" "-Dlibjack-path=${placeholder "jack"}/lib" - ] ++ stdenv.lib.optional nativeHspSupport "-Dbluez5-backend-native=true" - ++ stdenv.lib.optional ofonoSupport "-Dbluez5-backend-ofono=true"; + "-Dgstreamer=${mesonBool gstreamerSupport}" + "-Dffmpeg=${mesonBool ffmpegSupport}" + "-Dbluez5=${mesonBool bluezSupport}" + "-Dbluez5-backend-native=${mesonBool nativeHspSupport}" + "-Dbluez5-backend-ofono=${mesonBool ofonoSupport}" + "-Dbluez5-backend-hsphfpd=${mesonBool hsphfpdSupport}" + ]; FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file |