32 lines
748 B
Nix
32 lines
748 B
Nix
{ stdenv, fetchurl, xz, vlc, cmake, pkgconfig, phonon, qtbase }:
|
|
|
|
with stdenv.lib;
|
|
|
|
let
|
|
pname = "phonon-backend-vlc";
|
|
v = "0.8.2";
|
|
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 qtbase ];
|
|
|
|
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;
|
|
};
|
|
}
|