depot/third_party/nixpkgs/pkgs/desktops/plasma-5/plasma-bigscreen.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

47 lines
906 B
Nix

{ mkDerivation
, extra-cmake-modules
, kactivities
, kactivities-stats
, plasma-framework
, ki18n
, kirigami2
, kdeclarative
, kcmutils
, knotifications
, kio
, kwayland
, kwindowsystem
, plasma-workspace
, qtmultimedia
}:
mkDerivation {
pname = "plasma-bigscreen";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kactivities
kactivities-stats
plasma-framework
ki18n
kirigami2
kdeclarative
kcmutils
knotifications
kio
kwayland
kwindowsystem
plasma-workspace
qtmultimedia
];
postPatch = ''
substituteInPlace bin/plasma-bigscreen-wayland.in \
--replace @KDE_INSTALL_FULL_LIBEXECDIR@ "${plasma-workspace}/libexec"
'';
preFixup = ''
wrapQtApp $out/bin/plasma-bigscreen-x11
wrapQtApp $out/bin/plasma-bigscreen-wayland
'';
passthru.providedSessions = [ "plasma-bigscreen-x11" "plasma-bigscreen-wayland" ];
}