forked from mirrors/nixpkgs
openboard: fix build
This commit is contained in:
parent
650f51f373
commit
bffa10ffa3
|
@ -23,7 +23,7 @@ let
|
|||
install -Dm755 OpenBoardImporter $out/bin/OpenBoardImporter
|
||||
'';
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
in stdenv.mkDerivation {
|
||||
pname = "openboard";
|
||||
version = "unstable-2022-11-28";
|
||||
|
||||
|
@ -36,9 +36,9 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace OpenBoard.pro \
|
||||
--replace '/usr/include/quazip5' '${quazip}/include/QuaZip-Qt5-${quazip.version}/quazip' \
|
||||
--replace '/usr/include/quazip5' '${lib.getDev quazip}/include/QuaZip-Qt5-${quazip.version}/quazip' \
|
||||
--replace '-lquazip5' '-lquazip1-qt5' \
|
||||
--replace '/usr/include/poppler' '${poppler.dev}/include/poppler'
|
||||
--replace '/usr/include/poppler' '${lib.getDev poppler}/include/poppler'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ qmake copyDesktopItems wrapQtAppsHook ];
|
||||
|
|
Loading…
Reference in a new issue