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:
parent
1494adc943
commit
2fc1b7ebe8
|
@ -232,7 +232,14 @@ class Icu_cross_compile(Icu):
|
||||||
|
|
||||||
class Libzim(Dependency):
|
class Libzim(Dependency):
|
||||||
name = "libzim"
|
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):
|
class Source(GitClone):
|
||||||
git_remote = "https://github.com/openzim/libzim.git"
|
git_remote = "https://github.com/openzim/libzim.git"
|
||||||
|
@ -270,7 +277,7 @@ class Kiwixlib(Dependency):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def dependencies(self):
|
def dependencies(self):
|
||||||
base_dependencies = ["xapian-core", "pugixml", "libzim", "zlib", "lzma"]
|
base_dependencies = ["pugixml", "libzim", "zlib", "lzma"]
|
||||||
if self.buildEnv.platform_info.build != 'android':
|
if self.buildEnv.platform_info.build != 'android':
|
||||||
base_dependencies += ['ctpp2']
|
base_dependencies += ['ctpp2']
|
||||||
if self.buildEnv.platform_info.build != 'native':
|
if self.buildEnv.platform_info.build != 'native':
|
||||||
|
|
Loading…
Reference in New Issue