mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
e482393ad1
add that as well. Maybe we should build Qt without Phonon to remove potential interference... svn path=/nixpkgs/branches/kde-4.7/; revision=27810
27 lines
696 B
Nix
27 lines
696 B
Nix
{ stdenv, fetchurl, cmake, automoc4, qt4 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "phonon-4.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/phonon/4.5.0/src/${name}.tar.bz2";
|
|
sha256 = "1p2jhxx3ij9xqxvzdz6fm14b83iag9sk940clgj5jnnw00x93s36";
|
|
};
|
|
|
|
buildInputs = [ cmake automoc4 qt4 ];
|
|
|
|
preConfigure =
|
|
''
|
|
substituteInPlace CMakeLists.txt \
|
|
--replace 'PHONON_MKSPECS_DIR}' 'CMAKE_INSTALL_PREFIX}/mkspecs'
|
|
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";
|
|
license = "LGPLv2";
|
|
};
|
|
}
|