Merge pull request #824 from kiwix/gumbo-meson-compilation

Latest Gumbo parser 0.13.1 compilation with Meson
This commit is contained in:
Kelson 2025-05-19 11:53:19 +02:00 committed by GitHub
commit a0a5188a4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 13 deletions

View File

@ -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): class Gumbo(Dependency):
@ -8,14 +8,13 @@ class Gumbo(Dependency):
class Source(ReleaseDownload): class Source(ReleaseDownload):
archive = Remotefile( archive = Remotefile(
"gumbo-parser-0.12.1.tar.gz", "gumbo-parser-0.13.1.tar.gz",
"c0bb5354e46539680724d638dbea07296b797229a7e965b13305c930ddc10d82", "1a054d1e53d556641a6666537247411a77b0c18ef6ad5df23e30d2131676ef81",
"https://dev.kiwix.org/kiwix-build/gumbo-parser-0.12.1.tar.gz", "https://dev.kiwix.org/kiwix-build/gumbo-parser-0.13.1.tar.gz",
) )
def _post_prepare_script(self, context): class Builder(MesonBuilder):
context.try_skip(self.extract_path) configure_options = [
command = ["./autogen.sh"] "-Dtests=false"
run_command(command, self.extract_path, context) ]
strip_options = []
Builder = MakeBuilder

View File

@ -33,7 +33,7 @@ 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 = "13" base_deps_meta_version = "14"
base_deps_versions = { base_deps_versions = {
"zlib": "1.2.12", "zlib": "1.2.12",
@ -45,7 +45,7 @@ base_deps_versions = {
"mustache": "4.1", "mustache": "4.1",
"pugixml": "1.2", "pugixml": "1.2",
"libmicrohttpd": "0.9.76", "libmicrohttpd": "0.9.76",
"gumbo": "0.12.1", "gumbo": "0.13.1",
"icu4c": "73.2", "icu4c": "73.2",
"libaria2": "1.37.0", "libaria2": "1.37.0",
"libmagic": "5.44", "libmagic": "5.44",