2012-02-23 20:06:21 +00:00
|
|
|
{ stdenv, fetchurl, cmake, automoc4, qt4, pulseaudio }:
|
2011-11-07 21:14:00 +00:00
|
|
|
|
|
|
|
let
|
2012-02-22 20:29:36 +00:00
|
|
|
v = "4.6.0";
|
2011-11-07 21:14:00 +00:00
|
|
|
in
|
2011-07-17 15:10:41 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-11-07 21:14:00 +00:00
|
|
|
name = "phonon-${v}";
|
2011-07-17 15:10:41 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-11-07 21:14:00 +00:00
|
|
|
url = "mirror://kde/stable/phonon/${v}/src/${name}.tar.xz";
|
2012-02-22 20:29:36 +00:00
|
|
|
sha256 = "2915e7a37c92a0a8237b9e6d2ef67ba8b005ee3529d03991cd3d137f039ba3c4";
|
2011-07-17 15:10:41 +01:00
|
|
|
};
|
|
|
|
|
2012-02-23 07:57:47 +00:00
|
|
|
buildInputs = [ qt4 pulseaudio ];
|
2011-11-07 21:14:00 +00:00
|
|
|
|
2012-01-18 20:53:01 +00:00
|
|
|
buildNativeInputs = [ cmake automoc4 ];
|
2011-07-17 15:10:41 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://phonon.kde.org/;
|
|
|
|
description = "Multimedia API for Qt";
|
|
|
|
license = "LGPLv2";
|
2011-07-29 09:45:58 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-07-17 15:10:41 +01:00
|
|
|
};
|
|
|
|
}
|