2020-12-28 17:17:29 +00:00
|
|
|
{ fetchurl, fetchpatch, stdenv, pkgconfig, intltool, libpulseaudio,
|
|
|
|
gtkmm3 , libcanberra-gtk3, gnome3, wrapGAppsHook }:
|
2009-04-03 16:58:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-09 07:21:06 +00:00
|
|
|
pname = "pavucontrol";
|
|
|
|
version = "4.0";
|
2009-04-03 16:58:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-09 07:21:06 +00:00
|
|
|
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1qhlkl3g8d7h72xjskii3g1l7la2cavwp69909pzmbi2jyn5pi4g";
|
2009-04-03 16:58:18 +01:00
|
|
|
};
|
|
|
|
|
2020-12-28 17:17:29 +00:00
|
|
|
patches = [
|
|
|
|
# Can be removed with the next version bump
|
|
|
|
# https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/20
|
|
|
|
(fetchpatch {
|
|
|
|
name = "streamwidget-fix-drop-down-wayland.patch";
|
|
|
|
url = "https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/ae278b8643cf1089f66df18713c8154208d9a505.patch";
|
|
|
|
sha256 = "066vhxjz6gmi2sp2n4pa1cdsxjnq6yml5js094g5n7ld34p84dpj";
|
|
|
|
})];
|
|
|
|
|
2019-11-17 11:11:21 +00:00
|
|
|
buildInputs = [ libpulseaudio gtkmm3 libcanberra-gtk3
|
2019-02-13 21:47:50 +00:00
|
|
|
gnome3.adwaita-icon-theme ];
|
2009-04-03 16:58:18 +01:00
|
|
|
|
2019-11-17 11:11:21 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
|
2009-04-03 17:58:07 +01:00
|
|
|
|
2014-09-28 18:19:50 +01:00
|
|
|
configureFlags = [ "--disable-lynx" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-04-03 16:58:18 +01:00
|
|
|
description = "PulseAudio Volume Control";
|
|
|
|
|
|
|
|
longDescription = ''
|
2019-09-03 23:49:40 +01:00
|
|
|
PulseAudio Volume Control (pavucontrol) provides a GTK
|
2009-04-03 16:58:18 +01:00
|
|
|
graphical user interface to connect to a PulseAudio server and
|
|
|
|
easily control the volume of all clients, sinks, etc.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://freedesktop.org/software/pulseaudio/pavucontrol/";
|
2009-04-03 16:58:18 +01:00
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-03-03 14:27:22 +00:00
|
|
|
|
2019-08-20 18:36:05 +01:00
|
|
|
maintainers = with maintainers; [ abbradar globin ];
|
2014-09-28 18:19:50 +01:00
|
|
|
platforms = platforms.linux;
|
2009-04-03 16:58:18 +01:00
|
|
|
};
|
|
|
|
}
|