svn merge ^/nixpkgs/trunk
Not merged r32497 (tree conflict, glibc GNU Hurd update). Ludovic, could you please look at this? svn path=/nixpkgs/branches/stdenv-updates/; revision=32520
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, cmake, automoc4, qt4 }:
|
||||
{ stdenv, fetchurl, cmake, automoc4, qt4, pulseaudio }:
|
||||
|
||||
let
|
||||
v = "4.5.1";
|
||||
v = "4.6.0";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -9,20 +9,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/phonon/${v}/src/${name}.tar.xz";
|
||||
sha256 = "1j7lw8w7h2z415vhbp2jlgv3mqwvrspf8xnzb8l0gsfanqfg1001";
|
||||
sha256 = "2915e7a37c92a0a8237b9e6d2ef67ba8b005ee3529d03991cd3d137f039ba3c4";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
buildInputs = [ qt4 pulseaudio ];
|
||||
|
||||
buildNativeInputs = [ cmake automoc4 ];
|
||||
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user