Merge pull request #4309 from abbradar/paprefs

added "paprefs" package, adopted pavucontrol
This commit is contained in:
Mateusz Kowalczyk 2014-09-28 22:50:55 +01:00
commit 8e876eb395
3 changed files with 46 additions and 8 deletions

View File

@ -0,0 +1,33 @@
{ fetchurl, stdenv, pkgconfig, pulseaudio, gtkmm, libglademm
, dbus_glib, gconfmm, intltool }:
stdenv.mkDerivation rec {
name = "paprefs-0.9.10";
src = fetchurl {
url = "http://freedesktop.org/software/pulseaudio/paprefs/${name}.tar.xz";
sha256 = "1c5b3sb881szavly220q31g7rvpn94wr7ywlk00hqb9zaikml716";
};
buildInputs = [ pulseaudio gtkmm libglademm dbus_glib gconfmm ];
nativeBuildInputs = [ pkgconfig intltool ];
configureFlags = [ "--disable-lynx" ];
meta = with stdenv.lib; {
description = "PulseAudio Preferences";
longDescription = ''
PulseAudio Preferences (paprefs) is a simple GTK based configuration
dialog for the PulseAudio sound server.
'';
homepage = http://freedesktop.org/software/pulseaudio/paprefs/ ;
license = licenses.gpl2Plus;
maintainers = [ maintainers.abbradar ];
platforms = platforms.linux;
};
}

View File

@ -1,5 +1,5 @@
{ fetchurl, stdenv, pkgconfig, pulseaudio, gtkmm3
, libcanberra_gtk3, intltool, gettext }:
{ fetchurl, stdenv, pkgconfig, intltool, pulseaudio, gtkmm3
, libcanberra_gtk3 }:
stdenv.mkDerivation rec {
name = "pavucontrol-2.0";
@ -9,12 +9,13 @@ stdenv.mkDerivation rec {
sha256 = "02s775m1531sshwlbvfddk3pz8zjmwkv1sgzggn386ja3gc9vwi2";
};
buildInputs = [ pkgconfig pulseaudio gtkmm3 libcanberra_gtk3
intltool gettext ];
buildInputs = [ pulseaudio gtkmm3 libcanberra_gtk3 ];
configureFlags = "--disable-lynx";
nativeBuildInputs = [ pkgconfig intltool ];
meta = {
configureFlags = [ "--disable-lynx" ];
meta = with stdenv.lib; {
description = "PulseAudio Volume Control";
longDescription = ''
@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
maintainers = [ maintainers.abbradar ];
platforms = platforms.linux;
};
}

View File

@ -9892,6 +9892,10 @@ let
panotools = callPackage ../applications/graphics/panotools { };
paprefs = callPackage ../applications/audio/paprefs {
inherit (gnome) libglademm gconfmm;
};
pavucontrol = callPackage ../applications/audio/pavucontrol { };
paraview = callPackage ../applications/graphics/paraview { };