mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Merge pull request #177662 from fgaz/qremotecontrol-server/2.4.2
This commit is contained in:
commit
fb687f6034
@ -0,0 +1,26 @@
|
||||
From 922d3dd36ac72b29ea21c4c728a922b43b19400e Mon Sep 17 00:00:00 2001
|
||||
From: Francesco Gazzetta <fgaz@fgaz.me>
|
||||
Date: Tue, 14 Jun 2022 17:55:43 +0200
|
||||
Subject: [PATCH] Another Qt5 fix
|
||||
|
||||
---
|
||||
qtsingleapplication/qtlocalpeer.cpp | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/qtsingleapplication/qtlocalpeer.cpp b/qtsingleapplication/qtlocalpeer.cpp
|
||||
index 4a84036..e6ccc72 100644
|
||||
--- a/qtsingleapplication/qtlocalpeer.cpp
|
||||
+++ b/qtsingleapplication/qtlocalpeer.cpp
|
||||
@@ -41,6 +41,9 @@
|
||||
|
||||
#include "qtlocalpeer.h"
|
||||
#include <QCoreApplication>
|
||||
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||
+#include <QDataStream>
|
||||
+#endif
|
||||
#include <QTime>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
--
|
||||
2.36.0
|
||||
|
@ -1,21 +1,35 @@
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, qmake4Hook
|
||||
, qt4
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, qmake
|
||||
, wrapQtAppsHook
|
||||
, qtbase
|
||||
, xorg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qremotecontrol-server";
|
||||
version = "2.4.1";
|
||||
version = "unstable-2014-11-05"; # basically 2.4.2 + qt5
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/qrc/${version}/qremotecontrol-${version}.tar.bz2";
|
||||
sha256 = "07hzc9959a56b49jgmcv8ry8b9sppklvqs9kns3qjj3v9d22nbrp";
|
||||
src = fetchgit {
|
||||
url = "https://git.code.sf.net/p/qrc/gitcode";
|
||||
rev = "8f1c55eac10ac8af974c3c20157d90ef57f7308a";
|
||||
sha256 = "sha256-AfFScec5/emG/f+yc5Zn37USIEWzGP/sBifE6Kx8d0E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
buildInputs = [ qt4 xorg.libXtst ];
|
||||
patches = [
|
||||
./0001-fix-qt5-build-include-QDataStream.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
xorg.libXtst
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace QRemoteControl-Server.pro \
|
||||
@ -26,8 +40,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
homepage = "https://qremote.org/";
|
||||
downloadPage = "https://qremote.org/download.php#Download";
|
||||
homepage = "https://sourceforge.net/projects/qrc/";
|
||||
description = "Remote control your desktop from your mobile";
|
||||
longDescription = ''
|
||||
With QRemoteControl installed on your desktop you can easily control
|
||||
@ -43,4 +56,3 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -22965,7 +22965,7 @@ with pkgs;
|
||||
|
||||
qpid-cpp = callPackage ../servers/amqp/qpid-cpp { };
|
||||
|
||||
qremotecontrol-server = callPackage ../servers/misc/qremotecontrol-server { };
|
||||
qremotecontrol-server = libsForQt5.callPackage ../servers/misc/qremotecontrol-server { };
|
||||
|
||||
rabbitmq-server = callPackage ../servers/amqp/rabbitmq-server {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa;
|
||||
|
Loading…
Reference in New Issue
Block a user