2012-02-23 07:57:47 +00:00
|
|
|
{ stdenv, fetchurl, xz, qt4, vlc, automoc4, cmake, phonon }:
|
2010-08-04 11:04:40 +01:00
|
|
|
|
|
|
|
let
|
2012-02-23 07:57:47 +00:00
|
|
|
pname = "phonon-backend-vlc";
|
2012-02-22 20:29:39 +00:00
|
|
|
v = "0.5.0";
|
2012-02-23 07:57:47 +00:00
|
|
|
vlc_ = vlc.override { inherit qt4; }; #Force using the same qt version
|
2010-08-04 11:04:40 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-02-23 07:57:47 +00:00
|
|
|
name = "${pname}-${v}";
|
2010-08-04 11:04:40 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-23 07:57:47 +00:00
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${v}/src/${pname}-${v}.tar.xz";
|
|
|
|
sha256 = "1233szd05ahaxyk1sjis374n90m40svfks2aq9jx3g3lxygzwmi2";
|
2010-08-04 11:04:40 +01:00
|
|
|
};
|
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake automoc4 xz ];
|
2012-02-23 07:57:47 +00:00
|
|
|
|
|
|
|
buildInputs = [ qt4 vlc_ phonon ];
|
2010-08-04 11:04:40 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "VideoLAN backend for Phonon multimedia framework";
|
2010-08-21 20:27:31 +01:00
|
|
|
inherit (qt4.meta) platforms;
|
2010-08-04 11:04:40 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|