mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Compile gumbo-parser 0.13.1 with Meson
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
from .base import Dependency, ReleaseDownload, MakeBuilder
|
||||
from .base import Dependency, ReleaseDownload, MesonBuilder
|
||||
|
||||
from kiwixbuild.utils import Remotefile, run_command
|
||||
from kiwixbuild.utils import Remotefile
|
||||
|
||||
|
||||
class Gumbo(Dependency):
|
||||
@ -8,14 +8,13 @@ class Gumbo(Dependency):
|
||||
|
||||
class Source(ReleaseDownload):
|
||||
archive = Remotefile(
|
||||
"gumbo-parser-0.12.1.tar.gz",
|
||||
"c0bb5354e46539680724d638dbea07296b797229a7e965b13305c930ddc10d82",
|
||||
"https://dev.kiwix.org/kiwix-build/gumbo-parser-0.12.1.tar.gz",
|
||||
"gumbo-parser-0.13.1.tar.gz",
|
||||
"1a054d1e53d556641a6666537247411a77b0c18ef6ad5df23e30d2131676ef81",
|
||||
"https://dev.kiwix.org/kiwix-build/gumbo-parser-0.13.1.tar.gz",
|
||||
)
|
||||
|
||||
def _post_prepare_script(self, context):
|
||||
context.try_skip(self.extract_path)
|
||||
command = ["./autogen.sh"]
|
||||
run_command(command, self.extract_path, context)
|
||||
|
||||
Builder = MakeBuilder
|
||||
class Builder(MesonBuilder):
|
||||
configure_options = [
|
||||
"-Dtests=false"
|
||||
]
|
||||
strip_options = []
|
||||
|
Reference in New Issue
Block a user