about summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.5/support/phonon/default.nix
blob: 7023e4ca490d7143dbdc9b77f61c2e4f6899a5f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, cmake, qt4, automoc4, pkgconfig
, libXau, libXdmcp, libpthreadstubs
, gstreamer, gstPluginsBase, xineLib, pulseaudio}:

let
  v = "4.4.2";
  stable = true;
in

stdenv.mkDerivation rec {
  name = "phonon-${v}";
  src = fetchurl {
    url = "mirror://kde/${if stable then "" else "un"}stable/phonon/${v}/${name}.tar.bz2";
    sha256 = "11ilv692yqzvk93y3n2zp9qvqc2xi0npz8vbqa1b60b268zlqh7i";
  };
  buildInputs = [ cmake qt4 libXau libXdmcp libpthreadstubs gstreamer
    gstPluginsBase xineLib automoc4 pulseaudio pkgconfig ];
  meta = with stdenv.lib; {
    platforms = platforms.linux;
    description = "KDE Multimedia API";
    longDescription = "KDE Multimedia API which abstracts over various backends such as GStreamer and Xine";
    license = "LGPL";
    homepage = http://phonon.kde.org;
    maintainers = [ maintainers.sander maintainers.urkud ];
  };
}