Remove uneeded patches for flatpak

Patches are uneeded for all arch.
But we were trying to copy them on flatpak.
This commit is contained in:
Matthieu Gautier 2022-12-09 10:53:11 +01:00
parent 04db1bafe8
commit 536748500b
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ def update_flathub_git():
call(command, cwd=TMP_DIR) call(command, cwd=TMP_DIR)
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 ("libaria2", "mustache", "pugixml", "xapian", "zstd"): for dep in ["pugixml"]:
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", "."]