diff --git a/dependencies.py b/dependencies.py index 2377233..a26af48 100644 --- a/dependencies.py +++ b/dependencies.py @@ -262,6 +262,21 @@ class Libzim(Dependency): Builder = MesonBuilder +class ZimTools(Dependency): + name = "zim-tools" + dependencies = ['libzim'] + + class Source(GitClone): + git_remote = "https://github.com/openzim/zim-tools.git" + git_dir = "zim-tools" + + class Builder(MesonBuilder): + @property + def configure_option(self): + if self.buildEnv.platform_info.static: + return "-Dstatic-linkage=true" + return "" + class Zimwriterfs(Dependency): name = "zimwriterfs"