3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/phonon/backends/vlc.nix

42 lines
872 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, cmake, phonon, pkg-config, libvlc
, extra-cmake-modules, qttools, qtbase, qtx11extras
, debug ? false
}:
2016-04-22 14:11:10 +01:00
stdenv.mkDerivation rec {
2016-04-22 14:11:10 +01:00
pname = "phonon-backend-vlc";
version = "0.11.2";
2016-04-22 14:11:10 +01:00
src = fetchurl {
url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-xsM7/GjRN/DlegKeS3mMu5D1Svb3Ma9JZ3hXeRzNU6U=";
2016-04-22 14:11:10 +01:00
};
buildInputs = [
phonon
2020-09-25 11:35:52 +01:00
libvlc
qtbase
qtx11extras
];
nativeBuildInputs = [
cmake
pkg-config
qttools
extra-cmake-modules
];
dontWrapQtApps = true;
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
];
2021-08-09 10:42:21 +01:00
meta = with lib; {
homepage = "https://phonon.kde.org/";
description = "GStreamer backend for Phonon";
platforms = platforms.linux;
license = with licenses; [ bsd3 lgpl2Plus ];
};
2016-04-22 14:11:10 +01:00
}