nixpkgs-suyu/pkgs/development/libraries/phonon-backend-vlc/default.nix
2014-01-19 18:00:05 +01:00

26 lines
701 B
Nix

{ stdenv, fetchurl, xz, qt4, vlc, automoc4, cmake, pkgconfig, phonon }:
let
pname = "phonon-backend-vlc";
v = "0.7.0";
vlc_ = vlc.override { inherit qt4; }; #Force using the same qt version
in
stdenv.mkDerivation {
name = "${pname}-${v}";
src = fetchurl {
url = "mirror://kde/stable/phonon/${pname}/${v}/src/${pname}-${v}.tar.xz";
sha256 = "1rhzc3d188l6ygxgfxwikscj71pyy0nchzikvkkq465r9ajavdgd";
};
nativeBuildInputs = [ cmake pkgconfig automoc4 xz ];
buildInputs = [ qt4 vlc_ phonon ];
meta = {
description = "VideoLAN backend for Phonon multimedia framework";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}