2021-10-19 17:42:00 +03:00
|
|
|
{ fetchurl
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, pkg-config
|
|
|
|
, intltool
|
|
|
|
, libpulseaudio
|
|
|
|
, gtkmm3
|
|
|
|
, libsigcxx
|
|
|
|
, libcanberra-gtk3
|
|
|
|
, json-glib
|
|
|
|
, gnome
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2009-04-03 19:58:18 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-09 10:21:06 +03:00
|
|
|
pname = "pavucontrol";
|
2021-10-19 17:42:00 +03:00
|
|
|
version = "5.0";
|
2009-04-03 19:58:18 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-09 10:21:06 +03:00
|
|
|
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
|
2021-10-19 17:42:00 +03:00
|
|
|
sha256 = "sha256-zityw7XxpwrQ3xndgXUPlFW9IIcNHTo20gU2ry6PTno=";
|
2009-04-03 19:58:18 +04:00
|
|
|
};
|
|
|
|
|
2021-10-19 17:42:00 +03:00
|
|
|
buildInputs = [
|
|
|
|
libpulseaudio
|
|
|
|
gtkmm3
|
|
|
|
libsigcxx
|
|
|
|
libcanberra-gtk3
|
|
|
|
json-glib
|
|
|
|
gnome.adwaita-icon-theme
|
|
|
|
];
|
2009-04-03 19:58:18 +04:00
|
|
|
|
2021-01-19 09:50:56 +03:00
|
|
|
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ];
|
2009-04-03 20:58:07 +04:00
|
|
|
|
2014-09-28 21:19:50 +04:00
|
|
|
configureFlags = [ "--disable-lynx" ];
|
|
|
|
|
2022-08-23 10:38:30 +03:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2009-04-03 19:58:18 +04:00
|
|
|
description = "PulseAudio Volume Control";
|
|
|
|
|
|
|
|
longDescription = ''
|
2019-09-04 01:49:40 +03:00
|
|
|
PulseAudio Volume Control (pavucontrol) provides a GTK
|
2009-04-03 19:58:18 +04:00
|
|
|
graphical user interface to connect to a PulseAudio server and
|
|
|
|
easily control the volume of all clients, sinks, etc.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://freedesktop.org/software/pulseaudio/pavucontrol/";
|
2009-04-03 19:58:18 +04:00
|
|
|
|
2021-01-15 16:21:58 +03:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2010-03-03 17:27:22 +03:00
|
|
|
|
2019-08-20 20:36:05 +03:00
|
|
|
maintainers = with maintainers; [ abbradar globin ];
|
2014-09-28 21:19:50 +04:00
|
|
|
platforms = platforms.linux;
|
2009-04-03 19:58:18 +04:00
|
|
|
};
|
|
|
|
}
|