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