2022-06-14 16:07:24 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchgit
|
2022-06-14 16:20:03 +00:00
|
|
|
, qmake
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, qtbase
|
2019-10-01 18:08:45 +00:00
|
|
|
, xorg
|
|
|
|
}:
|
|
|
|
|
2024-02-19 15:47:20 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-10-01 18:08:45 +00:00
|
|
|
pname = "qremotecontrol-server";
|
2022-06-14 16:20:03 +00:00
|
|
|
version = "unstable-2014-11-05"; # basically 2.4.2 + qt5
|
2019-10-01 18:08:45 +00:00
|
|
|
|
2022-06-14 16:07:24 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.code.sf.net/p/qrc/gitcode";
|
2022-06-14 16:20:03 +00:00
|
|
|
rev = "8f1c55eac10ac8af974c3c20157d90ef57f7308a";
|
|
|
|
sha256 = "sha256-AfFScec5/emG/f+yc5Zn37USIEWzGP/sBifE6Kx8d0E=";
|
2019-10-01 18:08:45 +00:00
|
|
|
};
|
|
|
|
|
2022-06-14 16:20:03 +00:00
|
|
|
patches = [
|
|
|
|
./0001-fix-qt5-build-include-QDataStream.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
xorg.libXtst
|
|
|
|
];
|
2019-10-01 18:08:45 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace QRemoteControl-Server.pro \
|
|
|
|
--replace /usr $out
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-01 18:08:45 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
2022-06-14 16:20:03 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/qrc/";
|
2019-10-01 18:08:45 +00:00
|
|
|
description = "Remote control your desktop from your mobile";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "qremotecontrol-server";
|
2019-10-01 18:08:45 +00:00
|
|
|
longDescription = ''
|
|
|
|
With QRemoteControl installed on your desktop you can easily control
|
|
|
|
your computer via WiFi from your mobile. By using the touch pad of your
|
|
|
|
Phone you can for example open the internet browser and navigate to
|
|
|
|
the pages you want to visit, use the music player or your media center
|
|
|
|
without being next to your PC or laptop. Summarizing QRemoteControl
|
|
|
|
allows you to do almost everything you would be able to do with a
|
|
|
|
mouse and a keyboard, but from a greater distance. To make these
|
|
|
|
replacements possible QRemoteControl offers you a touch pad, a
|
|
|
|
keyboard, multimedia keys and buttons for starting applications. Even
|
|
|
|
powering on the computer via Wake On Lan is supported.
|
|
|
|
'';
|
2022-12-06 20:47:40 +00:00
|
|
|
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
|
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
2019-10-01 18:08:45 +00:00
|
|
|
};
|
|
|
|
}
|