diff --git a/kiwixbuild/dependencies/all_dependencies.py b/kiwixbuild/dependencies/all_dependencies.py index feabe5a..a33bb64 100644 --- a/kiwixbuild/dependencies/all_dependencies.py +++ b/kiwixbuild/dependencies/all_dependencies.py @@ -13,10 +13,12 @@ class AllBaseDependencies(Dependency): @classmethod def get_dependencies(cls, platformInfo, allDeps): base_deps = ['zlib', 'lzma', 'zstd', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd', 'zim-testing-suite'] - # zimtools - # We do not build zimtools at all on "android" and "iOS" + # Add specific dependencies depending of the platform if platformInfo.build not in ('android', 'iOS'): + # For zimtools base_deps += ['docoptcpp'] + # For kiwix-desktop + base_deps += ['aria2'] if platformInfo.build != 'win32': # zimwriterfs base_deps += ['libmagic', 'gumbo']