2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, lib, fetchurl, cmake, phonon, pkg-config, libvlc
|
2020-04-24 23:36:52 +00:00
|
|
|
, extra-cmake-modules, qttools, qtbase, qtx11extras
|
|
|
|
, debug ? false
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "phonon-backend-vlc";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "0.11.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-Xmn97MsGDH5rWSTO8uZb7loIrOQScAW5U0TtMHfcY5c=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
phonon
|
2020-10-07 09:15:18 +00:00
|
|
|
libvlc
|
2020-04-24 23:36:52 +00:00
|
|
|
qtbase
|
|
|
|
qtx11extras
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
qttools
|
|
|
|
extra-cmake-modules
|
|
|
|
];
|
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
cmakeBuildType = if debug then "Debug" else "Release";
|
2021-08-10 14:31:46 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-03-05 16:20:37 +00:00
|
|
|
homepage = "https://community.kde.org/Phonon";
|
|
|
|
# Dev repo is at https://invent.kde.org/libraries/phonon-vlc
|
2021-08-10 14:31:46 +00:00
|
|
|
description = "GStreamer backend for Phonon";
|
|
|
|
platforms = platforms.linux;
|
2022-03-05 16:20:37 +00:00
|
|
|
license = with licenses; [ bsd3 lgpl21Plus ];
|
2021-08-10 14:31:46 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|