mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
43 lines
781 B
Nix
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" ];
|
|
}
|