2021-10-06 13:57:05 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
, callaudiod
|
2021-10-06 13:57:05 +00:00
|
|
|
, kcontacts
|
|
|
|
, kcoreaddons
|
|
|
|
, kdbusaddons
|
|
|
|
, ki18n
|
2022-10-21 18:38:19 +00:00
|
|
|
, kio
|
2021-10-06 13:57:05 +00:00
|
|
|
, kirigami2
|
|
|
|
, knotifications
|
|
|
|
, kpeople
|
|
|
|
, libphonenumber
|
2022-10-21 18:38:19 +00:00
|
|
|
, libselinux
|
|
|
|
, libsepol
|
2022-05-18 14:49:53 +00:00
|
|
|
, modemmanager-qt
|
2022-10-21 18:38:19 +00:00
|
|
|
, pcre
|
|
|
|
, plasma-wayland-protocols
|
2021-10-06 13:57:05 +00:00
|
|
|
, protobuf
|
2022-10-21 18:38:19 +00:00
|
|
|
, pulseaudio-qt
|
2022-05-18 14:49:53 +00:00
|
|
|
, qtfeedback
|
|
|
|
, qtmpris
|
2021-10-06 13:57:05 +00:00
|
|
|
, qtquickcontrols2
|
2022-10-21 18:38:19 +00:00
|
|
|
, util-linux
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
2021-10-06 13:57:05 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "plasma-dialer";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-05-18 14:49:53 +00:00
|
|
|
callaudiod
|
2021-10-06 13:57:05 +00:00
|
|
|
kcontacts
|
|
|
|
kcoreaddons
|
|
|
|
kdbusaddons
|
|
|
|
ki18n
|
2022-10-21 18:38:19 +00:00
|
|
|
kio
|
2021-10-06 13:57:05 +00:00
|
|
|
kirigami2
|
|
|
|
knotifications
|
|
|
|
kpeople
|
|
|
|
libphonenumber
|
2022-10-21 18:38:19 +00:00
|
|
|
libselinux
|
|
|
|
libsepol
|
2022-05-18 14:49:53 +00:00
|
|
|
modemmanager-qt
|
2022-10-21 18:38:19 +00:00
|
|
|
pcre
|
|
|
|
plasma-wayland-protocols
|
2021-10-06 13:57:05 +00:00
|
|
|
protobuf # Needed by libphonenumber
|
2022-10-21 18:38:19 +00:00
|
|
|
pulseaudio-qt
|
2022-05-18 14:49:53 +00:00
|
|
|
qtfeedback
|
|
|
|
qtmpris
|
2021-10-06 13:57:05 +00:00
|
|
|
qtquickcontrols2
|
2022-10-21 18:38:19 +00:00
|
|
|
util-linux
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace plasma-dialer/org.kde.phone.dialer.desktop \
|
|
|
|
--replace "/usr/bin/" "$out/bin/"
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Plasma gear 22.09 shipped before KWin 5.26 was made available.
|
|
|
|
# This feature requires 5.26. Otherwise plasma-dialer segfaults.
|
|
|
|
# Note that we may need to keep it disabled until it stops segfaulting outside of KWin.
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DDIALER_BUILD_SHELL_OVERLAY=OFF"
|
2021-10-06 13:57:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Dialer for Plasma Mobile";
|
|
|
|
homepage = "https://invent.kde.org/plasma-mobile/plasma-dialer";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ samueldr ];
|
|
|
|
};
|
|
|
|
}
|