2021-12-06 16:07:01 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitLab
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, libvlc
|
2023-02-22 10:55:15 +00:00
|
|
|
, libv4l
|
2021-12-06 16:07:01 +00:00
|
|
|
, libX11
|
|
|
|
, kidletime
|
|
|
|
, kdelibs4support
|
|
|
|
, libXScrnSaver
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, qtx11extras
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kaffeine";
|
|
|
|
version = "2.0.18";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
repo = pname;
|
|
|
|
owner = "Multimedia";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-FOaS9gkzkHglbsNBNMwjzbHCNQg3Mbf+9so/Vfbaquc=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libvlc
|
2023-02-22 10:55:15 +00:00
|
|
|
libv4l
|
2021-12-06 16:07:01 +00:00
|
|
|
libX11
|
|
|
|
kidletime
|
|
|
|
qtx11extras
|
|
|
|
kdelibs4support
|
|
|
|
libXScrnSaver
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "KDE media player";
|
|
|
|
homepage = "https://apps.kde.org/kaffeine/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.pasqui23 ];
|
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "kaffeine";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|