nixpkgs/pkgs/desktops/kde-4.4/support/phonon/default.nix
Lluís Batlle i Rossell ce46e7ff63 Found a new phonon (in 'unstable'), and I think kde-4.4 should be able to link with it.
I updated gstreamer too, because this phonon was not finding a header file. As that
did not fix much the phonon build, I helped the generic builder with NIX_CFLAGS_COMPILER for
phonon to find the proper header files. Either the phonon cmake scripts don't find properly
the gstreamer plugins header file, or we install gstreamer in a strange way.

svn path=/nixpkgs/trunk/; revision=19974
2010-02-13 14:03:07 +00:00

22 lines
806 B
Nix

{ stdenv, fetchurl, lib, cmake, qt4
, libXau, libXdmcp, libpthreadstubs
, gst_all, xineLib, automoc4}:
stdenv.mkDerivation {
name = "phonon-4.3.80";
src = fetchurl {
url = mirror://kde/unstable/phonon/phonon-4.3.80.tar.bz2;
sha256 = "1v4ba2ddphkv0gjki5das5brd1wp4nf5ci73c7r1pnyp8mgjkjw9";
};
includeAllQtDirs=true;
NIX_CFLAGS_COMPILE = "-I${gst_all.gstPluginsBase}/include/${gst_all.prefix}";
buildInputs = [ cmake qt4 libXau libXdmcp libpthreadstubs gst_all.gstreamer gst_all.gstPluginsBase xineLib automoc4 ];
meta = {
description = "KDE Multimedia API";
longDescription = "KDE Multimedia API which abstracts over various backends such as GStreamer and Xine";
license = "LGPL";
homepage = http://phonon.kde.org;
maintainers = [ lib.maintainers.sander ];
};
}