2010-05-08 19:03:07 +02:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, automoc4, pkgconfig
|
2010-02-10 16:06:50 +01:00
|
|
|
, libXau, libXdmcp, libpthreadstubs
|
2010-05-08 19:03:07 +02:00
|
|
|
, gstreamer, gstPluginsBase, xineLib, pulseaudio}:
|
2010-02-10 16:06:50 +01:00
|
|
|
|
2010-05-08 19:03:07 +02:00
|
|
|
let
|
2010-06-21 21:25:20 +02:00
|
|
|
v = "4.4.2";
|
2010-05-08 19:03:07 +02:00
|
|
|
stable = true;
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "phonon-${v}";
|
2010-02-10 16:06:50 +01:00
|
|
|
src = fetchurl {
|
2010-05-08 19:03:07 +02:00
|
|
|
url = "mirror://kde/${if stable then "" else "un"}stable/phonon/${v}/${name}.tar.bz2";
|
2010-06-21 21:25:20 +02:00
|
|
|
sha256 = "11ilv692yqzvk93y3n2zp9qvqc2xi0npz8vbqa1b60b268zlqh7i";
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
2010-05-08 19:03:07 +02:00
|
|
|
buildInputs = [ cmake qt4 libXau libXdmcp libpthreadstubs gstreamer
|
|
|
|
gstPluginsBase xineLib automoc4 pulseaudio pkgconfig ];
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
2010-02-10 16:06:50 +01:00
|
|
|
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;
|
2010-05-08 19:03:07 +02:00
|
|
|
maintainers = [ maintainers.sander maintainers.urkud ];
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
|
|
|
}
|