2020-09-25 11:35:52 +01:00
|
|
|
{ stdenv, lib, fetchurl, cmake, phonon, pkgconfig, libvlc
|
2019-11-21 20:12:55 +00:00
|
|
|
, extra-cmake-modules, qttools, qtbase, qtx11extras
|
2016-07-29 16:29:41 +01:00
|
|
|
, debug ? false
|
|
|
|
}:
|
2016-04-22 14:11:10 +01:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2019-11-21 20:12:55 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-04-22 14:11:10 +01:00
|
|
|
pname = "phonon-backend-vlc";
|
2019-11-21 20:12:55 +00:00
|
|
|
version = "0.11.1";
|
2016-04-22 14:11:10 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
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 {
|
2019-11-21 20:12:55 +00:00
|
|
|
url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1vp52i5996khpxs233an7mlrzdji50gcs58ig8nrwfwlgyb1xnfc";
|
2016-04-22 14:11:10 +01:00
|
|
|
};
|
|
|
|
|
2019-11-21 20:12:55 +00:00
|
|
|
buildInputs = [
|
|
|
|
phonon
|
2020-09-25 11:35:52 +01:00
|
|
|
libvlc
|
2019-11-21 20:12:55 +00:00
|
|
|
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
|
|
|
}
|