mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
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.2";
|
|
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 = "1acmbn8pmmq16gcz825dlzaf3haj6avp1bmcxzpkjd1fvxh86y0a";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|