nixpkgs-suyu/pkgs/development/libraries/phonon-backend-vlc/qt5/default.nix
2015-02-21 11:39:20 -06:00

37 lines
882 B
Nix

{ stdenv, fetchurl, xz, vlc, cmake, pkgconfig, phonon_qt5, qt5 }:
with stdenv.lib;
let
pname = "phonon-backend-vlc";
v = "0.8.2";
# Force same Qt version in phonon and VLC
vlc_ = vlc.override {
inherit qt5;
qt4 = null;
withQt5 = true;
};
in
stdenv.mkDerivation {
name = "${pname}-${v}";
src = fetchurl {
url = "mirror://kde/stable/phonon/${pname}/${v}/src/${pname}-${v}.tar.xz";
sha256 = "18ysdga681my75lxxv5h242pa4qappvg5z73wnc0ks9yypnzidys";
};
nativeBuildInputs = [ cmake pkgconfig xz ];
buildInputs = [ vlc_ phonon_qt5 qt5.base ];
cmakeFlags = ["-DPHONON_BUILD_PHONON4QT5=ON"];
meta = {
homepage = http://phonon.kde.org/;
description = "VideoLAN backend for Phonon multimedia framework";
platforms = platforms.linux;
maintainers = with maintainers; [ ttuegel urkud ];
license = licenses.lgpl21Plus;
};
}