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
21
cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1";
22
0
0
23
postPatch = ''
24
${lib.optionalString stdenv.isLinux ''
25
substituteInPlace includes/platforms/linux/posixUtils.hpp \
···
43
44
runHook postInstall
45
'';
0
0
46
47
meta = with lib; {
48
homepage = https://github.com/sieren/QSyncthingTray/;
···
20
21
cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1";
22
23
+
patches = [ ./qsyncthingtray-0.5.8-qt-5.6.3.patch ];
24
+
25
postPatch = ''
26
${lib.optionalString stdenv.isLinux ''
27
substituteInPlace includes/platforms/linux/posixUtils.hpp \
···
45
46
runHook postInstall
47
'';
48
+
49
+
enableParallelBuilding = true;
50
51
meta = with lib; {
52
homepage = https://github.com/sieren/QSyncthingTray/;
+13
pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+
index b778d09..247b606 100644
3
+
--- a/CMakeLists.txt
4
+
+++ b/CMakeLists.txt
5
+
@@ -12,7 +12,7 @@ set(CMAKE_AUTOMOC ON)
6
+
7
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
8
+
9
+
-find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport)
10
+
+find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport WebEngineWidgets)
11
+
if (NOT Qt5_FOUND)
12
+
message(FATAL_ERROR
13
+
"Some components of Qt5 not found (see above messages for details. "