mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
03c9791e0a
Commented on 86f7aec950 (commitcomment-5111284)
27 lines
701 B
Nix
27 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 ];
|
|
};
|
|
}
|