Files
nixpkgs/pkgs/kde/plasma/plasma-bigscreen/default.nix
2026-07-01 20:29:26 +02:00

43 lines
781 B
Nix

{
lib,
mkKdeDerivation,
plasma-workspace,
pkg-config,
qtwebengine,
libcec,
libcec_platform,
sdl3,
}:
mkKdeDerivation {
pname = "plasma-bigscreen";
postPatch = ''
substituteInPlace bin/plasma-bigscreen-wayland.in \
--replace-fail @KDE_INSTALL_FULL_LIBEXECDIR@ "${plasma-workspace}/libexec"
substituteInPlace bin/plasma-bigscreen-wayland.desktop.cmake \
--replace-fail @CMAKE_INSTALL_FULL_LIBEXECDIR@ "${plasma-workspace}/libexec"
'';
extraCmakeFlags = [
(lib.cmakeBool "QT_FIND_PRIVATE_MODULES" true)
];
extraNativeBuildInputs = [
pkg-config
];
extraBuildInputs = [
qtwebengine
libcec
libcec_platform
sdl3
];
dontQmlLint = true;
passthru.providedSessions = [ "plasma-bigscreen-wayland" ];
}