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