diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-09-27 02:30:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 02:30:21 +0200 |
commit | b8ad0c034e11cf2663a19e34ef607a969c318371 (patch) | |
tree | 45637edc07a8f8599fa59a1015a8dc38518624e4 /pkgs | |
parent | 6f48e6dedc14a0a5d6db9cb46802d39be5d278b6 (diff) | |
parent | 7cad243b71619174fd6d102b498d0d8932a3a884 (diff) |
openboard: 1.7.0 -> 1.7.1; disable update checks by default (#342346)
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/graphics/openboard/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/openboard/default.nix b/pkgs/applications/graphics/openboard/default.nix index 363114fdaafbd..a02ae20d9f036 100644 --- a/pkgs/applications/graphics/openboard/default.nix +++ b/pkgs/applications/graphics/openboard/default.nix @@ -25,13 +25,13 @@ let }; in stdenv.mkDerivation (finalAttrs: { pname = "openboard"; - version = "1.7.0"; + version = "1.7.1"; src = fetchFromGitHub { owner = "OpenBoard-org"; repo = "OpenBoard"; rev = "v${finalAttrs.version}"; - hash = "sha256-OSAogtZoMisyRziv63ag9w8HQaaRdz0J28jQZR7cTMM="; + hash = "sha256-gXxxlAEuzMCvFu5oSQayNW191XAC/YKvldItYEFxvNM="; }; patches = [ @@ -52,9 +52,14 @@ in stdenv.mkDerivation (finalAttrs: { postPatch = '' substituteInPlace OpenBoard.pro \ - --replace '/usr/include/quazip5' '${lib.getDev quazip}/include/QuaZip-Qt5-${quazip.version}/quazip' \ - --replace '-lquazip5' '-lquazip1-qt5' \ - --replace '/usr/include/poppler' '${lib.getDev poppler}/include/poppler' + --replace-fail '/usr/include/quazip5' '${lib.getDev quazip}/include/QuaZip-Qt5-${quazip.version}/quazip' \ + --replace-fail '-lquazip5' '-lquazip1-qt5' \ + --replace-fail '/usr/include/poppler' '${lib.getDev poppler}/include/poppler' + + substituteInPlace resources/etc/OpenBoard.config \ + --replace-fail 'EnableAutomaticSoftwareUpdates=true' 'EnableAutomaticSoftwareUpdates=false' \ + --replace-fail 'EnableSoftwareUpdates=true' 'EnableAutomaticSoftwareUpdates=false' \ + --replace-fail 'HideCheckForSoftwareUpdate=false' 'HideCheckForSoftwareUpdate=true' ''; nativeBuildInputs = [ qmake copyDesktopItems wrapQtAppsHook ]; |