Don't depend on lzma.
This commit is contained in:
parent
6bfe9ec8b1
commit
46e58b763d
|
@ -14,7 +14,7 @@ class AllBaseDependencies(Dependency):
|
|||
@classmethod
|
||||
def get_dependencies(cls, configInfo, allDeps):
|
||||
if neutralEnv("distname") == "Windows":
|
||||
return ["zlib", "lzma", "zstd", "icu4c", "zim-testing-suite"]
|
||||
return ["zlib", "zstd", "icu4c", "zim-testing-suite"]
|
||||
if configInfo.build == "wasm" or environ.get("OS_NAME") == "manylinux":
|
||||
return ["zlib", "lzma", "zstd", "icu4c", "xapian-core"]
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ class Libkiwix(Dependency):
|
|||
"pugixml",
|
||||
"libzim",
|
||||
"zlib",
|
||||
"lzma",
|
||||
"libcurl",
|
||||
"libmicrohttpd",
|
||||
"icu4c",
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
from .base import (
|
||||
Dependency,
|
||||
GitClone,
|
||||
MesonBuilder)
|
||||
from .base import Dependency, GitClone, MesonBuilder
|
||||
from kiwixbuild._global import option, get_target_step, neutralEnv
|
||||
|
||||
|
||||
class Libzim(Dependency):
|
||||
name = "libzim"
|
||||
force_build = True
|
||||
|
@ -25,7 +23,7 @@ class Libzim(Dependency):
|
|||
@classmethod
|
||||
def get_dependencies(cls, configInfo, allDeps):
|
||||
if neutralEnv("distname") == "Windows":
|
||||
return ["lzma", "zstd", "icu4c", "zim-testing-suite"]
|
||||
return ["zstd", "icu4c", "zim-testing-suite"]
|
||||
deps = ["lzma", "zstd", "xapian-core", "icu4c"]
|
||||
if configInfo.name not in ("flatpak", "wasm"):
|
||||
deps.append("zim-testing-suite")
|
||||
|
|
|
@ -27,6 +27,8 @@ class Xapian(Dependency):
|
|||
|
||||
@classmethod
|
||||
def get_dependencies(cls, configInfo, allDeps):
|
||||
if neutralEnv("distname") == "Windows":
|
||||
return ["zlib"]
|
||||
deps = ["zlib", "lzma"]
|
||||
if (
|
||||
configInfo.build in ("win32", "wasm")
|
||||
|
|
Loading…
Reference in New Issue