3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/pipewire/default.nix

94 lines
1.5 KiB
Nix
Raw Normal View History

2020-02-29 15:59:51 +00:00
{ stdenv
, fetchFromGitLab
2020-02-29 15:59:51 +00:00
, meson
, ninja
, pkgconfig
, doxygen
, graphviz
, valgrind
, glib
, dbus
, gst_all_1
, alsaLib
, ffmpeg
, libjack2
, udev
, libva
, xorg
, sbc
, SDL2
, libsndfile
, bluez
, vulkan-headers
, vulkan-loader
, libpulseaudio
2020-02-29 15:59:51 +00:00
, makeFontsConf
2017-11-14 03:41:25 +00:00
}:
let
2018-02-27 16:15:13 +00:00
fontsConf = makeFontsConf {
2020-02-29 15:59:51 +00:00
fontDirectories = [];
2018-02-27 16:15:13 +00:00
};
2020-02-29 15:59:51 +00:00
in
stdenv.mkDerivation rec {
pname = "pipewire";
version = "0.3.1";
2017-11-14 03:41:25 +00:00
2020-02-29 15:59:51 +00:00
outputs = [ "out" "lib" "dev" "doc" ];
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "pipewire";
2017-11-14 03:41:25 +00:00
repo = "pipewire";
rev = version;
sha256 = "DfUgXTSSCl+JszFEKwBha67nauQi4noR25m00auXDnA=";
2017-11-14 03:41:25 +00:00
};
nativeBuildInputs = [
2020-02-29 15:59:51 +00:00
doxygen
graphviz
meson
ninja
pkgconfig
valgrind
2017-11-14 03:41:25 +00:00
];
2020-02-29 15:59:51 +00:00
2017-11-14 03:41:25 +00:00
buildInputs = [
2020-02-29 15:59:51 +00:00
SDL2
alsaLib
bluez
2020-02-29 15:59:51 +00:00
dbus
ffmpeg
glib
gst_all_1.gst-plugins-base
gst_all_1.gstreamer
libjack2
libpulseaudio
libsndfile
2020-02-29 15:59:51 +00:00
libva
sbc
udev
vulkan-headers
vulkan-loader
2020-02-29 15:59:51 +00:00
xorg.libX11
2017-11-14 03:41:25 +00:00
];
mesonFlags = [
"-Ddocs=true"
"-Dman=false" # we don't have xmltoman
"-Dgstreamer=true"
2017-11-14 03:41:25 +00:00
];
2018-02-27 16:15:13 +00:00
FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file
2017-11-14 03:41:25 +00:00
doCheck = true;
meta = with stdenv.lib; {
description = "Server and user space API to deal with multimedia pipelines";
homepage = https://pipewire.org/;
license = licenses.mit;
2017-11-14 03:41:25 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ jtojnar ];
};
}