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