Phonon: style, +pulseaudio

svn path=/nixpkgs/trunk/; revision=32503
This commit is contained in:
Yury G. Kudryashov
2012-02-23 07:57:47 +00:00
parent e86e5db579
commit ddad8f0c02
3 changed files with 20 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, automoc4, qt4, xz }:
{ stdenv, fetchurl, cmake, automoc4, qt4, xz, pulseaudio }:
let
v = "4.6.0";
@@ -12,17 +12,10 @@ stdenv.mkDerivation rec {
sha256 = "2915e7a37c92a0a8237b9e6d2ef67ba8b005ee3529d03991cd3d137f039ba3c4";
};
buildInputs = [ qt4 ];
buildInputs = [ qt4 pulseaudio ];
buildNativeInputs = [ cmake automoc4 xz ];
cmakeFlags = "-DPHONON_MKSPECS_DIR=mkspecs";
preConfigure =
''
substituteInPlace designer/CMakeLists.txt \
--replace '{QT_PLUGINS_DIR}' '{CMAKE_INSTALL_PREFIX}/lib/qt4/plugins'
'';
meta = {
homepage = http://phonon.kde.org/;
description = "Multimedia API for Qt";