Browse Source

guitone: fix parallel building

nixos-19.03
Orivej Desh 4 years ago
parent
commit
22116e51fc
  1. 3
      pkgs/applications/version-management/guitone/default.nix
  2. 7
      pkgs/applications/version-management/guitone/parallel-building.patch

3
pkgs/applications/version-management/guitone/default.nix

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
branch = "net.venge.monotone.guitone";
};
patches = [ ./parallel-building.patch ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ qt4 qmake4Hook graphviz ];
@ -24,6 +26,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Qt4 based GUI for monotone";
homepage = http://guitone.thomaskeller.biz;
downloadPage = https://code.monotone.ca/p/guitone/;
inherit (qt4.meta) platforms;
};
}

7
pkgs/applications/version-management/guitone/parallel-building.patch

@ -0,0 +1,7 @@
Without this `make tmp/AttributesView.o` fails with
src/view/dialogs/AddEditAttribute.h:22:35: fatal error: ui_add_edit_attribute.h: No such file or directory
--- a/guitone.pro
+++ b/guitone.pro
@@ -215 +215,2 @@ help.commands = @echo Available targets: $${QMAKE_EXTRA_TARGETS}
QMAKE_EXTRA_TARGETS += help
+CONFIG += depend_includepath
Loading…
Cancel
Save