From 50c56804b15ef1e633b9a35e6f76cecb7f7a8a73 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 13 Mar 2017 18:21:43 +0100 Subject: [PATCH] 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. --- dependencies.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dependencies.py b/dependencies.py index 1120763..4ce7cbb 100644 --- a/dependencies.py +++ b/dependencies.py @@ -224,14 +224,15 @@ class Icu_cross_compile(Icu): 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): name = "zimlib" - class Source(GitClone): - #git_remote = "https://gerrit.wikimedia.org/r/p/openzim.git" - git_remote = "https://github.com/mgautierfr/openzim" - git_dir = "openzim" - git_ref = "meson" + Source = OpenzimSource class Builder(MesonBuilder): subsource_dir = "zimlib"