Add aria2 dependency.

kiwix-desktop needs the aria2 binary to download content.
kiwix-desktop will use aria2 throw lib-kiwix so it is somehow a kiwix-lib
dependency, but it is used only by kiwix-desktop.

And we know to install it only on platforms where we are supporting
kiwix-destkop.
This commit is contained in:
Matthieu Gautier
2018-11-27 10:11:20 +01:00
parent d375cc06bc
commit ed63ffe24c
5 changed files with 31 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class KiwixDesktop(Dependency):
git_dir = "kiwix-desktop"
class Builder(QMakeBuilder):
dependencies = ["qt", "qtwebengine", "kiwix-lib"]
dependencies = ["qt", "qtwebengine", "kiwix-lib", "aria2"]
@property
def configure_option(self):
options = ["PREFIX={}".format(self.buildEnv.install_dir)]