Add support of `zim-tools` in kiwix-build.
This commit is contained in:
parent
a37aae0142
commit
00bc8238f0
|
@ -262,6 +262,21 @@ class Libzim(Dependency):
|
||||||
|
|
||||||
Builder = MesonBuilder
|
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):
|
class Zimwriterfs(Dependency):
|
||||||
name = "zimwriterfs"
|
name = "zimwriterfs"
|
||||||
|
|
Loading…
Reference in New Issue