mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Added zstd dependency
This commit is contained in:
committed by
Matthieu Gautier
parent
9be35a4dc0
commit
ece4df3721
22
kiwixbuild/dependencies/zstd.py
Normal file
22
kiwixbuild/dependencies/zstd.py
Normal file
@ -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'
|
Reference in New Issue
Block a user