2014-01-19 16:56:46 +00:00
|
|
|
{ stdenv, fetchurl, xz, qt4, vlc, automoc4, cmake, pkgconfig, phonon }:
|
2010-08-04 10:04:40 +00:00
|
|
|
|
|
|
|
let
|
2012-02-23 07:57:47 +00:00
|
|
|
pname = "phonon-backend-vlc";
|
2013-12-04 06:26:13 +00:00
|
|
|
v = "0.7.0";
|
2012-02-23 07:57:47 +00:00
|
|
|
vlc_ = vlc.override { inherit qt4; }; #Force using the same qt version
|
2010-08-04 10:04:40 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-02-23 07:57:47 +00:00
|
|
|
name = "${pname}-${v}";
|
2010-08-04 10:04:40 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-23 07:57:47 +00:00
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${v}/src/${pname}-${v}.tar.xz";
|
2013-12-04 06:26:13 +00:00
|
|
|
sha256 = "1rhzc3d188l6ygxgfxwikscj71pyy0nchzikvkkq465r9ajavdgd";
|
2010-08-04 10:04:40 +00:00
|
|
|
};
|
|
|
|
|
2014-01-19 16:56:46 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig automoc4 xz ];
|
2012-02-23 07:57:47 +00:00
|
|
|
|
|
|
|
buildInputs = [ qt4 vlc_ phonon ];
|
2010-08-04 10:04:40 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "VideoLAN backend for Phonon multimedia framework";
|
2013-10-07 15:36:47 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-08-04 10:04:40 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|