2021-10-17 09:34:42 +00:00
|
|
|
{ fetchurl
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, pkg-config
|
|
|
|
, intltool
|
|
|
|
, libpulseaudio
|
|
|
|
, gtkmm3
|
|
|
|
, libsigcxx
|
|
|
|
, libcanberra-gtk3
|
|
|
|
, json-glib
|
|
|
|
, gnome
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pavucontrol";
|
2021-10-17 09:34:42 +00:00
|
|
|
version = "5.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
|
2021-10-17 09:34:42 +00:00
|
|
|
sha256 = "sha256-zityw7XxpwrQ3xndgXUPlFW9IIcNHTo20gU2ry6PTno=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-17 09:34:42 +00:00
|
|
|
buildInputs = [
|
|
|
|
libpulseaudio
|
|
|
|
gtkmm3
|
|
|
|
libsigcxx
|
|
|
|
libcanberra-gtk3
|
|
|
|
json-glib
|
|
|
|
gnome.adwaita-icon-theme
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--disable-lynx" ];
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "PulseAudio Volume Control";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
PulseAudio Volume Control (pavucontrol) provides a GTK
|
|
|
|
graphical user interface to connect to a PulseAudio server and
|
|
|
|
easily control the volume of all clients, sinks, etc.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = "http://freedesktop.org/software/pulseaudio/pavucontrol/";
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
maintainers = with maintainers; [ abbradar globin ];
|
|
|
|
platforms = platforms.linux;
|
2023-08-04 22:07:22 +00:00
|
|
|
mainProgram = "pavucontrol";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|