diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-17 03:05:30 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-11-17 03:06:05 +0000 |
commit | 37215ff7abf75fa5731994119d296ac1346555f1 (patch) | |
tree | 31060e94551490322f0035c933695b3ad0668343 /pkgs/applications/misc/qsyncthingtray | |
parent | 031367af2bf3c02cb2d4d2784abbefdfc037cbf9 (diff) | |
download | nixpkgs-37215ff7abf75fa5731994119d296ac1346555f1.tar nixpkgs-37215ff7abf75fa5731994119d296ac1346555f1.tar.gz nixpkgs-37215ff7abf75fa5731994119d296ac1346555f1.tar.bz2 nixpkgs-37215ff7abf75fa5731994119d296ac1346555f1.tar.lz nixpkgs-37215ff7abf75fa5731994119d296ac1346555f1.tar.xz nixpkgs-37215ff7abf75fa5731994119d296ac1346555f1.tar.zst nixpkgs-37215ff7abf75fa5731994119d296ac1346555f1.zip |
qsyncthingtray: fix build
Diffstat (limited to 'pkgs/applications/misc/qsyncthingtray')
-rw-r--r-- | pkgs/applications/misc/qsyncthingtray/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/applications/misc/qsyncthingtray/default.nix b/pkgs/applications/misc/qsyncthingtray/default.nix index f283c250b5b..bc909742c6d 100644 --- a/pkgs/applications/misc/qsyncthingtray/default.nix +++ b/pkgs/applications/misc/qsyncthingtray/default.nix @@ -20,6 +20,8 @@ mkDerivation rec { cmakeFlags = lib.optional preferQWebView "-DQST_BUILD_WEBKIT=1"; + patches = [ ./qsyncthingtray-0.5.8-qt-5.6.3.patch ]; + postPatch = '' ${lib.optionalString stdenv.isLinux '' substituteInPlace includes/platforms/linux/posixUtils.hpp \ @@ -44,6 +46,8 @@ mkDerivation rec { runHook postInstall ''; + enableParallelBuilding = true; + meta = with lib; { homepage = https://github.com/sieren/QSyncthingTray/; description = "A Traybar Application for Syncthing written in C++"; diff --git a/pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch b/pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch new file mode 100644 index 00000000000..424bbe17177 --- /dev/null +++ b/pkgs/applications/misc/qsyncthingtray/qsyncthingtray-0.5.8-qt-5.6.3.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b778d09..247b606 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -12,7 +12,7 @@ set(CMAKE_AUTOMOC ON) + + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +-find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport) ++find_package(Qt5 5.6 COMPONENTS Widgets Network PrintSupport WebEngineWidgets) + if (NOT Qt5_FOUND) + message(FATAL_ERROR + "Some components of Qt5 not found (see above messages for details. " |