2015-05-27 21:42:15 +02:00
|
|
|
{ fetchurl, stdenv, pkgconfig, intltool, libpulseaudio, gtkmm3
|
2018-02-25 03:23:58 +01:00
|
|
|
, libcanberra-gtk3, makeWrapper, gnome3 }:
|
2009-04-03 17:58:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-09 08:21:06 +01:00
|
|
|
pname = "pavucontrol";
|
|
|
|
version = "4.0";
|
2009-04-03 17:58:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-09 08:21:06 +01:00
|
|
|
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1qhlkl3g8d7h72xjskii3g1l7la2cavwp69909pzmbi2jyn5pi4g";
|
2009-04-03 17:58:18 +02:00
|
|
|
};
|
|
|
|
|
2014-12-22 11:40:51 +01:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/pavucontrol" \
|
2018-09-16 04:18:11 +02:00
|
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
2014-12-22 11:40:51 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
|
|
|
|
'';
|
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
buildInputs = [ libpulseaudio gtkmm3 libcanberra-gtk3 makeWrapper
|
2019-02-13 22:47:50 +01:00
|
|
|
gnome3.adwaita-icon-theme ];
|
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
|
|
|
|
2019-03-12 23:45:33 +01:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2014-09-28 19:19:50 +02:00
|
|
|
platforms = platforms.linux;
|
2009-04-03 17:58:18 +02:00
|
|
|
};
|
|
|
|
}
|