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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
947 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.3";
2016-04-22 14:11:10 +01:00
src = fetchurl {
url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-Xmn97MsGDH5rWSTO8uZb7loIrOQScAW5U0TtMHfcY5c=";
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://community.kde.org/Phonon";
# Dev repo is at https://invent.kde.org/libraries/phonon-vlc
2021-08-09 10:42:21 +01:00
description = "GStreamer backend for Phonon";
platforms = platforms.linux;
license = with licenses; [ bsd3 lgpl21Plus ];
2021-08-09 10:42:21 +01:00
};
2016-04-22 14:11:10 +01:00
}