git.iko.soy/typeable/nixpkgs
on master help sign in
swift-im: fix build with Qt 5.11 and split QtWebKit
commit205f3e941a6fff6b8bb12fc20dfdd76ba3d64455 authorOrivej Desh <orivej@gmx.fr> dateTue 4 Sep 2018, 09:24 (8 years ago) parent93a5947
2 files changed+13−1
pkgs/applications/networking/instant-messengers/swift-im/default.nix+3−1 pkgs/applications/networking/instant-messengers/swift-im/qt-5.11.patch+10
pkgs/applications/networking/instant-messengers/swift-im/default.nix+3−1
@@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
1414 sha256 = "0w0aiszjd58ynxpacwcgf052zpmbpcym4dhci64vbfgch6wryz0w";
1515 };
1616
17− patches = [ ./scons.patch ];
17+ patches = [ ./qt-5.11.patch ./scons.patch ];
1818
1919 nativeBuildInputs = [ pkgconfig qttools scons ];
2020
@@ -28,6 +28,8 @@ in stdenv.mkDerivation rec {
2828 NIX_CFLAGS_COMPILE = [
2929 "-I${libxml2.dev}/include/libxml2"
3030 "-I${miniupnpc}/include/miniupnpc"
31+ "-I${qtwebkit.dev}/include/QtWebKit"
32+ "-I${qtwebkit.dev}/include/QtWebKitWidgets"
3133 ];
3234
3335 buildPhase = ''
pkgs/applications/networking/instant-messengers/swift-im/qt-5.11.patchnew file+10
@@ -0,0 +1,10 @@
1+--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.h
2++++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.h
3+@@ -8,6 +8,7 @@
4+
5+ #include <set>
6+
7++#include <QAbstractItemModel>
8+ #include <QWizard>
9+
10+ #include <Swiften/Base/Override.h>