Add the zstd patches to the flathub git repository.
This commit is contained in:
parent
6888794ec8
commit
6d47055c89
|
@ -279,7 +279,7 @@ def update_flathub_git():
|
||||||
call(command, cwd=GIT_EXPORT_DIR)
|
call(command, cwd=GIT_EXPORT_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'):
|
for dep in ('libaria2', 'mustache', 'pugixml', 'xapian', 'zstd'):
|
||||||
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', '.']
|
||||||
|
|
Loading…
Reference in New Issue