Ports/brotli: Update to 1.1.0

This commit is contained in:
Lucas CHOLLET 2023-09-11 13:54:35 +02:00 committed by Tim Schumacher
parent 7a993cad7a
commit 48a1fe8308
Notes: sideshowbarker 2024-07-17 05:18:58 +09:00
2 changed files with 12 additions and 4 deletions

View File

@ -23,7 +23,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`bochs`](bochs/) | Bochs x86 PC emulator | 2.7 | https://sourceforge.net/projects/bochs/ |
| [`boost`](boost/) | Boost C++ libraries | 1.80.0 | https://www.boost.org/ |
| [`brogue`](brogue/) | BrogueCE | 1.12 | https://github.com/tmewett/BrogueCE |
| [`brotli`](brotli/) | Brotli | 1.0.9 | https://github.com/google/brotli |
| [`brotli`](brotli/) | Brotli | 1.1.0 | https://github.com/google/brotli |
| [`byacc`](byacc/) | Berkeley Yacc | 20220128 | https://invisible-island.net/byacc/byacc.html |
| [`bzip2`](bzip2/) | bzip2 | 1.0.8 | https://sourceware.org/bzip2/ |
| [`bzip3`](bzip3/) | bzip3 | 1.2.2 | https://github.com/kspalaiologos/bzip3 |

View File

@ -1,12 +1,20 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='brotli'
version='1.0.9'
version='1.1.0'
files=(
"https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz#f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"
"https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz#e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff"
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DCMAKE_BUILD_TYPE=Release"
)
useconfigure='true'
configure() {
run ./configure-cmake
run cmake "${configopts[@]}" .
}
install() {
run make "${installopts[@]}" install
}