pdate dependencies tree.

Now that the search is in zimlib we have to reflect it in our
configuration :
- Zimlib depends of Xapian
- Kiwixlib doesn't depend of Xapian anymore.
This commit is contained in:
Matthieu Gautier 2017-04-07 15:43:17 +02:00
parent 1494adc943
commit 2fc1b7ebe8
1 changed files with 9 additions and 2 deletions

View File

@ -232,7 +232,14 @@ class Icu_cross_compile(Icu):
class Libzim(Dependency):
name = "libzim"
dependencies = ['zlib', 'lzma']
@property
def dependencies(self):
base_dependencies = ['zlib', 'lzma', 'xapian-core']
if self.buildEnv.platform_info.build != 'native':
return base_dependencies + ["icu4c_cross-compile"]
else:
return base_dependencies + ["icu4c"]
class Source(GitClone):
git_remote = "https://github.com/openzim/libzim.git"
@ -270,7 +277,7 @@ class Kiwixlib(Dependency):
@property
def dependencies(self):
base_dependencies = ["xapian-core", "pugixml", "libzim", "zlib", "lzma"]
base_dependencies = ["pugixml", "libzim", "zlib", "lzma"]
if self.buildEnv.platform_info.build != 'android':
base_dependencies += ['ctpp2']
if self.buildEnv.platform_info.build != 'native':