Move the OpenZim source outside of Zimlib dependency.

The OpenZim source contains the zimlib source but also the zimwriterfs
source.
There is no zimwriterfs dependency for now but it is better to separate
source from the dependency for latter commit.
This commit is contained in:
Matthieu Gautier 2017-03-13 18:21:43 +01:00
parent a212ec622b
commit 50c56804b1
1 changed files with 6 additions and 5 deletions

View File

@ -224,14 +224,15 @@ class Icu_cross_compile(Icu):
return super().configure_option + " --with-cross-build=" + Icu_native.builder.build_path return super().configure_option + " --with-cross-build=" + Icu_native.builder.build_path
class OpenzimSource(GitClone):
git_remote = "https://gerrit.wikimedia.org/r/p/openzim.git"
git_dir = "openzim"
class Zimlib(Dependency): class Zimlib(Dependency):
name = "zimlib" name = "zimlib"
class Source(GitClone): Source = OpenzimSource
#git_remote = "https://gerrit.wikimedia.org/r/p/openzim.git"
git_remote = "https://github.com/mgautierfr/openzim"
git_dir = "openzim"
git_ref = "meson"
class Builder(MesonBuilder): class Builder(MesonBuilder):
subsource_dir = "zimlib" subsource_dir = "zimlib"