2019-08-06 19:25:59 +01:00
|
|
|
{ mkDerivation
|
2016-02-19 14:12:08 +00:00
|
|
|
, lib
|
|
|
|
, fetchurl
|
2020-10-08 20:14:03 +01:00
|
|
|
, fetchpatch
|
2016-02-19 14:12:08 +00:00
|
|
|
, extra-cmake-modules
|
|
|
|
, kcmutils
|
|
|
|
, kconfigwidgets
|
|
|
|
, kdbusaddons
|
2017-10-13 13:20:39 +01:00
|
|
|
, kdoctools
|
2016-02-19 14:12:08 +00:00
|
|
|
, kiconthemes
|
|
|
|
, ki18n
|
|
|
|
, knotifications
|
|
|
|
, qca-qt5
|
|
|
|
, libfakekey
|
|
|
|
, libXtst
|
2017-06-25 08:48:38 +01:00
|
|
|
, qtx11extras
|
2020-10-08 20:14:03 +01:00
|
|
|
, qtmultimedia
|
|
|
|
, qtgraphicaleffects
|
2018-01-05 16:03:44 +00:00
|
|
|
, sshfs
|
|
|
|
, makeWrapper
|
2018-04-11 03:16:28 +01:00
|
|
|
, kwayland
|
2019-11-20 12:13:09 +00:00
|
|
|
, kio
|
2020-10-08 20:14:03 +01:00
|
|
|
, kpeoplevcard
|
|
|
|
, kpeople
|
|
|
|
, kirigami2
|
|
|
|
, pulseaudio-qt
|
2014-11-03 20:55:33 +00:00
|
|
|
}:
|
2014-06-22 09:56:43 +01:00
|
|
|
|
2019-08-06 19:25:59 +01:00
|
|
|
mkDerivation rec {
|
2017-10-10 19:30:34 +01:00
|
|
|
pname = "kdeconnect";
|
2020-10-08 20:14:03 +01:00
|
|
|
version = "20.08.1";
|
2014-06-22 09:56:43 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-10-08 20:14:03 +01:00
|
|
|
url = "https://download.kde.org/stable/release-service/${version}/src/${pname}-kde-${version}.tar.xz";
|
|
|
|
sha256 = "0s76djgpx08jfmh99c7kx18mnr3w7bv4hdra120nicq89mmy7gwf";
|
2014-06-22 09:56:43 +01:00
|
|
|
};
|
|
|
|
|
2020-10-08 20:14:03 +01:00
|
|
|
patches = [
|
|
|
|
# https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/328
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://invent.kde.org/network/kdeconnect-kde/-/commit/6101ef3ad07d865958d58a3d2736f5536f1c5719.diff";
|
|
|
|
sha256 = "17mr7k13226vzcgxlmfs6q2mdc5j7vwp4iri9apmh6xlf6r591ac";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-02-19 14:12:08 +00:00
|
|
|
buildInputs = [
|
2020-10-08 20:14:03 +01:00
|
|
|
libfakekey
|
|
|
|
libXtst
|
|
|
|
qtmultimedia
|
|
|
|
qtgraphicaleffects
|
|
|
|
pulseaudio-qt
|
|
|
|
kpeoplevcard
|
|
|
|
kpeople
|
|
|
|
kirigami2
|
|
|
|
ki18n
|
|
|
|
kiconthemes
|
|
|
|
kcmutils
|
|
|
|
kconfigwidgets
|
|
|
|
kdbusaddons
|
|
|
|
knotifications
|
|
|
|
qca-qt5
|
|
|
|
qtx11extras
|
|
|
|
makeWrapper
|
|
|
|
kwayland
|
|
|
|
kio
|
2016-02-19 14:12:08 +00:00
|
|
|
];
|
2015-09-27 16:11:01 +01:00
|
|
|
|
2017-10-13 13:20:39 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2014-06-22 09:56:43 +01:00
|
|
|
|
2018-01-05 16:03:44 +00:00
|
|
|
postInstall = ''
|
2019-07-21 15:25:58 +01:00
|
|
|
wrapProgram $out/libexec/kdeconnectd --prefix PATH : ${lib.makeBinPath [ sshfs ]}
|
2018-01-05 16:03:44 +00:00
|
|
|
'';
|
|
|
|
|
2017-10-13 13:20:39 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2016-02-19 14:12:08 +00:00
|
|
|
description = "KDE Connect provides several features to integrate your phone and your computer";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://community.kde.org/KDEConnect";
|
2017-10-13 13:20:39 +01:00
|
|
|
license = with licenses; [ gpl2 ];
|
|
|
|
maintainers = with maintainers; [ fridh ];
|
2014-06-22 09:56:43 +01:00
|
|
|
};
|
|
|
|
}
|