2023-10-25 07:49:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config
|
2019-09-13 16:20:36 +00:00
|
|
|
, libsndfile, libtool, makeWrapper, perlPackages
|
2022-10-02 18:10:07 +00:00
|
|
|
, xorg, libcap, alsa-lib, glib, dconf
|
2015-06-04 10:57:12 +00:00
|
|
|
, avahi, libjack2, libasyncns, lirc, dbus
|
|
|
|
, sbc, bluez5, udev, openssl, fftwFloat
|
2024-02-11 17:23:17 +00:00
|
|
|
, soxr, speexdsp, systemd, webrtc-audio-processing_1
|
2022-04-09 10:39:09 +00:00
|
|
|
, gst_all_1
|
2024-04-26 20:24:03 +00:00
|
|
|
, check, libintl, meson, ninja, m4, wrapGAppsHook3
|
2024-03-16 12:16:30 +00:00
|
|
|
, fetchpatch2
|
2008-12-19 14:56:37 +00:00
|
|
|
|
2015-06-04 10:57:12 +00:00
|
|
|
, x11Support ? false
|
|
|
|
|
2022-09-21 07:04:52 +00:00
|
|
|
, useSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
|
2015-06-04 10:57:12 +00:00
|
|
|
|
|
|
|
, # Whether to support the JACK sound system as a backend.
|
|
|
|
jackaudioSupport ? false
|
|
|
|
|
|
|
|
, # Whether to build the OSS wrapper ("padsp").
|
|
|
|
ossWrapper ? true
|
|
|
|
|
|
|
|
, airtunesSupport ? false
|
|
|
|
|
2022-08-02 16:39:28 +00:00
|
|
|
, bluetoothSupport ? stdenv.isLinux
|
2022-04-19 16:40:03 +00:00
|
|
|
, advancedBluetoothCodecs ? false
|
2015-06-04 10:57:12 +00:00
|
|
|
|
|
|
|
, remoteControlSupport ? false
|
|
|
|
|
|
|
|
, zeroconfSupport ? false
|
|
|
|
|
2022-08-02 16:39:28 +00:00
|
|
|
, alsaSupport ? stdenv.isLinux
|
|
|
|
, udevSupport ? stdenv.isLinux
|
|
|
|
|
2015-06-04 10:57:12 +00:00
|
|
|
, # Whether to build only the library.
|
|
|
|
libOnly ? false
|
2017-01-04 19:21:48 +00:00
|
|
|
|
2022-08-02 16:39:28 +00:00
|
|
|
, AudioUnit, Cocoa, CoreServices, CoreAudio
|
2015-04-26 04:27:41 +00:00
|
|
|
}:
|
|
|
|
|
2008-12-19 14:56:37 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2023-02-06 20:49:02 +00:00
|
|
|
pname = "${lib.optionalString libOnly "lib"}pulseaudio";
|
2024-02-11 17:23:17 +00:00
|
|
|
version = "17.0";
|
2008-12-19 14:56:37 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-04-26 04:27:41 +00:00
|
|
|
url = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${version}.tar.xz";
|
2024-02-11 17:23:17 +00:00
|
|
|
hash = "sha256-BTeU1mcaPjl9hJ5HioC4KmPLnYyilr01tzMXu1zrh7U=";
|
2008-12-19 14:56:37 +00:00
|
|
|
};
|
|
|
|
|
2022-02-04 04:54:00 +00:00
|
|
|
patches = [
|
|
|
|
# Install sysconfdir files inside of the nix store,
|
|
|
|
# but use a conventional runtime sysconfdir outside the store
|
|
|
|
./add-option-for-installation-sysconfdir.patch
|
2024-03-16 12:16:30 +00:00
|
|
|
|
|
|
|
# Fix crashes with some UCM devices
|
|
|
|
# See https://gitlab.archlinux.org/archlinux/packaging/packages/pulseaudio/-/issues/4
|
|
|
|
(fetchpatch2 {
|
|
|
|
name = "alsa-ucm-Check-UCM-verb-before-working-with-device-status.patch";
|
|
|
|
url = "https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/f5cacd94abcc47003bd88ad7ca1450de649ffb15.patch";
|
|
|
|
hash = "sha256-WyEqCitrqic2n5nNHeVS10vvGy5IzwObPPXftZKy/A8=";
|
|
|
|
})
|
|
|
|
(fetchpatch2 {
|
|
|
|
name = "alsa-ucm-Replace-port-device-UCM-context-assertion-with-an-error.patch";
|
|
|
|
url = "https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/ed3d4f0837f670e5e5afb1afa5bcfc8ff05d3407.patch";
|
|
|
|
hash = "sha256-fMJ3EYq56sHx+zTrG6osvI/QgnhqLvWiifZxrRLMvns=";
|
|
|
|
})
|
2022-02-04 04:54:00 +00:00
|
|
|
];
|
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
2015-10-08 09:51:10 +00:00
|
|
|
|
2022-02-04 04:54:00 +00:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja makeWrapper perlPackages.perl perlPackages.XMLParser m4 ]
|
2022-04-09 10:39:09 +00:00
|
|
|
++ lib.optionals stdenv.isLinux [ glib ]
|
|
|
|
# gstreamer plugin discovery requires wrapping
|
2024-04-26 20:24:03 +00:00
|
|
|
++ lib.optional (bluetoothSupport && advancedBluetoothCodecs) wrapGAppsHook3;
|
2015-06-04 10:57:12 +00:00
|
|
|
|
2015-06-07 11:06:54 +00:00
|
|
|
propagatedBuildInputs =
|
|
|
|
lib.optionals stdenv.isLinux [ libcap ];
|
|
|
|
|
2015-06-04 10:57:12 +00:00
|
|
|
buildInputs =
|
2022-05-10 09:32:38 +00:00
|
|
|
[ libtool libsndfile soxr speexdsp fftwFloat check ]
|
2015-10-13 12:33:08 +00:00
|
|
|
++ lib.optionals stdenv.isLinux [ glib dbus ]
|
2022-08-02 16:39:28 +00:00
|
|
|
++ lib.optionals stdenv.isDarwin [ AudioUnit Cocoa CoreServices CoreAudio libintl ]
|
2015-06-04 10:57:12 +00:00
|
|
|
++ lib.optionals (!libOnly) (
|
2024-02-11 17:23:17 +00:00
|
|
|
[ libasyncns webrtc-audio-processing_1 ]
|
2015-06-04 10:57:12 +00:00
|
|
|
++ lib.optional jackaudioSupport libjack2
|
2022-10-02 18:10:07 +00:00
|
|
|
++ lib.optionals x11Support [ xorg.libICE xorg.libSM xorg.libX11 xorg.libXi xorg.libXtst ]
|
2015-06-04 10:57:12 +00:00
|
|
|
++ lib.optional useSystemd systemd
|
2021-06-10 02:57:09 +00:00
|
|
|
++ lib.optionals stdenv.isLinux [ alsa-lib udev ]
|
2015-06-04 10:57:12 +00:00
|
|
|
++ lib.optional airtunesSupport openssl
|
2022-04-19 16:40:03 +00:00
|
|
|
++ lib.optionals bluetoothSupport [ bluez5 sbc ]
|
2022-04-09 10:39:09 +00:00
|
|
|
# aptX and LDAC codecs are in gst-plugins-bad so far, rtpldacpay is in -good
|
2022-04-19 16:40:03 +00:00
|
|
|
++ lib.optionals (bluetoothSupport && advancedBluetoothCodecs) (builtins.attrValues { inherit (gst_all_1) gst-plugins-bad gst-plugins-good gst-plugins-base gstreamer; })
|
2015-06-04 10:57:12 +00:00
|
|
|
++ lib.optional remoteControlSupport lirc
|
|
|
|
++ lib.optional zeroconfSupport avahi
|
2019-06-10 09:15:40 +00:00
|
|
|
);
|
|
|
|
|
2022-02-04 04:54:00 +00:00
|
|
|
mesonFlags = [
|
2023-10-25 07:49:55 +00:00
|
|
|
(lib.mesonEnable "alsa" (!libOnly && alsaSupport))
|
|
|
|
(lib.mesonEnable "asyncns" (!libOnly))
|
|
|
|
(lib.mesonEnable "avahi" zeroconfSupport)
|
|
|
|
(lib.mesonEnable "bluez5" (!libOnly && bluetoothSupport))
|
2022-04-09 10:39:09 +00:00
|
|
|
# advanced bluetooth audio codecs are provided by gstreamer
|
2023-10-25 07:49:55 +00:00
|
|
|
(lib.mesonEnable "bluez5-gstreamer" (!libOnly && bluetoothSupport && advancedBluetoothCodecs))
|
|
|
|
(lib.mesonOption "database" "simple")
|
|
|
|
(lib.mesonBool "doxygen" false)
|
|
|
|
(lib.mesonEnable "elogind" false)
|
2022-02-04 04:54:00 +00:00
|
|
|
# gsettings does not support cross-compilation
|
2023-10-25 07:49:55 +00:00
|
|
|
(lib.mesonEnable "gsettings" (stdenv.isLinux && (stdenv.buildPlatform == stdenv.hostPlatform)))
|
|
|
|
(lib.mesonEnable "gstreamer" false)
|
|
|
|
(lib.mesonEnable "gtk" false)
|
|
|
|
(lib.mesonEnable "jack" (jackaudioSupport && !libOnly))
|
|
|
|
(lib.mesonEnable "lirc" remoteControlSupport)
|
|
|
|
(lib.mesonEnable "openssl" airtunesSupport)
|
|
|
|
(lib.mesonEnable "orc" false)
|
|
|
|
(lib.mesonEnable "systemd" (useSystemd && !libOnly))
|
|
|
|
(lib.mesonEnable "tcpwrap" false)
|
|
|
|
(lib.mesonEnable "udev" (!libOnly && udevSupport))
|
|
|
|
(lib.mesonEnable "valgrind" false)
|
|
|
|
(lib.mesonEnable "webrtc-aec" (!libOnly))
|
|
|
|
(lib.mesonEnable "x11" x11Support)
|
|
|
|
|
|
|
|
(lib.mesonOption "localstatedir" "/var")
|
|
|
|
(lib.mesonOption "sysconfdir" "/etc")
|
|
|
|
(lib.mesonOption "sysconfdir_install" "${placeholder "out"}/etc")
|
|
|
|
(lib.mesonOption "udevrulesdir" "${placeholder "out"}/lib/udev/rules.d")
|
pulseaudioFull: fix wrapGApp wrapping
Since
https://github.com/NixOS/nixpkgs/commit/7a2605e0f3dc99e02cd577634f792f7a4d229378
the pulseaudio build recipe incorporates the `wrapGAppsHook`
wrapper setup-hook if `advancedBluetoothCodecs` are enabled.
This wrapper setup-hook -- like most wrappers --
wraps binaries in `$out/bin` by first renaming them,
then placing a wrapper script where the original binary was.
Unfortunatelly, pulseaudio doesn't like its
binary moved around after installation:
It records the binaries path during installation time
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/meson.build#L154
then checks the path in `/proc/self/exe` and complains
> Jun 16 19:06:48 nixosb pulseaudio[2219]: W: [.pulseaudio-wra] main.c: /proc/self/exe does not point to /nix/store/bqfyzxwpxa2ydmyvh3j32xrm4chxbj22-pulseaudio-15.0/bin/pulseaudio, cannot self execute. Are you playing games?
if they don't match
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/src/daemon/main.c#L577
Somehow, this also results in a real bug:
`pacmd` fails to connect to the pulseaudio server, see
https://github.com/NixOS/nixpkgs/issues/177915
To fix this issue, the commit at hand changes the
installation directory for binaries to `$out/.bin-unwrapped`.
After the installation, `$out/bin` is created by hand and
populated with symlinks to files in `$out/.bin-unwrapped`.
`wrapGAppsHook` doesn't know or care about the `.bin-unwrapped`
directory; it just sees all the symlinks in `bin`,
renames them and places wrapper scripts beside them.
Effectively, this leaves the original
binary in `.bin-unwrapped` unchanged!
So pulseaudio will find itself still in its oritinal place,
and "users" of the package can call pulseaudio
via the wrapper script in `bin` as usual.
2022-07-07 16:41:47 +00:00
|
|
|
|
|
|
|
# pulseaudio complains if its binary is moved after installation;
|
|
|
|
# this is needed so that wrapGApp can operate *without*
|
|
|
|
# renaming the unwrapped binaries (see below)
|
|
|
|
"--bindir=${placeholder "out"}/.bin-unwrapped"
|
2022-02-04 04:54:00 +00:00
|
|
|
]
|
2023-10-25 07:49:55 +00:00
|
|
|
++ lib.optionals (stdenv.isLinux && useSystemd) [
|
|
|
|
(lib.mesonOption "systemduserunitdir" "${placeholder "out"}/lib/systemd/user")
|
|
|
|
]
|
2022-08-02 16:39:28 +00:00
|
|
|
++ lib.optionals stdenv.isDarwin [
|
2024-02-11 17:23:17 +00:00
|
|
|
(lib.mesonEnable "consolekit" false)
|
2023-10-25 07:49:55 +00:00
|
|
|
(lib.mesonEnable "dbus" false)
|
|
|
|
(lib.mesonEnable "glib" false)
|
|
|
|
(lib.mesonEnable "oss-output" false)
|
2022-05-10 09:32:38 +00:00
|
|
|
];
|
2022-02-04 04:54:00 +00:00
|
|
|
|
2022-05-10 09:32:38 +00:00
|
|
|
# tests fail on Darwin because of timeouts
|
|
|
|
doCheck = !stdenv.isDarwin;
|
2022-02-04 04:54:00 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
2009-01-19 20:22:54 +00:00
|
|
|
'';
|
|
|
|
|
2015-06-04 10:57:12 +00:00
|
|
|
postInstall = lib.optionalString libOnly ''
|
2021-05-30 00:05:22 +00:00
|
|
|
find $out/share -maxdepth 1 -mindepth 1 ! -name "vala" -prune -exec rm -r {} \;
|
|
|
|
find $out/share/vala -maxdepth 1 -mindepth 1 ! -name "vapi" -prune -exec rm -r {} \;
|
pulseaudioFull: fix wrapGApp wrapping
Since
https://github.com/NixOS/nixpkgs/commit/7a2605e0f3dc99e02cd577634f792f7a4d229378
the pulseaudio build recipe incorporates the `wrapGAppsHook`
wrapper setup-hook if `advancedBluetoothCodecs` are enabled.
This wrapper setup-hook -- like most wrappers --
wraps binaries in `$out/bin` by first renaming them,
then placing a wrapper script where the original binary was.
Unfortunatelly, pulseaudio doesn't like its
binary moved around after installation:
It records the binaries path during installation time
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/meson.build#L154
then checks the path in `/proc/self/exe` and complains
> Jun 16 19:06:48 nixosb pulseaudio[2219]: W: [.pulseaudio-wra] main.c: /proc/self/exe does not point to /nix/store/bqfyzxwpxa2ydmyvh3j32xrm4chxbj22-pulseaudio-15.0/bin/pulseaudio, cannot self execute. Are you playing games?
if they don't match
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/src/daemon/main.c#L577
Somehow, this also results in a real bug:
`pacmd` fails to connect to the pulseaudio server, see
https://github.com/NixOS/nixpkgs/issues/177915
To fix this issue, the commit at hand changes the
installation directory for binaries to `$out/.bin-unwrapped`.
After the installation, `$out/bin` is created by hand and
populated with symlinks to files in `$out/.bin-unwrapped`.
`wrapGAppsHook` doesn't know or care about the `.bin-unwrapped`
directory; it just sees all the symlinks in `bin`,
renames them and places wrapper scripts beside them.
Effectively, this leaves the original
binary in `.bin-unwrapped` unchanged!
So pulseaudio will find itself still in its oritinal place,
and "users" of the package can call pulseaudio
via the wrapper script in `bin` as usual.
2022-07-07 16:41:47 +00:00
|
|
|
rm -r $out/{.bin-unwrapped,etc,lib/pulse-*}
|
2015-10-08 09:51:10 +00:00
|
|
|
''
|
2019-12-27 03:51:28 +00:00
|
|
|
+ ''
|
|
|
|
moveToOutput lib/cmake "$dev"
|
pulseaudioFull: fix wrapGApp wrapping
Since
https://github.com/NixOS/nixpkgs/commit/7a2605e0f3dc99e02cd577634f792f7a4d229378
the pulseaudio build recipe incorporates the `wrapGAppsHook`
wrapper setup-hook if `advancedBluetoothCodecs` are enabled.
This wrapper setup-hook -- like most wrappers --
wraps binaries in `$out/bin` by first renaming them,
then placing a wrapper script where the original binary was.
Unfortunatelly, pulseaudio doesn't like its
binary moved around after installation:
It records the binaries path during installation time
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/meson.build#L154
then checks the path in `/proc/self/exe` and complains
> Jun 16 19:06:48 nixosb pulseaudio[2219]: W: [.pulseaudio-wra] main.c: /proc/self/exe does not point to /nix/store/bqfyzxwpxa2ydmyvh3j32xrm4chxbj22-pulseaudio-15.0/bin/pulseaudio, cannot self execute. Are you playing games?
if they don't match
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/src/daemon/main.c#L577
Somehow, this also results in a real bug:
`pacmd` fails to connect to the pulseaudio server, see
https://github.com/NixOS/nixpkgs/issues/177915
To fix this issue, the commit at hand changes the
installation directory for binaries to `$out/.bin-unwrapped`.
After the installation, `$out/bin` is created by hand and
populated with symlinks to files in `$out/.bin-unwrapped`.
`wrapGAppsHook` doesn't know or care about the `.bin-unwrapped`
directory; it just sees all the symlinks in `bin`,
renames them and places wrapper scripts beside them.
Effectively, this leaves the original
binary in `.bin-unwrapped` unchanged!
So pulseaudio will find itself still in its oritinal place,
and "users" of the package can call pulseaudio
via the wrapper script in `bin` as usual.
2022-07-07 16:41:47 +00:00
|
|
|
rm -f $out/.bin-unwrapped/qpaeq # this is packaged by the "qpaeq" package now, because of missing deps
|
2023-08-29 23:15:23 +00:00
|
|
|
|
|
|
|
cp config.h $dev/include/pulse
|
2019-12-27 03:51:28 +00:00
|
|
|
'';
|
2013-09-06 01:47:49 +00:00
|
|
|
|
2021-01-01 21:11:29 +00:00
|
|
|
preFixup = lib.optionalString (stdenv.isLinux && (stdenv.hostPlatform == stdenv.buildPlatform)) ''
|
2018-05-09 18:21:55 +00:00
|
|
|
wrapProgram $out/libexec/pulse/gsettings-helper \
|
2021-12-03 18:02:52 +00:00
|
|
|
--prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${pname}-${version}" \
|
2019-11-30 23:11:47 +00:00
|
|
|
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
|
2022-08-02 16:39:28 +00:00
|
|
|
''
|
|
|
|
# add .so symlinks for modules to be found under macOS
|
|
|
|
+ lib.optionalString stdenv.isDarwin ''
|
2022-08-27 20:02:19 +00:00
|
|
|
for file in $out/lib/pulseaudio/modules/*.dylib; do
|
2022-08-02 16:39:28 +00:00
|
|
|
ln -s "''$file" "''${file%.dylib}.so"
|
|
|
|
ln -s "''$file" "$out/lib/pulseaudio/''$(basename ''$file .dylib).so"
|
|
|
|
done
|
pulseaudioFull: fix wrapGApp wrapping
Since
https://github.com/NixOS/nixpkgs/commit/7a2605e0f3dc99e02cd577634f792f7a4d229378
the pulseaudio build recipe incorporates the `wrapGAppsHook`
wrapper setup-hook if `advancedBluetoothCodecs` are enabled.
This wrapper setup-hook -- like most wrappers --
wraps binaries in `$out/bin` by first renaming them,
then placing a wrapper script where the original binary was.
Unfortunatelly, pulseaudio doesn't like its
binary moved around after installation:
It records the binaries path during installation time
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/meson.build#L154
then checks the path in `/proc/self/exe` and complains
> Jun 16 19:06:48 nixosb pulseaudio[2219]: W: [.pulseaudio-wra] main.c: /proc/self/exe does not point to /nix/store/bqfyzxwpxa2ydmyvh3j32xrm4chxbj22-pulseaudio-15.0/bin/pulseaudio, cannot self execute. Are you playing games?
if they don't match
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/e5ad31e873eed62bc580a86a61177047f9e8c491/src/daemon/main.c#L577
Somehow, this also results in a real bug:
`pacmd` fails to connect to the pulseaudio server, see
https://github.com/NixOS/nixpkgs/issues/177915
To fix this issue, the commit at hand changes the
installation directory for binaries to `$out/.bin-unwrapped`.
After the installation, `$out/bin` is created by hand and
populated with symlinks to files in `$out/.bin-unwrapped`.
`wrapGAppsHook` doesn't know or care about the `.bin-unwrapped`
directory; it just sees all the symlinks in `bin`,
renames them and places wrapper scripts beside them.
Effectively, this leaves the original
binary in `.bin-unwrapped` unchanged!
So pulseaudio will find itself still in its oritinal place,
and "users" of the package can call pulseaudio
via the wrapper script in `bin` as usual.
2022-07-07 16:41:47 +00:00
|
|
|
''
|
|
|
|
# put symlinks to binaries in `$prefix/bin`;
|
|
|
|
# then wrapGApp will *rename these symlinks* instead of
|
|
|
|
# the original binaries in `$prefix/.bin-unwrapped` (see above);
|
|
|
|
# when pulseaudio is looking for its own binary (it does!),
|
|
|
|
# it will be happy to find it in its original installation location
|
|
|
|
+ lib.optionalString (!libOnly) ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
ln -st $out/bin $out/.bin-unwrapped/*
|
2022-12-02 18:50:19 +00:00
|
|
|
|
|
|
|
# Ensure that service files use the wrapped binaries.
|
|
|
|
find "$out" -name "*.service" | while read f; do
|
|
|
|
substituteInPlace "$f" --replace "$out/.bin-unwrapped/" "$out/bin/"
|
|
|
|
done
|
2018-05-09 18:21:55 +00:00
|
|
|
'';
|
|
|
|
|
2015-06-04 10:57:12 +00:00
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Sound server for POSIX and Win32 systems";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.pulseaudio.org/";
|
2017-04-29 04:24:34 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
2019-01-26 10:01:09 +00:00
|
|
|
maintainers = with lib.maintainers; [ lovek323 ];
|
2015-06-04 10:57:12 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2008-12-19 14:56:37 +00:00
|
|
|
|
2023-09-21 15:01:33 +00:00
|
|
|
# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1089
|
|
|
|
badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ];
|
|
|
|
|
2008-12-19 14:56:37 +00:00
|
|
|
longDescription = ''
|
|
|
|
PulseAudio is a sound server for POSIX and Win32 systems. A
|
|
|
|
sound server is basically a proxy for your sound applications.
|
|
|
|
It allows you to do advanced operations on your sound data as it
|
|
|
|
passes between your application and your hardware. Things like
|
|
|
|
transferring the audio to a different machine, changing the
|
|
|
|
sample format or channel count and mixing several sounds into
|
|
|
|
one are easily achieved using a sound server.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|