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
|
|
|
|
}:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "phonon-backend-vlc";
|
|
|
|
version = "0.11.1";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://phonon.kde.org/";
|
|
|
|
description = "GStreamer backend for Phonon";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ bsd3 lgpl2Plus ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1vp52i5996khpxs233an7mlrzdji50gcs58ig8nrwfwlgyb1xnfc";
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
|
|
|
|
];
|
|
|
|
}
|