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
|
|
|
|
v = "4.4.1";
|
|
|
|
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";
|
|
|
|
sha256 = "0xsjbvpiqrsmqvxmhmjkwyhcxkajf1f78pg67kfwidaz9kkv0lla";
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
2010-05-08 19:03:07 +02:00
|
|
|
patches = [ ./phonon-4.4.1-gst-plugins-include.patch ];
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|