Merge pull request #793 from kiwix/fix-flathub

Fix compilation of Kiwix Desktop 2.4.0 on Flathub
This commit is contained in:
Kelson 2024-12-19 18:33:12 +01:00 committed by GitHub
commit c23567a3f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ def update_flathub_git():
call(command) call(command)
shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir)) shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir))
patch_dir = KBUILD_SOURCE_DIR / "kiwixbuild" / "patches" patch_dir = KBUILD_SOURCE_DIR / "kiwixbuild" / "patches"
for dep in ["pugixml"]: for dep in ["pugixml", "libmicrohttpd"]:
for f in patch_dir.glob("{}_*.patch".format(dep)): for f in patch_dir.glob("{}_*.patch".format(dep)):
shutil.copy(str(f), str(git_repo_dir / "patches")) shutil.copy(str(f), str(git_repo_dir / "patches"))
command = ["git", "add", "-A", "."] command = ["git", "add", "-A", "."]