plasma-phone-components: Init at 5.23.3

This commit is contained in:
Tyler Slabinski 2019-03-26 10:35:33 -04:00 committed by Samuel Dionne-Riel
parent b368c0dcca
commit 3ed0e42e0f
3 changed files with 45 additions and 0 deletions

View file

@ -134,6 +134,7 @@ let
milou = callPackage ./milou.nix {};
oxygen = callPackage ./oxygen.nix {};
plasma-browser-integration = callPackage ./plasma-browser-integration.nix {};
plasma-phone-components = callPackage ./plasma-phone-components {};
plasma-desktop = callPackage ./plasma-desktop {};
plasma-disks = callPackage ./plasma-disks.nix {};
plasma-integration = callPackage ./plasma-integration {};

View file

@ -0,0 +1,43 @@
{
mkDerivation, lib,
extra-cmake-modules, kdoctools,
coreutils, dbus, gnugrep, gnused, libdbusmenu, pam, wayland, appstream,
kdeclarative, kdelibs4support, kpeople, kconfig, krunner, kinit, kwayland, kwin,
plasma-framework, telepathy, libphonenumber, protobuf, libqofono, modemmanager-qt,
plasma-workspace,
maliit-framework, maliit-keyboard,
qtwayland, qttools
}:
let inherit (lib) getBin getLib; in
mkDerivation {
name = "plasma-phone-components";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
appstream libdbusmenu pam wayland
kdeclarative kdelibs4support kpeople kconfig krunner kinit kwayland kwin
plasma-framework telepathy libphonenumber protobuf libqofono modemmanager-qt
maliit-framework maliit-keyboard
];
postPatch = ''
substituteInPlace bin/kwinwrapper.in \
--replace @KDE_INSTALL_FULL_LIBEXECDIR@ "${plasma-workspace}/libexec"
substituteInPlace bin/plasma-mobile.desktop.cmake \
--replace @CMAKE_INSTALL_FULL_LIBEXECDIR@ "${plasma-workspace}/libexec"
'';
# Ensures dependencies like libqofono (at the very least) are present for the shell.
preFixup = ''
wrapQtApp "$out/bin/kwinwrapper"
'';
passthru.providedSessions = [ "plasma-mobile" ];
}

View file

@ -1214,6 +1214,7 @@ mapAliases ({
qqc2-breeze-style
sddm-kcm systemsettings
xdg-desktop-portal-kde
plasma-phone-components
;
inherit (plasma5Packages.thirdParty)
plasma-applet-caffeine-plus