nixpkgs/pkgs/development/libraries/phonon/backends/vlc.nix

42 lines
855 B
Nix
Raw Normal View History

2016-04-22 14:11:10 +01:00
{ stdenv, lib, fetchurl, cmake, phonon, pkgconfig, vlc
, extra-cmake-modules, qttools, qtbase, qtx11extras
, debug ? false
}:
2016-04-22 14:11:10 +01:00
with lib;
stdenv.mkDerivation rec {
2016-04-22 14:11:10 +01:00
pname = "phonon-backend-vlc";
version = "0.11.1";
2016-04-22 14:11:10 +01:00
meta = with stdenv.lib; {
homepage = https://phonon.kde.org/;
2016-04-22 14:11:10 +01:00
description = "GStreamer backend for Phonon";
platforms = platforms.linux;
2018-10-25 21:19:19 +01:00
license = with licenses; [ bsd3 lgpl2Plus ];
2016-04-22 14:11:10 +01:00
};
src = fetchurl {
url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "1vp52i5996khpxs233an7mlrzdji50gcs58ig8nrwfwlgyb1xnfc";
2016-04-22 14:11:10 +01:00
};
buildInputs = [
phonon
vlc
qtbase
qtx11extras
];
nativeBuildInputs = [
cmake
pkgconfig
qttools
extra-cmake-modules
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
];
2016-04-22 14:11:10 +01:00
}