Add snappy extension

This commit is contained in:
Joseph Bielawski
2023-09-03 15:49:15 +02:00
committed by Jerry Ma
parent 6de5c1dab0
commit fdc3a7a04b
7 changed files with 120 additions and 3 deletions

View File

@@ -325,6 +325,17 @@
"libxml2"
]
},
"snappy": {
"type": "external",
"source": "ext-snappy",
"arg-type": "custom",
"lib-depends": [
"snappy"
],
"ext-suggest": [
"apcu"
]
},
"snmp": {
"type": "builtin",
"arg-type": "with",
@@ -490,4 +501,4 @@
"zstd"
]
}
}
}

View File

@@ -510,5 +510,18 @@
"zstd.h",
"zstd_errors.h"
]
},
"snappy": {
"source": "snappy",
"static-libs-unix": [
"libsnappy.a"
],
"headers-unix": [
"snappy-c.h",
"snappy-sinksource.h",
"snappy.h",
"snappy-stubs-internal.h",
"snappy-stubs-public.h"
]
}
}
}

View File

@@ -80,6 +80,16 @@
"path": "LICENSE"
}
},
"ext-snappy": {
"type": "git",
"path": "php-src/ext/snappy",
"rev": "master",
"url": "https://github.com/kjdev/php-ext-snappy",
"license": {
"type": "file",
"path": "LICENSE"
}
},
"ext-ssh2": {
"type": "url",
"url": "https://pecl.php.net/get/ssh2",
@@ -401,6 +411,16 @@
"path": "COPYING"
}
},
"snappy": {
"type": "git",
"repo": "google/snappy",
"rev": "main",
"url": "https://github.com/google/snappy",
"license": {
"type": "file",
"path": "COPYING"
}
},
"sqlite": {
"type": "url",
"url": "https://www.sqlite.org/2023/sqlite-autoconf-3410100.tar.gz",
@@ -476,4 +496,4 @@
"path": "LICENSE"
}
}
}
}