openboard: fix build
This commit is contained in:
parent
650f51f373
commit
bffa10ffa3
@ -23,7 +23,7 @@ let
|
|||||||
install -Dm755 OpenBoardImporter $out/bin/OpenBoardImporter
|
install -Dm755 OpenBoardImporter $out/bin/OpenBoardImporter
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation {
|
||||||
pname = "openboard";
|
pname = "openboard";
|
||||||
version = "unstable-2022-11-28";
|
version = "unstable-2022-11-28";
|
||||||
|
|
||||||
@ -36,9 +36,9 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace OpenBoard.pro \
|
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 '-lquazip5' '-lquazip1-qt5' \
|
||||||
--replace '/usr/include/poppler' '${poppler.dev}/include/poppler'
|
--replace '/usr/include/poppler' '${lib.getDev poppler}/include/poppler'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake copyDesktopItems wrapQtAppsHook ];
|
nativeBuildInputs = [ qmake copyDesktopItems wrapQtAppsHook ];
|
||||||
|
Loading…
Reference in New Issue
Block a user