38 lines
797 B
TOML
38 lines
797 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DBUILD_SHARED_LIBS=True",
|
|
]
|
|
skip_tests = true # TODO: ADD SUPPORT TO DEPOT FOR ALL OF THAT
|
|
post_install = [
|
|
"python_build",
|
|
"python_install"
|
|
]
|
|
cflags += [ "-ffat-lto-objects" ]
|
|
|
|
[dependencies]
|
|
build = [
|
|
"python-setuptools",
|
|
"python-wheel",
|
|
"python-pkgconfig",
|
|
"cmake",
|
|
"python"
|
|
]
|
|
runtime = [ "glibc" ]
|
|
optional = [ "python" ]
|
|
|
|
[package]
|
|
description = "Generic-purpose lossless compression algorithm"
|
|
homepage = "https://github.com/google/brotli"
|
|
license = "MIT"
|
|
name = "brotli"
|
|
version = "1.2.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "816c96e8e8f193b40151dad7e8ff37b1221d019dbcb9c35cd3fadbfe6477dfec"
|
|
url = "https://github.com/google/brotli/archive/refs/tags/v$version.tar.gz"
|