pipewire: update to 0.3.12
This commit is contained in:
parent
59cbf9746c
commit
798b9c072e
@ -1,43 +1,44 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
|
, lib
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, fetchpatch
|
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
|
, systemd
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, doxygen
|
, doxygen
|
||||||
, graphviz
|
, graphviz
|
||||||
, valgrind
|
, valgrind
|
||||||
, glib
|
, glib
|
||||||
, dbus
|
, dbus
|
||||||
, gst_all_1
|
|
||||||
, alsaLib
|
, alsaLib
|
||||||
, ffmpeg_3
|
|
||||||
, libjack2
|
, libjack2
|
||||||
, udev
|
, udev
|
||||||
, libva
|
, libva
|
||||||
, xorg
|
|
||||||
, sbc
|
|
||||||
, SDL2
|
|
||||||
, libsndfile
|
, libsndfile
|
||||||
, bluez
|
|
||||||
, vulkan-headers
|
, vulkan-headers
|
||||||
, vulkan-loader
|
, vulkan-loader
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
, makeFontsConf
|
, makeFontsConf
|
||||||
, callPackage
|
, callPackage
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, ofonoSupport ? true
|
, gstreamerSupport ? true, gst_all_1 ? null
|
||||||
|
, ffmpegSupport ? true, ffmpeg ? null
|
||||||
|
, bluezSupport ? true, bluez ? null, sbc ? null
|
||||||
, nativeHspSupport ? true
|
, nativeHspSupport ? true
|
||||||
|
, ofonoSupport ? true
|
||||||
|
, hsphfpdSupport ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
fontsConf = makeFontsConf {
|
fontsConf = makeFontsConf {
|
||||||
fontDirectories = [];
|
fontDirectories = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mesonBool = b: if b then "true" else "false";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pipewire";
|
pname = "pipewire";
|
||||||
version = "0.3.11";
|
version = "0.3.12";
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
"out"
|
"out"
|
||||||
@ -54,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "pipewire";
|
owner = "pipewire";
|
||||||
repo = "pipewire";
|
repo = "pipewire";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1wbir3napjxcpjy2m70im0l2x1ylg541rwq6hhvm8z0n5khxgfy7";
|
sha256 = "14w9sgznrvcs31qzbzz1vyp4p2sljawbrzhr93921ss0iqivhfwl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -74,39 +75,39 @@ stdenv.mkDerivation rec {
|
|||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkgconfig
|
pkgconfig
|
||||||
valgrind
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL2
|
|
||||||
alsaLib
|
alsaLib
|
||||||
bluez
|
|
||||||
dbus
|
dbus
|
||||||
ffmpeg_3
|
|
||||||
glib
|
glib
|
||||||
gst_all_1.gst-plugins-base
|
|
||||||
gst_all_1.gstreamer
|
|
||||||
libjack2
|
libjack2
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
libsndfile
|
libsndfile
|
||||||
libva
|
|
||||||
sbc
|
|
||||||
udev
|
udev
|
||||||
vulkan-headers
|
vulkan-headers
|
||||||
vulkan-loader
|
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 = [
|
mesonFlags = [
|
||||||
"-Ddocs=true"
|
"-Ddocs=true"
|
||||||
"-Dman=false" # we don't have xmltoman
|
"-Dman=false" # we don't have xmltoman
|
||||||
"-Dgstreamer=true"
|
"-Dexamples=true" # only needed for `pipewire-media-session`
|
||||||
"-Dudevrulesdir=lib/udev/rules.d"
|
"-Dudevrulesdir=lib/udev/rules.d"
|
||||||
"-Dinstalled_tests=true"
|
"-Dinstalled_tests=true"
|
||||||
"-Dlibpulse-path=${placeholder "pulse"}/lib"
|
"-Dlibpulse-path=${placeholder "pulse"}/lib"
|
||||||
"-Dlibjack-path=${placeholder "jack"}/lib"
|
"-Dlibjack-path=${placeholder "jack"}/lib"
|
||||||
] ++ stdenv.lib.optional nativeHspSupport "-Dbluez5-backend-native=true"
|
"-Dgstreamer=${mesonBool gstreamerSupport}"
|
||||||
++ stdenv.lib.optional ofonoSupport "-Dbluez5-backend-ofono=true";
|
"-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
|
FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user