2015-05-27 21:42:15 +02:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, libpulseaudio, gtkmm3
|
2014-12-22 11:40:51 +01:00
|
|
|
, libcanberra_gtk3, makeWrapper, gnome3 }:
|
2009-04-03 17:58:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-03-26 00:38:44 +01:00
|
|
|
name = "pavucontrol-3.0";
|
2009-04-03 17:58:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-11-26 05:41:28 +01:00
|
|
|
url = "http://freedesktop.org/software/pulseaudio/pavucontrol/${name}.tar.xz";
|
2015-03-26 00:38:44 +01:00
|
|
|
sha256 = "14486c6lmmirkhscbfygz114f6yzf97h35n3h3pdr27w4mdfmlmk";
|
2009-04-03 17:58:18 +02:00
|
|
|
};
|
|
|
|
|
2014-12-22 11:40:51 +01:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/pavucontrol" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
|
|
|
|
'';
|
|
|
|
|
2015-05-27 21:42:15 +02:00
|
|
|
buildInputs = [ libpulseaudio gtkmm3 libcanberra_gtk3 makeWrapper
|
2015-05-19 14:40:04 +02:00
|
|
|
gnome3.defaultIconTheme ];
|
2009-04-03 17:58:18 +02:00
|
|
|
|
2014-09-28 19:19:50 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2009-04-03 18:58:07 +02:00
|
|
|
|
2014-09-28 19:19:50 +02:00
|
|
|
configureFlags = [ "--disable-lynx" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-04-03 17:58:18 +02: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.
|
|
|
|
'';
|
|
|
|
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://freedesktop.org/software/pulseaudio/pavucontrol/;
|
2009-04-03 17:58:18 +02:00
|
|
|
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-03-03 15:27:22 +01:00
|
|
|
|
2015-06-22 08:25:07 +02:00
|
|
|
maintainers = with maintainers; [ abbradar jgeerds ];
|
2014-09-28 19:19:50 +02:00
|
|
|
platforms = platforms.linux;
|
2009-04-03 17:58:18 +02:00
|
|
|
};
|
|
|
|
}
|