Added zstd dependency
This commit is contained in:
parent
9be35a4dc0
commit
ece4df3721
|
@ -25,5 +25,6 @@ from . import (
|
||||||
xapian,
|
xapian,
|
||||||
zim_tools,
|
zim_tools,
|
||||||
zimwriterfs,
|
zimwriterfs,
|
||||||
zlib
|
zlib,
|
||||||
|
zstd
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,7 +12,7 @@ class AllBaseDependencies(Dependency):
|
||||||
class Builder(NoopBuilder):
|
class Builder(NoopBuilder):
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_dependencies(cls, platformInfo, allDeps):
|
def get_dependencies(cls, platformInfo, allDeps):
|
||||||
base_deps = ['zlib', 'lzma', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd']
|
base_deps = ['zlib', 'lzma', 'zstd', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd']
|
||||||
# zimwriterfs
|
# zimwriterfs
|
||||||
if platformInfo.build not in ('android', 'win32'):
|
if platformInfo.build not in ('android', 'win32'):
|
||||||
base_deps += ['libmagic', 'gumbo']
|
base_deps += ['libmagic', 'gumbo']
|
||||||
|
|
|
@ -14,7 +14,7 @@ class Libzim(Dependency):
|
||||||
|
|
||||||
class Builder(MesonBuilder):
|
class Builder(MesonBuilder):
|
||||||
test_option = "-t 8"
|
test_option = "-t 8"
|
||||||
dependencies = ['zlib', 'lzma', 'xapian-core', 'icu4c']
|
dependencies = ['zlib', 'lzma', 'zstd', 'xapian-core', 'icu4c']
|
||||||
strip_option = ''
|
strip_option = ''
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
from .base import (
|
||||||
|
Dependency,
|
||||||
|
ReleaseDownload,
|
||||||
|
MesonBuilder)
|
||||||
|
|
||||||
|
from kiwixbuild.utils import Remotefile
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class zstd(Dependency):
|
||||||
|
name = 'zstd'
|
||||||
|
|
||||||
|
class Source(ReleaseDownload):
|
||||||
|
archive = Remotefile('zstd-1.4.4.tar.gz',
|
||||||
|
'59ef70ebb757ffe74a7b3fe9c305e2ba3350021a918d168a046c6300aeea9315',
|
||||||
|
'https://github.com/facebook/zstd/releases/download/v1.4.4/zstd-1.4.4.tar.gz')
|
||||||
|
|
||||||
|
class Builder(MesonBuilder):
|
||||||
|
subsource_dir = 'build/meson'
|
||||||
|
build_type = 'release'
|
||||||
|
strip_option = ''
|
||||||
|
configure_option = '-Dbin_programs=false -Dbin_contrib=false'
|
|
@ -42,11 +42,12 @@ release_versions = {
|
||||||
|
|
||||||
# This is the "version" of the whole base_deps_versions dict.
|
# This is the "version" of the whole base_deps_versions dict.
|
||||||
# Change this when you change base_deps_versions.
|
# Change this when you change base_deps_versions.
|
||||||
base_deps_meta_version = '64'
|
base_deps_meta_version = '65'
|
||||||
|
|
||||||
base_deps_versions = {
|
base_deps_versions = {
|
||||||
'zlib' : '1.2.8',
|
'zlib' : '1.2.8',
|
||||||
'lzma' : '5.2.4',
|
'lzma' : '5.2.4',
|
||||||
|
'zstd' : '1.4.4',
|
||||||
'uuid' : '1.43.4',
|
'uuid' : '1.43.4',
|
||||||
'xapian-core' : '1.4.14',
|
'xapian-core' : '1.4.14',
|
||||||
'mustache' : '3.2',
|
'mustache' : '3.2',
|
||||||
|
|
Loading…
Reference in New Issue