tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
qsyncthingtray: fix build
Orivej Desh
8 years ago
37215ff7
031367af
+17
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
qsyncthingtray
default.nix
qsyncthingtray-0.5.8-qt-5.6.3.patch
+4
pkgs/applications/misc/qsyncthingtray/default.nix
···
20
20
21
21
cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1";
22
22
23
23
+
patches = [ ./qsyncthingtray-0.5.8-qt-5.6.3.patch ];
24
24
+
23
25
postPatch = ''
24
26
${lib.optionalString stdenv.isLinux ''
25
27
substituteInPlace includes/platforms/linux/posixUtils.hpp \
···
43
45
44
46
runHook postInstall
45
47
'';
48
48
+
49
49
+
enableParallelBuilding = true;
46
50
47
51
meta = with lib; {
48
52
homepage = https://github.com/sieren/QSyncthingTray/;
+13
pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch
···
1
1
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2
2
+
index b778d09..247b606 100644
3
3
+
--- a/CMakeLists.txt
4
4
+
+++ b/CMakeLists.txt
5
5
+
@@ -12,7 +12,7 @@ set(CMAKE_AUTOMOC ON)
6
6
+
7
7
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
8
8
+
9
9
+
-find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport)
10
10
+
+find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport WebEngineWidgets)
11
11
+
if (NOT Qt5_FOUND)
12
12
+
message(FATAL_ERROR
13
13
+
"Some components of Qt5 not found (see above messages for details. "